hrms-checkin/src/interface/index/Main.ts
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 23d6801f80 refector code
2024-09-02 17:37:08 +07:00

57 lines
929 B
TypeScript

interface DataOption {
id: string
name: string
}
interface DataDateMonthObject {
month: number
year: number
}
interface FormRef {
date: object | null
reason: object | null
[key: string]: any
}
interface notiType {
id: string
sender: string
body: string
timereceive: Date
isOpen: boolean
}
interface LocationObject {
latitude: number
longitude: number
}
interface Pagination {
sortBy: string | null
descending: boolean
page: number
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
}
export type {
DataOption,
FormRef,
notiType,
DataDateMonthObject,
LocationObject,
Pagination,
DataCheckIn,
}