export const DEVICE_CATEGORIES = ['Computer', 'Audio Equipment', 'Peripheral', 'Other'] as const; export const DEVICE_CONDITIONS = [ 'Working', 'In Repair', 'Waiting for Repair', 'Waiting to be Tested', 'Unrepairable' ] as const; export const COMPONENT_CONDITIONS = ['Working', 'Faulty', 'Unknown', 'Refurbished'] as const; export const COMPONENT_TYPES = [ 'Logic Board', 'RAM', 'HDD', 'SSD', 'CPU', 'GPU', 'PSU', 'ROM', 'BlueSCSI', 'SCSI2SD', 'Network Card', 'Sound Card', 'Video Card', 'Floppy Drive', 'CD/DVD Drive', 'Belt', 'Head', 'Motor', 'Capacitor Kit', 'Battery', 'Cable/Adapter', 'Other' ] as const; export const INSTALLATION_ACTIONS = ['installed', 'removed', 'swapped'] as const; export const DEVICE_LOG_TYPES = [ 'repair', 'inspection', 'cleaning', 'modification', 'diagnostic', 'recap', 'other' ] as const; export type DeviceLogType = (typeof DEVICE_LOG_TYPES)[number]; export const TODO_STATUSES = ['todo', 'in_progress', 'done'] as const; export const TODO_STATUS_LABELS: Record = { todo: 'To Do', in_progress: 'In Progress', done: 'Done' }; export const TODO_PRIORITIES = [ { value: 0, label: 'Urgent', color: 'red' }, { value: 1, label: 'High', color: 'orange' }, { value: 2, label: 'Medium', color: 'blue' }, { value: 3, label: 'Low', color: 'gray' } ] as const; export const VOLTAGE_OPTIONS = [ '110V AC', '115V AC', '120V AC', '127V AC', '220V AC', '230V AC', '240V AC', '5V DC', '6V DC', '9V DC', '12V DC', '15V DC', '19V DC', '24V DC', 'USB powered', 'Battery' ] as const; export const FREQUENCY_OPTIONS = ['50Hz', '60Hz', '50/60Hz'] as const; export type DeviceCategory = (typeof DEVICE_CATEGORIES)[number]; export type DeviceCondition = (typeof DEVICE_CONDITIONS)[number]; export type ComponentCondition = (typeof COMPONENT_CONDITIONS)[number]; export type ComponentType = (typeof COMPONENT_TYPES)[number]; export type InstallationAction = (typeof INSTALLATION_ACTIONS)[number];