fix:interface

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-01-29 14:07:54 +07:00
parent a79a5858b6
commit c6c1fe93c1
4 changed files with 147 additions and 76 deletions

View file

@ -0,0 +1,42 @@
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;
}
interface IssueAttachment {
fileName: string;
path: string;
pathname: string;
title: string;
}
interface IssueAttachmentWithDownloadUrl extends IssueAttachment {
downloadUrl: string;
}
export type {
Options,
IssueData,
IssueAttachment,
IssueAttachmentWithDownloadUrl,
};