@iveri/contracts 0.61.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -39,6 +39,8 @@ export interface RestaurantKitchenBoard {
|
|
|
39
39
|
warnMinutes: number;
|
|
40
40
|
lateMinutes: number;
|
|
41
41
|
tickets: RestaurantKitchenTicket[];
|
|
42
|
+
/** Tickets just finished, so one can be called back. */
|
|
43
|
+
recent: RestaurantKitchenTicket[];
|
|
42
44
|
allDay: RestaurantAllDayCount[];
|
|
43
45
|
}
|
|
44
46
|
/** Moves every line of a ticket on together. */
|
|
@@ -106,6 +106,7 @@ export interface PublicRestaurantTableOrderLine {
|
|
|
106
106
|
status: RestaurantLineStatus;
|
|
107
107
|
}
|
|
108
108
|
export interface PublicRestaurantTableOrder {
|
|
109
|
+
id: UUID;
|
|
109
110
|
number: number;
|
|
110
111
|
status: RestaurantOrderStatus;
|
|
111
112
|
placedAt: string;
|
|
@@ -124,6 +125,10 @@ export interface PublicRestaurantTableBill {
|
|
|
124
125
|
orders: PublicRestaurantTableOrder[];
|
|
125
126
|
openRequests: RestaurantServiceRequestKind[];
|
|
126
127
|
}
|
|
128
|
+
/** What a table has at the moment. No open bill is an ordinary answer: nobody has ordered yet. */
|
|
129
|
+
export interface PublicRestaurantTableState {
|
|
130
|
+
bill: PublicRestaurantTableBill | null;
|
|
131
|
+
}
|
|
127
132
|
export interface PublicRestaurantServiceRequestBody {
|
|
128
133
|
kind: RestaurantServiceRequestKind;
|
|
129
134
|
}
|