"use client";

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

export type DecisionIssueItem = {
  id: number;
  title?: string;
  name?: string;
  description?: string | null;
  recommendation?: string | null;
};

export type MinistryRgcDecisionRow = {
  id: number;
  plenaryId?: number | null;
  plenaryName?: string | null;

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

  decision: string;
  meetingDate: string;

  categoryId: number | null;
  category: string;

  status: MinistryRgcDecisionStatus;

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

  issues?: DecisionIssueItem[];

  issueDescription?: string | null;
  recommendations?: string | null;
  indicators?: string | null;
  progressSolution?: string | null;
  implementationChallenges?: string | null;
  request?: string | null;
  nextStep?: string | null;
  dateOfIssueSolution?: string | null;
  progressAttachment?: string | null;
};

export type MinistryRgcDecisionFilterOption = {
  id: number | string;
  label: string;
};

export const STATUS_OPTIONS: MinistryRgcDecisionStatus[] = [
  "Solved",
  "In Progress",
  "Not Addressed",
];
