TimePiece
type TimePiece = | { kind: "segment"; type: TimeSegment;} | { kind: "literal"; text: string;};One rendered piece: an editable segment, or the text between two of them.
type TimePiece = | { kind: "segment"; type: TimeSegment;} | { kind: "literal"; text: string;};One rendered piece: an editable segment, or the text between two of them.