Skip to content

buildGlobalGetArgs

buildGlobalGetArgs(props): object

Defined in: packages/core/src/collections/query/buildGetArgs.ts:49

The buildGetArgs equivalent for vexConvexApi.globals.get — same “drafts only when actually versioned, never a concrete false” rule (Decision 5), for the same reason: a global’s own versions.drafts is just as concretely-defaulted as a collection’s.

GlobalConfig

The resolved global config.

object

{ slug, drafts } with drafts present (always true) only when global.versions.drafts is true, omitted otherwise.

optional drafts?: true

slug: string