Skip to content
HomePagesHomePages template kit

TourRef

A tour slot's fixture value: a dev tour pool reference.

A tour slot’s fixture value: a dev tour pool reference. Resolution builds url, poster and alt from the pooled entry — none is statable here, and an id outside DEV_TOURS is a compile error.

ONE spelling, where a video has three: a tour is always a provider link, so there is no hosted branch to distinguish, and the poster-present and poster-less states are two POOL MEMBERS rather than two ref shapes — which is what makes them selectable in the playground’s picker as well as statable in a fixture. media.tour.none covers the deliberately-unfilled slot.

Import from @homepages/template-kit/fixtures.

export type TourRef = {
tour_id: TourAssetId | "";
url?: never;
poster?: never;
alt?: never;
provider?: never;
};