@arolariu/website / types / ScanStatus
Enumeration: ScanStatus
Defined in: types/scans/Scan.ts:84
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
}
Enumeration Members
UPLOADING
UPLOADING:
"uploading"
Defined in: types/scans/Scan.ts:86
Upload in progress
READY
READY:
"ready"
Defined in: types/scans/Scan.ts:88
Uploaded to Azure, available for use
FAILED
FAILED:
"failed"
Defined in: types/scans/Scan.ts:90
Upload failed
PROCESSING
PROCESSING:
"processing"
Defined in: types/scans/Scan.ts:92
Being used to create an invoice
ARCHIVED
ARCHIVED:
"archived"
Defined in: types/scans/Scan.ts:94
Invoice created, scan archived