LINK_STRATEGIES
How a link provider's metadata (title, thumbnail, duration, …) can be fetched for a pasted link, or `"none"` when the provider publishes nothing fetchable.
How a link provider’s metadata (title, thumbnail, duration, …) can be fetched for a pasted link, or "none" when the provider publishes nothing fetchable.
Import from @homepages/template-kit.
Signature
Section titled “Signature”const LINK_STRATEGIES: readonly ["oembed", "api", "opengraph", "none"]Constraints
Section titled “Constraints”- A property of the PROVIDER, never of one link or one fetch attempt:
"none"means “asking would be pointless,” not “the ask failed.”
See also
Section titled “See also”acceptsLinkcollectionForSlotisLinkAcceptsmatchLinkProvidertourEmbedUrlvideoEmbedUrlCOLLECTIONSCONTENT_SLOT_TYPESDECISION_TYPESLINK_KINDSLINK_PROVIDERSREF_SLOT_TYPESREFERRAL_FIELDSREFERRAL_IMAGE_FIELDSSLOT_TYPESSOURCE_FIELDSVIDEO_SOURCESLinkProviderCollectionFieldCollectionIdKeyCollectionOwnershipContentSlotTypeDecisionTypeLinkKindLinkProviderIdLinkStrategyReferralFieldReferralImageFieldRefSlotTypeSlotTypeSourceFieldContainerSourceFieldDescriptorSourceFieldNameSourceFieldValueTypeVideoSourceWritebackTarget