57 lines
929 B
TypeScript
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,
|
|
}
|