hrms-mgt/src/modules/22_issues/interface/Main.ts
2026-02-06 17:33:38 +07:00

42 lines
778 B
TypeScript

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