GlobalEditViewProps
Defined in: packages/core/src/framework.ts:121
Props passed to the GlobalEditView component.
TGlobalSlug is inferred from the global prop. After vex generate runs,
passing a global config with an unregistered slug is a compile-time error.
Type Parameters
Section titled “Type Parameters”TFieldMeta
Section titled “TFieldMeta”TFieldMeta extends object = { }
TGlobalMeta
Section titled “TGlobalMeta”TGlobalMeta extends object = { }
TGlobalSlug
Section titled “TGlobalSlug”TGlobalSlug extends GlobalSlug = GlobalSlug
TDocument
Section titled “TDocument”TDocument extends VexDocumentGlobal = VexDocumentGlobal
Properties
Section titled “Properties”global
Section titled “global”global:
GlobalConfig<TFieldMeta,TGlobalMeta,TGlobalSlug>
Defined in: packages/core/src/framework.ts:128
The resolved global configuration whose fields will be rendered.
initialData?
Section titled “initialData?”
optionalinitialData?:TDocument|null
Defined in: packages/core/src/framework.ts:133
Pre-fetched document from the server for SSR hydration.
null explicitly means “no document found”. undefined means “not loaded yet”.