hrms-mgt/src/interface/response/dashboard/dashboard.ts

32 lines
615 B
TypeScript
Raw Normal View History

interface attachments {
name: string;
url: string;
}
interface ResponseInbox {
body: string;
createdFullName: string;
createdUserId: string;
id: string;
isOpen: boolean;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: Date;
openDate: Date | null;
payload: {attachments:attachments[]}
receiveDate: Date;
receiverUserId: string;
subject: string;
}
interface DataInbox {
no: string;
sender: string;
subject: string;
timereceive: Date;
body: string;
payload: {attachments:attachments[]}
ratingModel: number;
}
export type { ResponseInbox, DataInbox };