Skip to content
HomePagesHomePages template kit

FormatVariantSource

All this compiler reads of a format.

All this compiler reads of a format. Widened to the id alone on purpose: the same variants must be emitted from an authored ImageFormat/DocumentFormat and from a template manifest’s SERIALIZED formats, which are the same declaration after a Zod round-trip and so carry plain strings where the authored type carries branded ones.

Import from @homepages/template-kit.

export interface FormatVariantSource {
readonly id: string;
}