import type { D } from "@fullcalendar/core/internal-common";

interface Options {
  label: string;
  value: string;
}

interface IssueData {
  codeIssue: string;
  createdAt: Date;
  createdFullName: string;
  createdUserId: string;
  description: string;
  id: string;
  lastUpdateFullName: string;
  lastUpdateUserId: string;
  lastUpdatedAt: Date;
  menu: string;
  org: string;
  remark: string;
  status: "IN_PROGRESS" | "RESOLVED" | "CLOSED" | "NEW";
  system: "mgt" | "user" | "checkin";
  title: string;
  email: string;
  phone: string;
}

interface IssueAttachment {
  fileName: string;
  path: string;
  pathname: string;
  title: string;
}

interface IssueAttachmentWithDownloadUrl extends IssueAttachment {
  downloadUrl: string;
}

export type {
  Options,
  IssueData,
  IssueAttachment,
  IssueAttachmentWithDownloadUrl,
};
