COLLECTIONS
The registry of fact array fields a slot may be collection-bound to (a slot is collection-bound iff `source.kind === "direct"` and `source.field` is a key here).
The registry of fact array fields a slot may be collection-bound to (a slot is collection-bound iff source.kind === "direct" and source.field is a key here).
Import from @homepages/template-kit.
Signature
Section titled “Signature”const COLLECTIONS: { readonly units: { readonly idKey: "unit_id"; readonly ownership: "property"; }; readonly contacts: { readonly idKey: "id"; readonly cap: 12; readonly min: 1; readonly ownership: "library"; }; readonly comparables: { readonly idKey: "id"; readonly ownership: "property"; };}Constraints
Section titled “Constraints”- The single home for per-kind mechanics; other layers implement their
operations keyed by these entries rather than restating them.
idKeynames the stable canonical row id (used for merge, markers, and editor identity).cap/min, when present, are the API-enforced membership ceiling/floor.ownershipis the property-owned vs. library-shared discriminator that gates writeback/fan-out strategy per layer — never a shared physical table.
See also
Section titled “See also”acceptsLinkcollectionForSlotisLinkAcceptsmatchLinkProvidertourEmbedUrlvideoEmbedUrlCONTENT_SLOT_TYPESDECISION_TYPESLINK_KINDSLINK_PROVIDERSLINK_STRATEGIESREF_SLOT_TYPESREFERRAL_FIELDSREFERRAL_IMAGE_FIELDSSLOT_TYPESSOURCE_FIELDSVIDEO_SOURCESLinkProviderCollectionFieldCollectionIdKeyCollectionOwnershipContentSlotTypeDecisionTypeLinkKindLinkProviderIdLinkStrategyReferralFieldReferralImageFieldRefSlotTypeSlotTypeSourceFieldContainerSourceFieldDescriptorSourceFieldNameSourceFieldValueTypeVideoSourceWritebackTarget