@freedom_sky/feige-lib 4.10.0 → 4.14.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.
package/dist/const/const.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ declare class Const {
|
|
|
99
99
|
SPECIFICATION_NAME_MAX_LENGTH: number;
|
|
100
100
|
SPECIFICATION_DESCRIPTION_MAX_LENGTH: number;
|
|
101
101
|
STORE_NAME_MAX_LENGTH: number;
|
|
102
|
+
TABLE_NAME_MAX_LENGTH: number;
|
|
102
103
|
TAKEOUT_STARTING_PRICE: number;
|
|
103
104
|
TAKEOUT_DELIVERY_FEE: number;
|
|
104
105
|
MEMBER_SAVING_RULE_DESCRIPTION_MAX_LENGTH: number;
|
package/dist/const/const.js
CHANGED
|
@@ -103,6 +103,7 @@ var Const = /** @class */ (function () {
|
|
|
103
103
|
SPECIFICATION_NAME_MAX_LENGTH: 60,
|
|
104
104
|
SPECIFICATION_DESCRIPTION_MAX_LENGTH: 60,
|
|
105
105
|
STORE_NAME_MAX_LENGTH: 30,
|
|
106
|
+
TABLE_NAME_MAX_LENGTH: 30,
|
|
106
107
|
TAKEOUT_STARTING_PRICE: 10000000,
|
|
107
108
|
TAKEOUT_DELIVERY_FEE: 10000000,
|
|
108
109
|
MEMBER_SAVING_RULE_DESCRIPTION_MAX_LENGTH: 50,
|
|
@@ -125,14 +125,7 @@ export interface Store {
|
|
|
125
125
|
name: string;
|
|
126
126
|
enabled: boolean;
|
|
127
127
|
}[];
|
|
128
|
-
readonly areas:
|
|
129
|
-
name: string;
|
|
130
|
-
}[];
|
|
131
|
-
readonly tables: {
|
|
132
|
-
name: string;
|
|
133
|
-
seatNum: number;
|
|
134
|
-
areaId: string;
|
|
135
|
-
}[];
|
|
128
|
+
readonly areas: Area[];
|
|
136
129
|
}
|
|
137
130
|
export interface ReceptionPrinter {
|
|
138
131
|
_id: string;
|
|
@@ -192,4 +185,14 @@ interface DayLoopItem {
|
|
|
192
185
|
removeMode: boolean;
|
|
193
186
|
dishId: string[];
|
|
194
187
|
}
|
|
188
|
+
export interface Area {
|
|
189
|
+
readonly _id?: string;
|
|
190
|
+
readonly name: string;
|
|
191
|
+
readonly tables: Table[];
|
|
192
|
+
}
|
|
193
|
+
export interface Table {
|
|
194
|
+
readonly _id?: string;
|
|
195
|
+
readonly name: string;
|
|
196
|
+
readonly seatNum: number;
|
|
197
|
+
}
|
|
195
198
|
export {};
|
package/package.json
CHANGED
package/src/const/const.ts
CHANGED
|
@@ -100,6 +100,7 @@ class Const {
|
|
|
100
100
|
SPECIFICATION_NAME_MAX_LENGTH: 60,
|
|
101
101
|
SPECIFICATION_DESCRIPTION_MAX_LENGTH: 60,
|
|
102
102
|
STORE_NAME_MAX_LENGTH: 30,
|
|
103
|
+
TABLE_NAME_MAX_LENGTH: 30,
|
|
103
104
|
TAKEOUT_STARTING_PRICE: 10000000,
|
|
104
105
|
TAKEOUT_DELIVERY_FEE: 10000000,
|
|
105
106
|
MEMBER_SAVING_RULE_DESCRIPTION_MAX_LENGTH: 50,
|
|
@@ -126,14 +126,7 @@ export interface Store {
|
|
|
126
126
|
name: string;
|
|
127
127
|
enabled: boolean;
|
|
128
128
|
}[];
|
|
129
|
-
readonly areas:
|
|
130
|
-
name: string;
|
|
131
|
-
}[];
|
|
132
|
-
readonly tables:{
|
|
133
|
-
name:string,
|
|
134
|
-
seatNum:number,
|
|
135
|
-
areaId:string
|
|
136
|
-
}[];
|
|
129
|
+
readonly areas: Area[];
|
|
137
130
|
}
|
|
138
131
|
|
|
139
132
|
export interface ReceptionPrinter {
|
|
@@ -197,3 +190,15 @@ interface DayLoopItem {
|
|
|
197
190
|
removeMode: boolean;
|
|
198
191
|
dishId: string[];
|
|
199
192
|
}
|
|
193
|
+
|
|
194
|
+
export interface Area {
|
|
195
|
+
readonly _id?:string,
|
|
196
|
+
readonly name: string;
|
|
197
|
+
readonly tables: Table[]
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export interface Table {
|
|
201
|
+
readonly _id?:string,
|
|
202
|
+
readonly name: string;
|
|
203
|
+
readonly seatNum: number;
|
|
204
|
+
}
|