@freedom_sky/feige-lib 4.8.0 → 4.12.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.
@@ -125,6 +125,7 @@ export interface Store {
125
125
  name: string;
126
126
  enabled: boolean;
127
127
  }[];
128
+ readonly areas: Area[];
128
129
  }
129
130
  export interface ReceptionPrinter {
130
131
  _id: string;
@@ -184,4 +185,12 @@ interface DayLoopItem {
184
185
  removeMode: boolean;
185
186
  dishId: string[];
186
187
  }
188
+ export interface Area {
189
+ readonly name: string;
190
+ readonly tables: Table[];
191
+ }
192
+ export interface Table {
193
+ name: string;
194
+ seatNum: number;
195
+ }
187
196
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.8.0",
3
+ "version": "4.12.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -126,6 +126,7 @@ export interface Store {
126
126
  name: string;
127
127
  enabled: boolean;
128
128
  }[];
129
+ readonly areas: Area[];
129
130
  }
130
131
 
131
132
  export interface ReceptionPrinter {
@@ -189,3 +190,13 @@ interface DayLoopItem {
189
190
  removeMode: boolean;
190
191
  dishId: string[];
191
192
  }
193
+
194
+ export interface Area {
195
+ readonly name: string;
196
+ readonly tables: Table[]
197
+ }
198
+
199
+ export interface Table {
200
+ name: string;
201
+ seatNum: number;
202
+ }