@be-link/cs-cli-nodejs 0.0.150 → 0.0.151
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.
|
@@ -6,20 +6,20 @@ export declare namespace QueryByItem {
|
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
namespace Request {
|
|
9
|
-
|
|
9
|
+
interface IGet<K> {
|
|
10
10
|
itemId: string;
|
|
11
11
|
queryBlocks: K;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
interface IMget<K> {
|
|
14
14
|
itemIds: string[];
|
|
15
15
|
queryBlocks: K;
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
interface IPaging {
|
|
18
18
|
pageIndex?: number;
|
|
19
19
|
pageSize?: number;
|
|
20
20
|
}
|
|
21
21
|
/** web 商品类目视角-查询商品列表 */
|
|
22
|
-
|
|
22
|
+
interface IQueryItemListByCategory<K> {
|
|
23
23
|
categoryTwoList: CommodityEnums.ItemCategory[];
|
|
24
24
|
conditions: {
|
|
25
25
|
itemId?: string;
|
|
@@ -32,7 +32,7 @@ export declare namespace QueryByItem {
|
|
|
32
32
|
queryBlocks: K;
|
|
33
33
|
paging: IPaging;
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
interface QueryCenterForItem {
|
|
36
36
|
/** 搜索条件 */
|
|
37
37
|
condition?: {
|
|
38
38
|
/** 商品维度条件 */
|
|
@@ -83,13 +83,18 @@ export declare namespace QueryByItem {
|
|
|
83
83
|
/** 页目条数. 默认10, 最大20 */
|
|
84
84
|
pageSize?: number;
|
|
85
85
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
enum SortField {
|
|
87
|
+
createdAt = "createdAt",
|
|
88
|
+
updatedAt = "updatedAt"
|
|
89
|
+
}
|
|
90
|
+
enum SortOrder {
|
|
91
|
+
ASC = "ASC",
|
|
92
|
+
DESC = "DESC"
|
|
93
|
+
}
|
|
94
|
+
interface IQueryItemListByTag {
|
|
89
95
|
/** 标签ID */
|
|
90
96
|
tagId: string;
|
|
91
97
|
}
|
|
92
|
-
export {};
|
|
93
98
|
}
|
|
94
99
|
namespace Response {
|
|
95
100
|
interface IQueryItemListByTag {
|
|
@@ -1,3 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QueryByItem = void 0;
|
|
4
|
+
var QueryByItem;
|
|
5
|
+
(function (QueryByItem) {
|
|
6
|
+
let Request;
|
|
7
|
+
(function (Request) {
|
|
8
|
+
let SortField;
|
|
9
|
+
(function (SortField) {
|
|
10
|
+
SortField["createdAt"] = "createdAt";
|
|
11
|
+
SortField["updatedAt"] = "updatedAt";
|
|
12
|
+
})(SortField = Request.SortField || (Request.SortField = {}));
|
|
13
|
+
let SortOrder;
|
|
14
|
+
(function (SortOrder) {
|
|
15
|
+
SortOrder["ASC"] = "ASC";
|
|
16
|
+
SortOrder["DESC"] = "DESC";
|
|
17
|
+
})(SortOrder = Request.SortOrder || (Request.SortOrder = {}));
|
|
18
|
+
})(Request = QueryByItem.Request || (QueryByItem.Request = {}));
|
|
19
|
+
})(QueryByItem || (exports.QueryByItem = QueryByItem = {}));
|
|
3
20
|
//# sourceMappingURL=type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/type.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/type.ts"],"names":[],"mappings":";;;AAIA,IAAiB,WAAW,CA8L3B;AA9LD,WAAiB,WAAW;IAK1B,IAAiB,OAAO,CAkIvB;IAlID,WAAiB,OAAO;QAoHtB,IAAY,SAGX;QAHD,WAAY,SAAS;YACnB,oCAAuB,CAAA;YACvB,oCAAuB,CAAA;QACzB,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;QACD,IAAY,SAGX;QAHD,WAAY,SAAS;YACnB,wBAAW,CAAA;YACX,0BAAa,CAAA;QACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;IAOH,CAAC,EAlIgB,OAAO,GAAP,mBAAO,KAAP,mBAAO,QAkIvB;AAuDH,CAAC,EA9LgB,WAAW,2BAAX,WAAW,QA8L3B"}
|