type

Global

Public authoring and runtime contracts live in core. These aliases keep the root package as the ergonomic application-facing entry point.

Properties

PropertyTypeDescription
Slugschema.CollectionSlugSlug is the URL-safe global name used by APIs and the admin.
LabelstringLabel overrides the author-facing name shown in navigation and headings.
LabelTranslationsmap[string]stringLabelTranslations overrides Label for configured admin interface languages.
AdminGlobalAdminAdmin is serializable presentation metadata consumed by the framework admin.
Fieldsfield.FieldsFields owns the global's immutable field shape, behavior, and presentation.
VersionsboolVersions enables revisions for this global.
VersionConfigVersionConfigVersionConfig customizes drafts, retention, and autosave behavior.
AccessGlobalAccessAccess defines read and update authorization.
HooksCollectionHooksHooks defines global-wide lifecycle behavior.
Endpoints[]EndpointEndpoints declares custom HTTP endpoints below /api/globals/<slug>. They run before matching built-in global routes for the same method.

Full signature