SourceFieldDescriptor
One canonical field a `direct` source may bind to — a value of `SOURCE_FIELDS`.
One canonical field a direct source may bind to — a value of SOURCE_FIELDS.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export type SourceFieldDescriptor = { container: SourceFieldContainer; value_type: SourceFieldValueType; image?: true; writeback?: WritebackTarget;};Constraints
Section titled “Constraints”- Whether the field is writable is derived, not stored: a field is writable
iff it carries a
writeback(unit scalars are additionally gated on the property having a single unit). Resolution reads the single/primary item for a top-level slot and the current row for a nested item slot.
See also
Section titled “See also”acceptsLinkcollectionForSlotisLinkAcceptsmatchLinkProvidertourEmbedUrlvideoEmbedUrlCOLLECTIONSCONTENT_SLOT_TYPESDECISION_TYPESLINK_KINDSLINK_PROVIDERSLINK_STRATEGIESREF_SLOT_TYPESREFERRAL_FIELDSREFERRAL_IMAGE_FIELDSSLOT_TYPESSOURCE_FIELDSVIDEO_SOURCESLinkProviderCollectionFieldCollectionIdKeyCollectionOwnershipContentSlotTypeDecisionTypeLinkKindLinkProviderIdLinkStrategyReferralFieldReferralImageFieldRefSlotTypeSlotTypeSourceFieldContainerSourceFieldNameSourceFieldValueTypeVideoSourceWritebackTarget