import type { ProcProcessName } from 'src/api/monitoring/cp/assembly/constants/proc-map.const';

export interface AssemblyMonitoringParsedProcDto {
  model: string;
  serialNo: string;
  processName: string;
  startTime: string;
  workerCount: number;
  inputHours: number;
  workers: string[];
  status?: string;
  endTime?: string | null;
  waitingDays?: number | null;
}

export type AssemblyMonitoringProcRowsByProcessDto = Record<
  ProcProcessName,
  AssemblyMonitoringParsedProcDto[]
>;
