@trusted-solutions/sdit.models 0.18.0-alpha.12 → 0.18.0-alpha.13

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.
@@ -63,8 +63,8 @@ export interface SOGetStoreInfoResponse {
63
63
  buyerIdInputHidden: boolean;
64
64
  /**
65
65
  * 線上店到untilOpen之後可接單
66
- * 設Infinity為不休息
67
- * @Default Infinity
66
+ * 設Infinity為永久停業
67
+ * @Default null
68
68
  */
69
69
  untilOpen: number;
70
70
  /**
package/models/store.d.ts CHANGED
@@ -130,11 +130,11 @@ export interface Store {
130
130
  */
131
131
  onlineBuyerIdInputHidden?: boolean;
132
132
  /**
133
- * @readonly
134
- * 線上店是否營業中可接單
133
+ * 暫時停止營業直到onlineUntilOpen (時間戳記)
134
+ * 設Infinity為永久停業; null的話,看openingHours判斷是否營業中
135
135
  * 使用 lambda func `realTimeSwitch` 來更新此 property
136
136
  */
137
- onlineIsOpen?: boolean;
137
+ onlineUntilOpen?: number;
138
138
  /**
139
139
  * 是否使用線上點餐
140
140
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusted-solutions/sdit.models",
3
- "version": "0.18.0-alpha.12",
3
+ "version": "0.18.0-alpha.13",
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": {