Skip to content

ContainerPopulateShape

ContainerPopulateShape<TMap> = { [K in keyof TMap]?: PopulateOptionForEntry<TMap[K]> }

Defined in: packages/core/src/db/types.ts:252

Populate options for one container level of the field tree — a collection’s top-level fields, a group()’s own sub-fields, or one blocks() block type’s own fields. Keyed by PopulateMapEntry map (built by fieldsToPopulateMap at vex generate time), so only keys that actually resolve to a relationship/upload field (at any nesting depth) are legal here.

TMap extends Record<string, PopulateMapEntry>

A CollectionsPopulateMap entry’s nested map (or the top-level per-collection map itself).