"use client";

export type RgcDecisionStatus =
  | "Solved"
  | "In Progress"
  | "Not Addressed";

export type RgcDecisionRow = {
  id: number;
  plenaryId?: number | null;
  plenary?: string | null;

  ministryId?: number | null;
  ministry: string;
  ministryLogo?: string | null;

  decision: string;
  issueDescription?: string | null;
  recommendations?: string | null;
  progressSolution?: string | null;
  implementationChallenges?: string | null;
  request?: string | null;
  nextStep?: string | null;

  meetingDate: string;

  categoryId?: number | null;
  category: string;

  status: RgcDecisionStatus;

  indicatorId?: number | null;
  indicator?: string | null;

  focalPerson?: string | null;
  sourceOfVerification?: string | null;

  verificationLink?: string | null;
  verificationDownloadUrl?: string | null;

  workingGroup?: string | null;
  primaryAgency?: string | null;
  measureCategory?: string | null;
  effectiveDate?: string | null;

  issues?: Array<{ id: number | string; title?: string | null; name?: string | null }>;
};

export const RGC_DECISION_STATUS_OPTIONS: RgcDecisionStatus[] = [
  "Solved",
  "In Progress",
  "Not Addressed",
];