LINK_KINDS
The single source of truth for "what kind of link is this URL".
The single source of truth for “what kind of link is this URL”. A url
slot names one of these — or a single provider id — in its accepts
field; acceptsLink() enforces it.
Import from @homepages/template-kit.
Signature
Section titled “Signature”const LINK_KINDS: readonly ["tour", "video", "social", "listing", "file", "map"]See also
Section titled “See also”acceptsLinkcollectionForSlotisLinkAcceptsmatchLinkProvidertourEmbedUrlvideoEmbedUrlCOLLECTIONSCONTENT_SLOT_TYPESDECISION_TYPESLINK_PROVIDERSLINK_STRATEGIESREF_SLOT_TYPESREFERRAL_FIELDSREFERRAL_IMAGE_FIELDSSLOT_TYPESSOURCE_FIELDSVIDEO_SOURCESLinkProviderCollectionFieldCollectionIdKeyCollectionOwnershipContentSlotTypeDecisionTypeLinkKindLinkProviderIdLinkStrategyReferralFieldReferralImageFieldRefSlotTypeSlotTypeSourceFieldContainerSourceFieldDescriptorSourceFieldNameSourceFieldValueTypeVideoSourceWritebackTarget