ContractInput
ContractInput =
object
What a template renders: the resolved edition, its variant’s props, the publication’s locale and its brand.
Properties
Section titled “Properties”brand:
Brand|null
edition
Section titled “edition”edition:
object
publicationName?
Section titled “publicationName?”
optionalpublicationName?:string|null
The publication’s name, for a page’s title and header; absent or null in a fixture.
sendAt
Section titled “sendAt”sendAt:
string|null
The send time, ISO 8601, for a dated heading; null in an edition preview with no send time.
slots:
EditionSlot[]
timezone
Section titled “timezone”timezone:
string|null
The schedule’s IANA zone to read sendAt in; UTC when null.
locale
Section titled “locale”locale:
string
A language tag such as en or en-GB.
props:
unknown
The variant’s template props, unchecked: a template validates its own.