hrms-checkin/src/interface/index/Main.ts

58 lines
929 B
TypeScript
Raw Normal View History

2023-11-14 17:47:43 +07:00
interface DataOption {
id: string
name: string
}
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
}
interface notiType {
id: string
sender: string
body: string
2024-01-19 17:22:07 +07:00
timereceive: Date
isOpen: boolean
}
2023-12-08 13:15:13 +07:00
interface LocationObject {
latitude: number
longitude: number
}
interface Pagination {
2024-09-02 17:37:08 +07:00
sortBy: string | null
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-01-18 11:25:41 +07:00
export type {
DataOption,
FormRef,
notiType,
DataDateMonthObject,
LocationObject,
Pagination,
2024-09-02 17:37:08 +07:00
DataCheckIn,
2024-01-18 11:25:41 +07:00
}