Skip to content

GlobalAdminConfig

Defined in: packages/core/src/globals/types.ts:95

Resolved admin config after defineGlobal() applies defaults.

TComponent extends ComponentHKT = ComponentHKT

Component HKT binding.

TGlobalSlug extends GlobalSlug = GlobalSlug

components: object

Defined in: packages/core/src/globals/types.ts:108

Custom preview component.

optional edit?: EditComponentsConfigInput<TComponent>

Global-level edit.* slot contributions and built-in overrides, passed through unresolved — mirrors AdminCollectionConfig.components.edit.

optional preview?: ApplyComponent<TComponent, { slug: string; }>


description: string

Defined in: packages/core/src/globals/types.ts:102

Description. Empty string when not set.


group: string

Defined in: packages/core/src/globals/types.ts:100

Sidebar group label. Empty string when not set.


optional icon?: string

Defined in: packages/core/src/globals/types.ts:106

Lucide icon name.


optional livePreview?: AdminLivePreviewConfig<Partial<DocumentByGlobalSlug<TGlobalSlug>>>

Defined in: packages/core/src/globals/types.ts:104

Resolved live preview config. undefined when the global omits it.