diff --git a/src/services/workspaces/interface.ts b/src/services/workspaces/interface.ts index 31fd4759..bad6be4b 100644 --- a/src/services/workspaces/interface.ts +++ b/src/services/workspaces/interface.ts @@ -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, + Omit, 'homeUrl' | 'transparentBackground' | 'picturePath' | 'disableNotifications' | 'disableAudio' | 'hibernateWhenUnused' | 'subWikiFolderName' | 'userName' >;