Files
dashboard/types/common.ts
T
Alberto-Audrix 32a36cceff
CI / lint-and-test (push) Canceled after 0s
first commit
2026-07-28 08:55:05 +07:00

70 lines
1.2 KiB
TypeScript

export type IconProps = {
className?: string;
};
export enum AlertSeverity {
INFO = 'Informasi',
WARNING = 'Peringatan',
CRITICAL = 'Kritis',
}
export interface Alert {
id: number;
severity: AlertSeverity;
message: string;
timestamp: string;
}
export type Screen =
| 'home'
| 'alerts'
| 'map'
| 'reports'
| 'mortalityDetail'
| 'overcrowdingDetail'
| 'managerDashboard'
| 'operatorTasks'
| 'vetHealthDashboard'
| 'manualWeighing'
| 'feedScheduling'
| 'multiCoopWeight';
export type View =
| 'dashboard'
| 'srs'
| 'mobileApp'
| 'locationManagement'
| 'cameraManagement'
| 'chickenCounting'
| 'dataManagement'
| 'feedSackCounting'
| 'behaviorAnalysis'
| 'weightMonitoring'
| 'iotDeviceManagement'
| 'iotPanel'
| 'kandangSettings'
| 'networkManagement'
| 'batchProcess'
| 'userManagement'
| 'profile'
| 'multiCoopWeight'
| 'feedWastage'
| 'feedScheduling'
| 'fcrDashboard'
| 'eefDashboard'
| 'prd'
| 'todo'
| 'erpIntegration'
| 'vetVisit'
| 'ocrProcessing'
| 'weightStandard'
| 'cobbStandard'
| 'slides';
export enum ImplementationStatus {
DONE = 'Done',
WIP = 'WIP',
TODO = 'To Do',
NA = 'N/A',
}