Skip to content

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.

ViewComponentMap

TFieldMeta extends object = { }

TGlobalMeta extends object = { }

TGlobalSlug extends GlobalSlug = GlobalSlug

TDocument extends VexDocumentGlobal = VexDocumentGlobal

global: GlobalConfig<TFieldMeta, TGlobalMeta, TGlobalSlug>

Defined in: packages/core/src/framework.ts:128

The resolved global configuration whose fields will be rendered.


optional initialData?: 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”.