@trusted-solutions/sdit.models 0.59.0-alpha.0 → 0.60.0-alpha.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/lambda/request/common.d.ts +3 -0
- package/lambda/request/menu.d.ts +2 -8
- package/models/menu.d.ts +2 -1
- package/models/menu.js +1 -0
- package/models/menu.js.map +1 -1
- package/package.json +1 -1
package/lambda/request/menu.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProductCategory, Product, ProductAttributeCategory, ProductAttribute, ReorderConfig, ProductProductAttribute, Table, ProductProductAttributeCategory } from "./../../models";
|
|
2
2
|
import { BlockVersion } from "../../enums/block-storage";
|
|
3
3
|
import { AttributeIdsInProduct } from "../../models/array-mutations";
|
|
4
|
-
import { CursorPaginationEnabled, Filterable } from './common';
|
|
4
|
+
import { CursorPaginationEnabled, Filterable, Selectable } from './common';
|
|
5
5
|
import { StoreTemplateItemRequest, StoreTemplateItemDeleteRequest } from "./store";
|
|
6
6
|
export interface CreateProductCategoryRequest extends StoreTemplateItemRequest {
|
|
7
7
|
item: ProductCategory;
|
|
@@ -50,7 +50,7 @@ export interface DeleteProductAttributeCategoryRequest extends StoreTemplateItem
|
|
|
50
50
|
export interface CreateProductAttributeRequest extends StoreTemplateItemRequest {
|
|
51
51
|
item: ProductAttribute;
|
|
52
52
|
}
|
|
53
|
-
export interface GetProductAttributesRequest extends CursorPaginationEnabled, Filterable, StoreTemplateItemRequest {
|
|
53
|
+
export interface GetProductAttributesRequest extends CursorPaginationEnabled, Selectable, Filterable, StoreTemplateItemRequest {
|
|
54
54
|
blockVersion?: BlockVersion;
|
|
55
55
|
}
|
|
56
56
|
export interface GetProductAttributesByCategoryIdRequest extends StoreTemplateItemRequest {
|
|
@@ -71,12 +71,6 @@ export interface SoldOutSwitchRequest extends StoreTemplateItemRequest {
|
|
|
71
71
|
}
|
|
72
72
|
export interface GetProductsRequest extends CursorPaginationEnabled, Filterable, StoreTemplateItemRequest {
|
|
73
73
|
blockVersion?: BlockVersion;
|
|
74
|
-
/**
|
|
75
|
-
* default: 1
|
|
76
|
-
* version 1: product.attributeIds 有值
|
|
77
|
-
* version 2: product.attributeCategoryIds 有值
|
|
78
|
-
*/
|
|
79
|
-
version?: number;
|
|
80
74
|
}
|
|
81
75
|
/** storeId or chainId must given */
|
|
82
76
|
export interface SetProductAndProductAttributeRelationRequest extends StoreTemplateItemRequest {
|
package/models/menu.d.ts
CHANGED
package/models/menu.js
CHANGED
|
@@ -8,6 +8,7 @@ var MenuPath;
|
|
|
8
8
|
MenuPath["foodpanda"] = "foodpanda";
|
|
9
9
|
MenuPath["quickClick"] = "quickClick";
|
|
10
10
|
MenuPath["nidin"] = "nidin";
|
|
11
|
+
MenuPath["uberEats"] = "uberEats";
|
|
11
12
|
})(MenuPath = exports.MenuPath || (exports.MenuPath = {}));
|
|
12
13
|
var ProductType;
|
|
13
14
|
(function (ProductType) {
|
package/models/menu.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/menu.ts"],"names":[],"mappings":";;;AAMA,IAAY,
|
|
1
|
+
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/menu.ts"],"names":[],"mappings":";;;AAMA,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,6CAAiC,CAAA;IACjC,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;IACzB,2BAAe,CAAA;IACf,iCAAqB,CAAA;AACvB,CAAC,EAPW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAOnB;AAkCD,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,gCAAiB,CAAA;AACnB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AA2CD,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,kCAAiB,CAAA;AACnB,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.
|
|
3
|
+
"version": "0.60.0-alpha.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": {
|