@be-link/cs-cli-nodejs 0.0.149 → 0.0.150
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
|
-
interface IGet<K> {
|
|
9
|
+
export interface IGet<K> {
|
|
10
10
|
itemId: string;
|
|
11
11
|
queryBlocks: K;
|
|
12
12
|
}
|
|
13
|
-
interface IMget<K> {
|
|
13
|
+
export interface IMget<K> {
|
|
14
14
|
itemIds: string[];
|
|
15
15
|
queryBlocks: K;
|
|
16
16
|
}
|
|
17
|
-
interface IPaging {
|
|
17
|
+
export interface IPaging {
|
|
18
18
|
pageIndex?: number;
|
|
19
19
|
pageSize?: number;
|
|
20
20
|
}
|
|
21
21
|
/** web 商品类目视角-查询商品列表 */
|
|
22
|
-
interface IQueryItemListByCategory<K> {
|
|
22
|
+
export 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
|
-
interface QueryCenterForItem {
|
|
35
|
+
export interface QueryCenterForItem {
|
|
36
36
|
/** 搜索条件 */
|
|
37
37
|
condition?: {
|
|
38
38
|
/** 商品维度条件 */
|
|
@@ -75,18 +75,21 @@ export declare namespace QueryByItem {
|
|
|
75
75
|
};
|
|
76
76
|
/** 排序条件 */
|
|
77
77
|
sort?: {
|
|
78
|
-
filed:
|
|
79
|
-
order:
|
|
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
|
-
|
|
86
|
+
type SortField = 'createdAt' | 'updatedAt';
|
|
87
|
+
type SortOrder = 'ASC' | 'DESC';
|
|
88
|
+
export interface IQueryItemListByTag {
|
|
87
89
|
/** 标签ID */
|
|
88
90
|
tagId: string;
|
|
89
91
|
}
|
|
92
|
+
export {};
|
|
90
93
|
}
|
|
91
94
|
namespace Response {
|
|
92
95
|
interface IQueryItemListByTag {
|