updated format code

This commit is contained in:
Warunee Tamkoo 2024-09-03 11:28:01 +07:00
parent b75d69ea08
commit b14bad2249
241 changed files with 14012 additions and 13811 deletions

View file

@ -1,21 +1,18 @@
interface workingTimeDataRowType {
morning: string
morningEnd: string
afternoon: string
afternoonEnd: string
reason: string
status: number
morning: string;
morningEnd: string;
afternoon: string;
afternoonEnd: string;
reason: string;
status: number;
}
interface formData {
morning:string
morningEnd:string
afternoon:string
afternoonEnd:string
reason:string
status:boolean
morning: string;
morningEnd: string;
afternoon: string;
afternoonEnd: string;
reason: string;
status: boolean;
}
export type {
workingTimeDataRowType,
formData
}
export type { workingTimeDataRowType, formData };

View file

@ -1,38 +1,38 @@
interface changeShow {
cardId: string
prefix: string
firstName: string
lastName: string
fullName: string
roundStart: string
roundEnd: string
currentRound: string
effectiveDate: string | null
cardId: string;
prefix: string;
firstName: string;
lastName: string;
fullName: string;
roundStart: string;
roundEnd: string;
currentRound: string;
effectiveDate: string | null;
}
interface dataRowChangeRound {
cardId: string
prefix: string
firstName: string
lastName: string
roundStart: string
roundEnd: string
effectiveDate: Date
cardId: string;
prefix: string;
firstName: string;
lastName: string;
roundStart: string;
roundEnd: string;
effectiveDate: Date;
}
interface dataRowChangeRoundHistory {
id: string
roundStart: string
roundEnd: string
effectiveDate: Date
reson: string | null
id: string;
roundStart: string;
roundEnd: string;
effectiveDate: Date;
reson: string | null;
}
interface historyShow {
time: string
effectiveDate: string | null
reson: string | null
time: string;
effectiveDate: string | null;
reson: string | null;
}
export type {
changeShow,
dataRowChangeRound,
dataRowChangeRoundHistory,
historyShow
}
changeShow,
dataRowChangeRound,
dataRowChangeRoundHistory,
historyShow,
};

View file

@ -13,8 +13,8 @@ interface dataRowRound {
checkInStatus: string;
checkOutStatus: string;
note: string;
checkInEdit:boolean
checkOutEdit:boolean
checkInEdit: boolean;
checkOutEdit: boolean;
}
interface MyObjectRoundRef {
checkIn: object | null;