export type CdcIssueMatrixStatus =
  | "Solved"
  | "In Progress"
  | "Not Addressed"
  | "Draft"
  | "New Submission";

export const CDC_ISSUE_MATRIX_STATUS_FILTER_OPTIONS = [
  "Solved",
  "In Progress",
  "Not Addressed",
] as const satisfies readonly CdcIssueMatrixStatus[];

export type CdcIssueMatrixRow = {
  id: number;
  issueId: number;
  issueResolveId: number;
  meetingSummaryId: number;
  workingGroupId: number;
  workingGroup: string;
  issue: string;
  category: string;
  issueDescription: string;
  recommendation: string;
  governmentDecision: string;
  primaryAgency: string;
  primaryAgencyImage: string | null;
  plenaryEscalation: boolean;
  status: CdcIssueMatrixStatus;
  nextStep: string;
  remark?: string;
  submittedAt: string;
  year: string;
  action?: string;
};

export type CdcIssueMatrixSummary = {
  totalIssues: number;
  solved: number;
  inProgress: number;
  notAddressed: number;
  totalPrimaryAgencies: number;
};
