@trusted-solutions/sdit.models 0.55.0 → 0.56.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/models/menu.d.ts CHANGED
@@ -101,6 +101,10 @@ export interface Quantity {
101
101
  defaultQuantity?: number;
102
102
  chargeAbove?: number;
103
103
  refundUnder?: number;
104
+ /**
105
+ * 禁止重複選擇相同附加屬性
106
+ */
107
+ disableDuplicateSelection?: boolean;
104
108
  }
105
109
  export interface ReorderConfig {
106
110
  id: string;
package/models/store.d.ts CHANGED
@@ -225,6 +225,12 @@ export interface Store {
225
225
  onlineStorePointsName?: string;
226
226
  /** 品牌 */
227
227
  brandNo?: string;
228
+ /** 加入購物車時,是否與相同品相合併 */
229
+ onlineMergeSameItem?: boolean;
230
+ /** 內用服務費 0~100(%) */
231
+ dineInServiceChargePercent?: number;
232
+ /** 外帶服務費 0~100(%) */
233
+ takeoutServiceChargePercent?: number;
228
234
  }
229
235
  export declare enum PointProvider {
230
236
  Posky = "Posky",
@@ -1 +1 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/store.ts"],"names":[],"mappings":";;;AAEA,oCAAmH;AAuPnH,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,kDAAiC,CAAA;AACnC,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/store.ts"],"names":[],"mappings":";;;AAEA,oCAAmH;AA+PnH,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,kDAAiC,CAAA;AACnC,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusted-solutions/sdit.models",
3
- "version": "0.55.0",
3
+ "version": "0.56.0",
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": {