@be-link/cs-cli-nodejs 0.0.150 → 0.0.152

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.
@@ -83,7 +83,7 @@ export declare namespace ManageByItemCombo {
83
83
  memberPriceLimitCnt?: number | null;
84
84
  singleRoomPrice?: number | null;
85
85
  singleRoomSettlementPrice?: number | null;
86
- saleEndTime?: number;
86
+ saleEndTime?: number | string;
87
87
  };
88
88
  }
89
89
  }
@@ -1,25 +1,33 @@
1
1
  import * as CommodityEnums from 'vitality-meta/enums/commodity';
2
2
  import * as GDto from '../../../../types';
3
+ export declare enum SortField {
4
+ createdAt = "createdAt",
5
+ updatedAt = "updatedAt"
6
+ }
7
+ export declare enum SortOrder {
8
+ ASC = "ASC",
9
+ DESC = "DESC"
10
+ }
3
11
  export declare namespace QueryByItem {
4
12
  namespace DTO {
5
13
  interface ItemBasicInfo {
6
14
  }
7
15
  }
8
16
  namespace Request {
9
- export interface IGet<K> {
17
+ interface IGet<K> {
10
18
  itemId: string;
11
19
  queryBlocks: K;
12
20
  }
13
- export interface IMget<K> {
21
+ interface IMget<K> {
14
22
  itemIds: string[];
15
23
  queryBlocks: K;
16
24
  }
17
- export interface IPaging {
25
+ interface IPaging {
18
26
  pageIndex?: number;
19
27
  pageSize?: number;
20
28
  }
21
29
  /** web 商品类目视角-查询商品列表 */
22
- export interface IQueryItemListByCategory<K> {
30
+ interface IQueryItemListByCategory<K> {
23
31
  categoryTwoList: CommodityEnums.ItemCategory[];
24
32
  conditions: {
25
33
  itemId?: string;
@@ -32,7 +40,7 @@ export declare namespace QueryByItem {
32
40
  queryBlocks: K;
33
41
  paging: IPaging;
34
42
  }
35
- export interface QueryCenterForItem {
43
+ interface QueryCenterForItem {
36
44
  /** 搜索条件 */
37
45
  condition?: {
38
46
  /** 商品维度条件 */
@@ -83,13 +91,10 @@ export declare namespace QueryByItem {
83
91
  /** 页目条数. 默认10, 最大20 */
84
92
  pageSize?: number;
85
93
  }
86
- type SortField = 'createdAt' | 'updatedAt';
87
- type SortOrder = 'ASC' | 'DESC';
88
- export interface IQueryItemListByTag {
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,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SortOrder = exports.SortField = void 0;
4
+ var SortField;
5
+ (function (SortField) {
6
+ SortField["createdAt"] = "createdAt";
7
+ SortField["updatedAt"] = "updatedAt";
8
+ })(SortField || (exports.SortField = SortField = {}));
9
+ var SortOrder;
10
+ (function (SortOrder) {
11
+ SortOrder["ASC"] = "ASC";
12
+ SortOrder["DESC"] = "DESC";
13
+ })(SortOrder || (exports.SortOrder = SortOrder = {}));
3
14
  //# 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":";;;AAGA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,oCAAuB,CAAA;AACzB,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AACD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/cs-cli-nodejs",
3
- "version": "0.0.150",
3
+ "version": "0.0.152",
4
4
  "description": "商品服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {