New Staff Functions
This commit is contained in:
27
src/types/staff.ts
Normal file
27
src/types/staff.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
export interface StaffTimeEntry {
|
||||
id: string
|
||||
tenant_id: string
|
||||
user_id: string
|
||||
started_at: string
|
||||
stopped_at?: string | null
|
||||
duration_minutes?: number | null
|
||||
type: 'work' | 'break' | 'absence' | 'other'
|
||||
description?: string | null
|
||||
created_at?: string
|
||||
updated_at?: string
|
||||
}
|
||||
|
||||
export interface StaffTimeEntryConnect {
|
||||
id: string
|
||||
time_entry_id: string
|
||||
project_id?: string | null
|
||||
customer_id?: string | null
|
||||
task_id?: string | null
|
||||
ticket_id?: string | null
|
||||
started_at: string
|
||||
stopped_at: string
|
||||
duration_minutes?: number
|
||||
notes?: string | null
|
||||
created_at?: string
|
||||
updated_at?: string
|
||||
}
|
||||
Reference in New Issue
Block a user