From d66c3d78566848e90776911b3ba8070e991f8368 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Tue, 17 Sep 2024 13:36:50 +0700 Subject: [PATCH] chore: add type --- src/stores/employee/types.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/stores/employee/types.ts b/src/stores/employee/types.ts index 17df8333..1673f84f 100644 --- a/src/stores/employee/types.ts +++ b/src/stores/employee/types.ts @@ -282,3 +282,35 @@ export type NewEmployeeHistory = { history: { valueAfter: string; valueBefore: string; field: string }[]; }[]; }; + +export type EmployeeVisaPayload = { + number: string; + type: string; + entryCount: number; + issueCountry: string; + issuePlace: string; + issueDate: Date; + expireDate: Date; + mrz?: string; + remark?: string; +}; + +export type EmployeePassportPayload = { + number: string; + type: string; + issueDate: Date; + expireDate: Date; + issueCountry: string; + issuePlace: string; + previousPassportRef?: string | null; +}; + +export type EmployeeInCountryNoticePayload = { + noticeNumber: string; + noticeDate: string; + nextNoticeDate: Date; + tmNumber: string; + entryDate: Date; + travelBy: string; + travelFrom: string; +};