Type Alias: ScanStatus
@arolariu/website / types / ScanStatus
Type Alias: ScanStatus
ScanStatus = typeof
ScanStatus[keyof typeofScanStatus]
Defined in: types/scans/Scan.ts:85
Represents the lifecycle status of a standalone scan.
Remarks
Tracks the scan through its lifecycle from upload to invoice creation.
State Transitions:
UPLOADING → READY → PROCESSING → ARCHIVED
↓
FAILED
UI Implications:
UPLOADING: Show progress indicatorREADY: Available for selection and invoice creationPROCESSING: Being used to create an invoice (show spinner)ARCHIVED: Invoice created, scan no longer shown in active viewFAILED: Show error state with retry option
Example
if (scan.status === ScanStatus.READY) {
// Show scan in selection view
}
// was this page useful?