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.
Parameters
Section titled “Parameters”global
Section titled “global”The resolved global config.
Returns
Section titled “Returns”object
{ slug, drafts } with drafts present (always true) only when
global.versions.drafts is true, omitted otherwise.
drafts?
Section titled “drafts?”
optionaldrafts?:true
slug:
string