DECISION_TYPES
The catalog of AI fill decision types — every kind of decision a section's fill spec may declare.
The catalog of AI fill decision types — every kind of decision a section’s fill spec may declare.
Import from @homepages/template-kit.
Signature
Section titled “Signature”const DECISION_TYPES: readonly ["image-assign", "video-assign", "tour-assign", "document-assign", "contact-assign", "text-block", "list-fill", "display-select"]Constraints
Section titled “Constraints”- Each has a corresponding discriminant in the fill-spec schema. The four
single-asset types have an executor apiece; every LIST fills through
the one
list-fillfamily.video-assign,tour-assignanddocument-assignmirrorimage-assignbut pool from the property’s videos, 3D tours and stored documents rather than its photos — separate decision types rather than a filter argument, so the pool is legible from the decision type alone. Every type butdisplay-selectwrites slots; that one writes the section’s own display verdict and produces no slot at all.
See also
Section titled “See also”acceptsLinkcollectionForSlotisLinkAcceptsmatchLinkProvidertourEmbedUrlvideoEmbedUrlCOLLECTIONSCONTENT_SLOT_TYPESLINK_KINDSLINK_PROVIDERSLINK_STRATEGIESREF_SLOT_TYPESREFERRAL_FIELDSREFERRAL_IMAGE_FIELDSSLOT_TYPESSOURCE_FIELDSVIDEO_SOURCESLinkProviderCollectionFieldCollectionIdKeyCollectionOwnershipContentSlotTypeDecisionTypeLinkKindLinkProviderIdLinkStrategyReferralFieldReferralImageFieldRefSlotTypeSlotTypeSourceFieldContainerSourceFieldDescriptorSourceFieldNameSourceFieldValueTypeVideoSourceWritebackTarget