export type CefpIssueMatrixStatus =
  | "Solved"
  | "In Progress"
  | "Not Addressed"
  | "Draft"
  | "Saved";

export type CefpIssueMatrixAgency = {
  id: number;
  name: string;
  logo: string | null;
};

export type CefpIssueMatrixRow = {
  id: number;
  issueId: number;

  issueResolveId: number | null;
  meetingSummaryId: number | null;

  workingGroupId: number;
  workingGroup: string;

  issue: string;

  category: string;

  issueDescription: string;
  recommendation: string;

  governmentDecision: string;

  primaryAgency: string;
  primaryAgencyImage: string | null;

  agencies: CefpIssueMatrixAgency[];

  plenaryEscalation: boolean;

  status: CefpIssueMatrixStatus;
  statusId: number;

  nextStep: string;
  remark?: string | null;

  submittedAt: string;
  year: string;

  isMinistrySubmitted: boolean;
  canManage: boolean;
};

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