fix(timesheet): improve tablet layout and deleted relation handling
This commit is contained in:
@@ -1,15 +1,31 @@
|
||||
import { authFetch } from "./client";
|
||||
|
||||
export interface TimeEntryProjectDetails {
|
||||
id: string;
|
||||
name: string;
|
||||
is_deleted: boolean;
|
||||
client_name: string | null;
|
||||
}
|
||||
|
||||
export interface TimeEntryTagDetails {
|
||||
id: string;
|
||||
name: string;
|
||||
color: string;
|
||||
is_deleted: boolean;
|
||||
}
|
||||
|
||||
export interface TimeEntry {
|
||||
id: string;
|
||||
workspace: string;
|
||||
user: string;
|
||||
project: string | null;
|
||||
project_details: TimeEntryProjectDetails | null;
|
||||
description: string;
|
||||
start_time: string;
|
||||
end_time: string | null;
|
||||
duration: string | null;
|
||||
tags: string[];
|
||||
tag_details: TimeEntryTagDetails[];
|
||||
is_billable: boolean;
|
||||
hourly_rate: string | null;
|
||||
currency: string;
|
||||
|
||||
Reference in New Issue
Block a user