Restructure project to root layout
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export interface Area {
|
||||
id: string;
|
||||
name: string;
|
||||
created_at: number;
|
||||
updated_at: number;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
export interface PickList {
|
||||
id: string;
|
||||
area_id: string;
|
||||
created_at: number;
|
||||
completed_at?: number;
|
||||
notes?: string;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user