@trusted-solutions/sdit.models 0.18.0-alpha.8 → 0.18.0-alpha.9
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.
|
@@ -3,5 +3,6 @@ export declare enum RealTimeSwitchType {
|
|
|
3
3
|
ProductAttributeSoldOut = "ProductAttributeSoldOut",
|
|
4
4
|
ServeTypeDisableDineIn = "ServeTypeDisableDineIn",
|
|
5
5
|
ServeTypeDisableTakeout = "ServeTypeDisableTakeout",
|
|
6
|
-
DisableKiosk = "DisableKiosk"
|
|
6
|
+
DisableKiosk = "DisableKiosk",
|
|
7
|
+
OnlineOrderClosed = "OnlineOrderClosed"
|
|
7
8
|
}
|
|
@@ -8,5 +8,6 @@ var RealTimeSwitchType;
|
|
|
8
8
|
RealTimeSwitchType["ServeTypeDisableDineIn"] = "ServeTypeDisableDineIn";
|
|
9
9
|
RealTimeSwitchType["ServeTypeDisableTakeout"] = "ServeTypeDisableTakeout";
|
|
10
10
|
RealTimeSwitchType["DisableKiosk"] = "DisableKiosk";
|
|
11
|
+
RealTimeSwitchType["OnlineOrderClosed"] = "OnlineOrderClosed";
|
|
11
12
|
})(RealTimeSwitchType = exports.RealTimeSwitchType || (exports.RealTimeSwitchType = {}));
|
|
12
13
|
//# sourceMappingURL=real-time-switch-type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"real-time-switch-type.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/enums/real-time-switch-type.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAOX;AAPD,WAAY,kBAAkB;
|
|
1
|
+
{"version":3,"file":"real-time-switch-type.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/enums/real-time-switch-type.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,uDAAiC,CAAA;IACjC,yEAAmD,CAAA;IACnD,uEAAiD,CAAA;IACjD,yEAAmD,CAAA;IACnD,mDAA6B,CAAA;IAC7B,6DAAuC,CAAA;AACzC,CAAC,EAPW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAO7B"}
|
package/models/menu.d.ts
CHANGED
|
@@ -37,6 +37,11 @@ export interface Product {
|
|
|
37
37
|
attributeIds: string[];
|
|
38
38
|
tax: Tax;
|
|
39
39
|
sort: number;
|
|
40
|
+
/**
|
|
41
|
+
* @readonly
|
|
42
|
+
* 是否售完。
|
|
43
|
+
* 使用 lambda func `realTimeSwitch` 來更新此 property
|
|
44
|
+
*/
|
|
40
45
|
soldOut: boolean;
|
|
41
46
|
externals?: External[];
|
|
42
47
|
discountModules?: ItemDiscountModule[];
|
|
@@ -51,6 +56,11 @@ export interface ProductAttribute {
|
|
|
51
56
|
additionalAmount: number;
|
|
52
57
|
sort: number;
|
|
53
58
|
storeTemplateId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @readonly
|
|
61
|
+
* 是否售完。
|
|
62
|
+
* 使用 lambda func `realTimeSwitch` 來更新此 property
|
|
63
|
+
*/
|
|
54
64
|
soldOut?: boolean;
|
|
55
65
|
disableOnline?: boolean;
|
|
56
66
|
disableKiosk?: boolean;
|
package/models/store.d.ts
CHANGED
|
@@ -40,6 +40,9 @@ export interface Store {
|
|
|
40
40
|
*/
|
|
41
41
|
kioskPaymentConfigs?: PaymentConfig[];
|
|
42
42
|
/**
|
|
43
|
+
* @readonly
|
|
44
|
+
* 使用 lambda func `realTimeSwitch` 來更新此 property
|
|
45
|
+
*
|
|
43
46
|
* if value is undefined, default value regarding as a
|
|
44
47
|
* ```
|
|
45
48
|
* {
|
|
@@ -60,6 +63,10 @@ export interface Store {
|
|
|
60
63
|
* ```
|
|
61
64
|
*/
|
|
62
65
|
customerConfig?: CustomerConfig;
|
|
66
|
+
/**
|
|
67
|
+
* @readonly
|
|
68
|
+
* 使用 lambda func `realTimeSwitch` 來更新此 property
|
|
69
|
+
*/
|
|
63
70
|
kioskDisabled?: boolean;
|
|
64
71
|
flowConfig?: FlowConfig;
|
|
65
72
|
multiplePaymentConfigs?: MultiplePaymentConfig[];
|
|
@@ -123,7 +130,9 @@ export interface Store {
|
|
|
123
130
|
*/
|
|
124
131
|
onlineBuyerIdInputHidden?: boolean;
|
|
125
132
|
/**
|
|
133
|
+
* @readonly
|
|
126
134
|
* 線上店是否營業中可接單
|
|
135
|
+
* 使用 lambda func `realTimeSwitch` 來更新此 property
|
|
127
136
|
*/
|
|
128
137
|
onlineIsOpen?: boolean;
|
|
129
138
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.18.0-alpha.
|
|
3
|
+
"version": "0.18.0-alpha.9",
|
|
4
4
|
"description": "TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|