Skip to content
HomePagesHomePages template kit

REFERRAL_FIELDS

Referral-provider field names a slot may bind to via `source.kind:"direct"` on a named property-level referral (v1: `"primary_contact"`).

Referral-provider field names a slot may bind to via source.kind:"direct" on a named property-level referral (v1: "primary_contact").

Import from @homepages/template-kit.

const REFERRAL_FIELDS: readonly ["name", "title", "org_name", "email", "phone", "website", "instagram", "linkedin", "x", "facebook", "headshot", "logo_dark", "logo_light"]
  • Names the referral-specific fields, as distinct from the property/unit scalars in SOURCE_FIELDS, for slot-type cross-checks. The field-to-contact-card-key translation applied when a value is baked is not part of this kit.