ReadingChoice

Type Alias: ReadingChoice

ReadingChoice = { by: "only"; candidate: number; } | { by: "policy"; candidate: number; policy: Partial<TimePolicy>; } | { by: "open"; open: readonly OpenQuestion[]; policy?: Partial<TimePolicy>; remaining: readonly number[]; } | { by: "none"; why: "unreadable" | "unsupported" | "no-candidate" | "excluded-by-policy"; }

Defined in: src/core/time/resolveRecord.ts:139

How a mention's reading settled — recorded on its time-reading row.

Union Members

Type Literal

{ by: "only"; candidate: number; }

Every candidate left names the same window.


Type Literal

{ by: "policy"; candidate: number; policy: Partial<TimePolicy>; }

The policy removed a reading and one window is left — assumed, recorded.


Type Literal

{ by: "open"; open: readonly OpenQuestion[]; policy?: Partial<TimePolicy>; remaining: readonly number[]; }

An ask must settle it (a later step raises it): the candidates left and the questions.


Type Literal

{ by: "none"; why: "unreadable" | "unsupported" | "no-candidate" | "excluded-by-policy"; }

On this page