Skip to content

API reference / Common / Engine types / TextSimpleFieldKind

Type Alias: TextSimpleFieldKind ​

ts
type TextSimpleFieldKind = 
  | "page"
  | {
  dateTime: TextDateTimeFormat;
}
  | {
  datePart: TextDatePart;
}
  | {
  unknown: string;
};

What a TextSimpleField is — a payload-free tag, and the dispatch key its evaluation reads.

Across both formats the self-contained-element field system expresses exactly two things — where am I and what is the date — which is why it needs three variants where the instruction system needs ninety. There is no keyword here and nothing to parse: the element, or its @type, is the identity.

See Text Fields.