Files
web-antrean/types/checkin.ts
T
2026-01-05 08:32:59 +07:00

36 lines
713 B
TypeScript

export interface CheckInResult {
success: boolean
patientId: string
status: string
}
export interface CheckInHistoryItem {
patientId: string
queueNumber?: string
status: string
checkInTime: string
checkInDate: string
method: string
}
export interface ScannedQRHistoryItem {
data: string
timestamp: string
date: string
time: string
}
export interface SnackbarState {
show: boolean
title: string
message: string
color: string
icon: string
timeout: number
}
export type TabValue = 'scan' | 'manual' | 'generate'
export type InfoAction = 'checkin' | 'kembali'
export type CheckInStatus = 'ALLOWED' | 'NOT_ALLOWED'
export type HistoryStatus = 'success' | 'failed' | 'pending'