mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-24 05:21:02 -08:00
docs: about INewWorkspaceConfig
This commit is contained in:
parent
dc2fce79f0
commit
a46cdd9feb
1 changed files with 4 additions and 1 deletions
|
|
@ -98,8 +98,11 @@ export interface IWorkspaceMetaData {
|
|||
isLoading?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ignore some field that will assign default value in workspaceService.create, these field don't require to be filled in AddWorkspace form
|
||||
*/
|
||||
export type INewWorkspaceConfig = SetOptional<
|
||||
Omit<IWorkspace, 'active' | 'hibernated' | 'id' | 'order' | 'lastUrl'>,
|
||||
Omit<IWorkspace, 'active' | 'hibernated' | 'id' | 'order' | 'lastUrl' | 'syncOnInterval' | 'syncOnIntervalDebounced'>,
|
||||
'homeUrl' | 'transparentBackground' | 'picturePath' | 'disableNotifications' | 'disableAudio' | 'hibernateWhenUnused' | 'subWikiFolderName' | 'userName'
|
||||
>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue