Skip to main content

Interface: LoggedHoursState

Defined in: src/server/actions/manualTimeEntry.ts:429

Properties

byDate?

optional byDate?: Record<string, { hours: number; status: string; }>

Defined in: src/server/actions/manualTimeEntry.ts:433

Hours already logged per ISO date in the period, with the most-finalized status for that day.


error?

optional error?: string

Defined in: src/server/actions/manualTimeEntry.ts:431


invoiceLabel?

optional invoiceLabel?: string

Defined in: src/server/actions/manualTimeEntry.ts:436

Set when some of the loaded days are already on a sent invoice — the ADR-0050 §3 reissue warning (see invoiceLabelFor) shown by CreateManualTimeEntryForm. Undefined when none are.


ok

ok: boolean

Defined in: src/server/actions/manualTimeEntry.ts:430