@be-link/cs-cli-nodejs 0.0.149 → 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.
@@ -75,14 +75,22 @@ export declare namespace QueryByItem {
75
75
  };
76
76
  /** 排序条件 */
77
77
  sort?: {
78
- filed: 'createdAt' | 'updatedAt';
79
- order: 'DESC' | 'ASC';
78
+ filed: SortField;
79
+ order: SortOrder;
80
80
  };
81
81
  /** 页码. 从0起始, 默认0 */
82
82
  pageIndex?: number;
83
83
  /** 页目条数. 默认10, 最大20 */
84
84
  pageSize?: number;
85
85
  }
86
+ enum SortField {
87
+ createdAt = "createdAt",
88
+ updatedAt = "updatedAt"
89
+ }
90
+ enum SortOrder {
91
+ ASC = "ASC",
92
+ DESC = "DESC"
93
+ }
86
94
  interface IQueryItemListByTag {
87
95
  /** 标签ID */
88
96
  tagId: string;
@@ -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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/cs-cli-nodejs",
3
- "version": "0.0.149",
3
+ "version": "0.0.151",
4
4
  "description": "商品服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {