mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-04 08:12:21 -08:00
lint: dprint
This commit is contained in:
parent
a3bd62846d
commit
830e11aa77
151 changed files with 2071 additions and 1541 deletions
|
|
@ -1,9 +1,9 @@
|
|||
/* eslint-disable unicorn/no-null */
|
||||
import { ProxyPropertyType } from 'electron-ipc-cat/common';
|
||||
import { AuthenticationChannel } from '@/constants/channels';
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
import { IGitUserInfos } from '@services/git/interface';
|
||||
import { SupportedStorageServices } from '@services/types';
|
||||
import { ProxyPropertyType } from 'electron-ipc-cat/common';
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
|
||||
export type ServiceTokenTypes = `${SupportedStorageServices}-token`;
|
||||
export const getServiceTokenTypes = (serviceType: SupportedStorageServices): ServiceTokenTypes => `${serviceType}-token`;
|
||||
|
|
@ -25,13 +25,15 @@ export const getServiceBranchTypes = (serviceType: SupportedStorageServices): Se
|
|||
/** Git push: Git commit message branch, you may use different branch for different storage service */
|
||||
type BranchRecord = Record<ServiceBranchTypes, string>;
|
||||
|
||||
export type IUserInfos = {
|
||||
/** Default UserName in TiddlyWiki, each wiki can have different username, but fallback to this if not specific on */
|
||||
userName: string;
|
||||
} & Partial<TokenRecord> &
|
||||
Partial<UserNameRecord> &
|
||||
Partial<EmailRecord> &
|
||||
Partial<BranchRecord>;
|
||||
export type IUserInfos =
|
||||
& {
|
||||
/** Default UserName in TiddlyWiki, each wiki can have different username, but fallback to this if not specific on */
|
||||
userName: string;
|
||||
}
|
||||
& Partial<TokenRecord>
|
||||
& Partial<UserNameRecord>
|
||||
& Partial<EmailRecord>
|
||||
& Partial<BranchRecord>;
|
||||
|
||||
/**
|
||||
* Handle login to Github GitLab Coding.net
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue