GlobalAdminConfig
Defined in: packages/core/src/globals/types.ts:95
Resolved admin config after defineGlobal() applies defaults.
Type Parameters
Section titled “Type Parameters”TComponent
Section titled “TComponent”TComponent extends ComponentHKT = ComponentHKT
Component HKT binding.
TGlobalSlug
Section titled “TGlobalSlug”TGlobalSlug extends GlobalSlug = GlobalSlug
Properties
Section titled “Properties”components
Section titled “components”components:
object
Defined in: packages/core/src/globals/types.ts:108
Custom preview component.
optionaledit?:EditComponentsConfigInput<TComponent>
Global-level edit.* slot contributions and built-in overrides, passed through unresolved — mirrors AdminCollectionConfig.components.edit.
preview?
Section titled “preview?”
optionalpreview?:ApplyComponent<TComponent, {slug:string; }>
description
Section titled “description”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.
optionalicon?:string
Defined in: packages/core/src/globals/types.ts:106
Lucide icon name.
livePreview?
Section titled “livePreview?”
optionallivePreview?:AdminLivePreviewConfig<Partial<DocumentByGlobalSlug<TGlobalSlug>>>
Defined in: packages/core/src/globals/types.ts:104
Resolved live preview config. undefined when the global omits it.