feat(client): add client's page + CRUD operations modals
This commit is contained in:
16
src/types/client.ts
Normal file
16
src/types/client.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export interface Client {
|
||||
id: string;
|
||||
name: string;
|
||||
notes: string | null;
|
||||
workspace: string;
|
||||
can_delete: boolean;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
export interface PaginatedClientList {
|
||||
count: number;
|
||||
next: string | null;
|
||||
previous: string | null;
|
||||
results: Client[];
|
||||
}
|
||||
Reference in New Issue
Block a user