hrms-mgt/src/modules/22_issues/interface/Main.ts
2026-02-04 21:48:48 +07:00

44 lines
840 B
TypeScript

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,
};