diff --git a/barkmanui/src/features/jobs/types.ts b/barkmanui/src/features/jobs/types.ts new file mode 100644 index 0000000..a9c4911 --- /dev/null +++ b/barkmanui/src/features/jobs/types.ts @@ -0,0 +1,23 @@ +export interface Job { + id: number, + customerId: number, + name: string, + status: {id: string; name: string}, + statusId: string; + startDate: Date; + endDate: Date; + totalPrice: string, + venue: number, + address: number, + notes: string, +} + +export interface NewJob { + customerId: number, + name: string, + startDate: Date; + endDate: Date; + venue: number, + address: number, + notes: string, +}