GlobalPopulateShape
GlobalPopulateShape<
TGlobalSlug> = { [K in GlobalRelationshipKeysOf<TGlobalSlug>]?: true | { populate: Record<string, unknown> } }
Defined in: packages/core/src/types/generated.ts:350
Populate options for a global — keys restricted to relationship fields via
GlobalRelationshipKeysOf<TGlobalSlug>. Mirrors PopulateShape for
collections; nested populate resolves to collection populate shapes since
globals relate to collections, not to other globals.
Type Parameters
Section titled “Type Parameters”TGlobalSlug
Section titled “TGlobalSlug”TGlobalSlug extends GlobalSlug = GlobalSlug
The global slug.