@freedom_sky/feige-lib 4.11.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,13 +125,7 @@ export interface Store {
125
125
  name: string;
126
126
  enabled: boolean;
127
127
  }[];
128
- readonly areas: {
129
- readonly name: string;
130
- readonly tables: {
131
- name: string;
132
- seatNum: number;
133
- }[];
134
- }[];
128
+ readonly areas: Area[];
135
129
  }
136
130
  export interface ReceptionPrinter {
137
131
  _id: string;
@@ -191,4 +185,12 @@ interface DayLoopItem {
191
185
  removeMode: boolean;
192
186
  dishId: string[];
193
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
+ }
194
196
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.11.0",
3
+ "version": "4.12.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -126,13 +126,7 @@ export interface Store {
126
126
  name: string;
127
127
  enabled: boolean;
128
128
  }[];
129
- readonly areas: {
130
- readonly name: string;
131
- readonly tables: {
132
- name: string;
133
- seatNum: number;
134
- }[];
135
- }[];
129
+ readonly areas: Area[];
136
130
  }
137
131
 
138
132
  export interface ReceptionPrinter {
@@ -196,3 +190,13 @@ interface DayLoopItem {
196
190
  removeMode: boolean;
197
191
  dishId: string[];
198
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
+ }