Replace entire repo content with correct code from /root/shahikitchen-website/

This commit is contained in:
root
2026-06-29 16:22:09 +00:00
parent 57cc67d2d3
commit 50e3a34895
723 changed files with 20055 additions and 26101 deletions
+27
View File
@@ -0,0 +1,27 @@
export interface KitchenOrderItem {
name: string;
qty: number;
}
export type OrderSource = 'table' | 'foodora' | 'uber' | 'wolt' | 'pickup' | 'other';
export type OrderStatus = 'received' | 'review' | 'preparing' | 'packing' | 'ready';
export interface KitchenOrder {
id: string;
source: OrderSource;
label: string;
customer: string;
items: KitchenOrderItem[];
status: OrderStatus;
receivedAt: Date;
etaMinutes: number;
}
export const ORDER_STATUS_PIPELINE: readonly OrderStatus[] = [
'received',
'review',
'preparing',
'packing',
'ready',
] as const;