2023-11-14 17:47:43 +07:00
|
|
|
interface DataOption {
|
|
|
|
|
id: string
|
|
|
|
|
name: string
|
|
|
|
|
}
|
2023-11-29 17:46:19 +07:00
|
|
|
|
|
|
|
|
interface DataDateMonthObject {
|
|
|
|
|
month: number
|
|
|
|
|
year: number
|
|
|
|
|
}
|
2023-11-14 17:47:43 +07:00
|
|
|
interface FormRef {
|
|
|
|
|
date: object | null
|
|
|
|
|
reason: object | null
|
|
|
|
|
[key: string]: any
|
|
|
|
|
}
|
2023-11-17 11:28:13 +07:00
|
|
|
interface notiType {
|
|
|
|
|
id: string
|
|
|
|
|
sender: string
|
|
|
|
|
body: string
|
2024-01-19 17:22:07 +07:00
|
|
|
timereceive: Date
|
|
|
|
|
isOpen: boolean
|
2023-11-17 11:28:13 +07:00
|
|
|
}
|
2023-11-28 13:36:08 +07:00
|
|
|
|
2023-12-08 13:15:13 +07:00
|
|
|
interface LocationObject {
|
|
|
|
|
latitude: number
|
|
|
|
|
longitude: number
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-09 11:43:20 +07:00
|
|
|
interface Pagination {
|
2024-09-02 17:37:08 +07:00
|
|
|
sortBy: string | null
|
2024-07-09 11:43:20 +07:00
|
|
|
descending: boolean
|
|
|
|
|
page: number
|
2024-09-02 17:37:08 +07:00
|
|
|
rowsPerPage: number | undefined
|
|
|
|
|
}
|
|
|
|
|
interface DataCheckIn {
|
|
|
|
|
checkInDate: string
|
|
|
|
|
checkInDateTime: string
|
|
|
|
|
checkInId: string
|
|
|
|
|
checkInLocation: string
|
|
|
|
|
checkInStatus: string
|
|
|
|
|
checkInTime: string
|
|
|
|
|
checkOutLocation: string
|
|
|
|
|
checkOutStatus: string
|
|
|
|
|
checkOutTime: string
|
|
|
|
|
editReason: string
|
|
|
|
|
editStatus: string
|
|
|
|
|
isEdit: boolean
|
2024-07-09 11:43:20 +07:00
|
|
|
}
|
|
|
|
|
|
2024-01-18 11:25:41 +07:00
|
|
|
export type {
|
|
|
|
|
DataOption,
|
|
|
|
|
FormRef,
|
|
|
|
|
notiType,
|
|
|
|
|
DataDateMonthObject,
|
|
|
|
|
LocationObject,
|
2024-07-09 11:43:20 +07:00
|
|
|
Pagination,
|
2024-09-02 17:37:08 +07:00
|
|
|
DataCheckIn,
|
2024-01-18 11:25:41 +07:00
|
|
|
}
|