Restructure project to root layout

This commit is contained in:
beatz174-bit
2025-11-21 16:10:41 +10:00
parent e0e26a34ab
commit 3ffe9bbf99
51 changed files with 16 additions and 12 deletions
+6
View File
@@ -0,0 +1,6 @@
export interface Area {
id: string;
name: string;
created_at: number;
updated_at: number;
}
+12
View File
@@ -0,0 +1,12 @@
export type PickItemStatus = 'pending' | 'picked' | 'skipped';
export interface PickItem {
id: string;
pick_list_id: string;
product_id: string;
quantity_units: number;
quantity_bulk: number;
status: PickItemStatus;
created_at: number;
updated_at: number;
}
+7
View File
@@ -0,0 +1,7 @@
export interface PickList {
id: string;
area_id: string;
created_at: number;
completed_at?: number;
notes?: string;
}
+12
View File
@@ -0,0 +1,12 @@
export interface Product {
id: string;
name: string;
category: string;
unit_type: string;
bulk_name?: string;
units_per_bulk?: number;
barcode?: string;
archived: boolean;
created_at: number;
updated_at: number;
}