@trusted-solutions/sdit.models 0.28.0-alpha.4 → 0.28.0-alpha.7

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.
@@ -1,4 +1,4 @@
1
- import { ProductCategory, Product, ProductAttributeCategory, ProductAttribute, ReorderConfig, ProductProductAttribute } from "./../../models";
1
+ import { ProductCategory, Product, ProductAttributeCategory, ProductAttribute, ReorderConfig, ProductProductAttribute, Table } from "./../../models";
2
2
  import { BlockVersion } from "../../enums/block-storage";
3
3
  import { AttributeIdsInProduct } from "../../models/array-mutations";
4
4
  import { CursorPaginationEnabled, Filterable } from './common';
@@ -85,4 +85,5 @@ export interface OverwriteMenuRequest extends StoreTemplateItemRequest {
85
85
  productCategories: ProductCategory[];
86
86
  productAttributeCategories: ProductAttributeCategory[];
87
87
  productProductAttributeRelations: ProductProductAttribute[];
88
+ tables?: Table[];
88
89
  }
package/models/order.d.ts CHANGED
@@ -58,6 +58,7 @@ export interface BaseOrder {
58
58
  /**
59
59
  * 線上訂單。
60
60
  * 若消費者要打統編,會記錄在這裡
61
+ * @deprecated 一律記在 `onlineBuyer.buyerId`
61
62
  */
62
63
  buyerId?: string;
63
64
  /** 線上訂購人 */
@@ -155,17 +156,11 @@ export interface Order extends BaseOrder {
155
156
  message: string;
156
157
  }[];
157
158
  /**
158
- * 線上訂單。若消費者要打統編,會記錄在這裡
159
+ * 線上訂單。
160
+ * 若消費者要打統編,會記錄在這裡
161
+ * @deprecated 一律記在 `onlineBuyer.buyerId`
159
162
  */
160
163
  buyerId?: string;
161
- /**
162
- * 線上訂單。若消費者要載具,會記錄在這裡
163
- */
164
- mobileCarrierId?: string;
165
- /**
166
- * 線上訂單。若消費者要捐贈,會記錄在這裡
167
- */
168
- loveCode?: string;
169
164
  /** 線上訂購人 */
170
165
  onlineBuyer?: SOEater;
171
166
  /** 線上團購所有人 */
package/models/table.d.ts CHANGED
@@ -17,6 +17,7 @@ export interface MapTable extends BaseTable {
17
17
  x: number;
18
18
  y: number;
19
19
  capacity?: number;
20
+ sort?: number;
20
21
  }
21
22
  export declare enum ServeInputType {
22
23
  AnyString = "AnyString",
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/table.ts"],"names":[],"mappings":";;;AAyBA,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,+BAAa,CAAA;AACjB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
1
+ {"version":3,"file":"table.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/table.ts"],"names":[],"mappings":";;;AA0BA,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,+BAAa,CAAA;AACjB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusted-solutions/sdit.models",
3
- "version": "0.28.0-alpha.4",
3
+ "version": "0.28.0-alpha.7",
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": {