Skip to content
HomePagesHomePages template kit

ResolvedFixtureModule

A fixtures.ts module: the branded output of building fixtures from a scenario, where every slot in `base` and each named entry of `states` already carries the value the fill pipeline would bake, plus a `SlotProvenance` tag per slot.

A fixtures.ts module: the branded output of building fixtures from a scenario, where every slot in base and each named entry of states already carries the value the fill pipeline would bake, plus a SlotProvenance tag per slot. Detected by isResolvedFixtureModule and consumed by buildFixtureSet / buildInvariantFixtures.

Import from @homepages/template-kit.

export type ResolvedFixtureModule = {
__kind: "resolved-fixtures";
base: ResolvedEntry;
states: Record<string, ResolvedEntry>;
};