Skip to content

ContractInput

ContractInput = object

What a template renders: the resolved edition, its variant’s props, the publication’s locale and its brand.

brand: Brand | null


edition: object

optional publicationName?: string | null

The publication’s name, for a page’s title and header; absent or null in a fixture.

sendAt: string | null

The send time, ISO 8601, for a dated heading; null in an edition preview with no send time.

slots: EditionSlot[]

timezone: string | null

The schedule’s IANA zone to read sendAt in; UTC when null.


locale: string

A language tag such as en or en-GB.


props: unknown

The variant’s template props, unchecked: a template validates its own.

edgekit.ai