36 lines
713 B
TypeScript
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'
|