chore: run lint and prettier on entire codebase

This commit is contained in:
Alessio Gravili
2024-07-11 15:27:01 -04:00
parent f8ab5a9f1e
commit 83fd4c6622
364 changed files with 2578 additions and 2658 deletions

View File

@@ -19,18 +19,15 @@ export type ServerOnlyGlobalAdminProperties = keyof Pick<
'components' | 'hidden' | 'preview'
>
export type ClientGlobalConfig = Omit<
SanitizedGlobalConfig,
'admin' | 'fields' | ServerOnlyGlobalProperties
> & {
admin: Omit<
SanitizedGlobalConfig['admin'],
ServerOnlyGlobalAdminProperties & 'fields' & 'livePreview'
> & {
export type ClientGlobalConfig = {
admin: {
livePreview?: Omit<LivePreviewConfig, ServerOnlyLivePreviewProperties>
}
} & Omit<
SanitizedGlobalConfig['admin'],
'fields' & 'livePreview' & ServerOnlyGlobalAdminProperties
>
fields: ClientFieldConfig[]
}
} & Omit<SanitizedGlobalConfig, 'admin' | 'fields' | ServerOnlyGlobalProperties>
export const createClientGlobalConfig = ({
global,