@freedom_sky/feige-lib 4.59.2 → 4.61.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 +10 -57
- package/dist/const/const.js +198 -4
- package/dist/enum/continent.enum.d.ts +8 -0
- package/dist/enum/continent.enum.js +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/interfaces/user/user.interface.d.ts +1 -0
- package/package.json +1 -1
- package/src/const/const.ts +218 -5
- package/src/enum/continent.enum.ts +8 -0
- package/src/index.ts +1 -0
- package/src/interfaces/user/user.interface.ts +1 -0
package/dist/const/const.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ContinentEnum } from '../enum/continent.enum';
|
|
1
2
|
import { LanguageItem } from '../interfaces/common/language.interface';
|
|
2
3
|
declare class Const {
|
|
3
4
|
ROLE: {
|
|
@@ -114,6 +115,7 @@ declare class Const {
|
|
|
114
115
|
CHEF_NUM: number;
|
|
115
116
|
DISH_PRICE: number;
|
|
116
117
|
DISH_NAME_MAX_LENGTH: number;
|
|
118
|
+
DISH_DESCRIPTION_MAX_LENGTH: number;
|
|
117
119
|
SPECIFICATION_NAME_MAX_LENGTH: number;
|
|
118
120
|
SPECIFICATION_DESCRIPTION_MAX_LENGTH: number;
|
|
119
121
|
STORE_NAME_MAX_LENGTH: number;
|
|
@@ -309,75 +311,26 @@ declare class Const {
|
|
|
309
311
|
DINE: string;
|
|
310
312
|
TAKEOUT: string;
|
|
311
313
|
};
|
|
312
|
-
AREA_CODE:
|
|
314
|
+
AREA_CODE: {
|
|
315
|
+
continent: ContinentEnum;
|
|
313
316
|
en: string;
|
|
314
317
|
zh: string;
|
|
315
318
|
phoneCode: string;
|
|
316
319
|
zhHead: string;
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
} | {
|
|
320
|
-
en: string;
|
|
321
|
-
zh: string;
|
|
322
|
-
phoneCode: string;
|
|
323
|
-
zhHead: string;
|
|
324
|
-
setting: {
|
|
325
|
-
defaultCurrency: string;
|
|
326
|
-
timeZoneNum: number;
|
|
327
|
-
agent: {
|
|
328
|
-
instruction: string;
|
|
329
|
-
showPriceInStore: boolean;
|
|
330
|
-
qrCode: string;
|
|
331
|
-
phone?: undefined;
|
|
332
|
-
email?: undefined;
|
|
333
|
-
};
|
|
334
|
-
cashDenominations?: undefined;
|
|
335
|
-
};
|
|
336
|
-
cost?: undefined;
|
|
337
|
-
} | {
|
|
338
|
-
en: string;
|
|
339
|
-
zh: string;
|
|
340
|
-
phoneCode: string;
|
|
341
|
-
zhHead: string;
|
|
342
|
-
cost: number;
|
|
343
|
-
setting: {
|
|
344
|
-
defaultCurrency: string;
|
|
345
|
-
timeZoneNum: number;
|
|
346
|
-
agent: {
|
|
347
|
-
instruction: any;
|
|
348
|
-
showPriceInStore: boolean;
|
|
349
|
-
qrCode: string;
|
|
350
|
-
phone: string;
|
|
351
|
-
email: string;
|
|
352
|
-
};
|
|
353
|
-
cashDenominations?: undefined;
|
|
354
|
-
};
|
|
355
|
-
} | {
|
|
356
|
-
en: string;
|
|
357
|
-
zh: string;
|
|
358
|
-
phoneCode: string;
|
|
359
|
-
zhHead: string;
|
|
360
|
-
cost: number;
|
|
361
|
-
setting?: undefined;
|
|
362
|
-
} | {
|
|
363
|
-
en: string;
|
|
364
|
-
zh: string;
|
|
365
|
-
phoneCode: string;
|
|
366
|
-
zhHead: string;
|
|
367
|
-
cost: number;
|
|
368
|
-
setting: {
|
|
320
|
+
cost?: number;
|
|
321
|
+
setting?: {
|
|
369
322
|
defaultCurrency: string;
|
|
370
323
|
timeZoneNum: number;
|
|
371
324
|
agent: {
|
|
372
325
|
instruction: string;
|
|
373
326
|
showPriceInStore: boolean;
|
|
374
327
|
qrCode: string;
|
|
375
|
-
phone?:
|
|
376
|
-
email?:
|
|
328
|
+
phone?: string;
|
|
329
|
+
email?: string;
|
|
377
330
|
};
|
|
378
|
-
cashDenominations
|
|
331
|
+
cashDenominations?: number[];
|
|
379
332
|
};
|
|
380
|
-
}
|
|
333
|
+
}[];
|
|
381
334
|
}
|
|
382
335
|
export declare const CONST: Const;
|
|
383
336
|
export {};
|