@yolo-croket-dev/amqp-access 0.0.62-jun.0 → 0.0.62-jun.1
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/package.json +1 -1
- package/store-item-server/dto/store-item/query/get-legacy-store-items.dto.d.ts +8 -8
- package/store-item-server/dto/store-item/query/get-legacy-store-items.dto.js +49 -49
- package/store-item-server/dto/store-item/query/index.d.ts +1 -0
- package/store-item-server/dto/store-item/query/index.js +1 -0
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { StoreItemLegacyEntity } from '@yolo-croket-dev/entity/src/store-item/store-item-legacy.entity';
|
|
2
|
-
export declare enum
|
|
2
|
+
export declare enum GetLegacyStoreItemsDTypeEnum {
|
|
3
3
|
'직거래' = "\uC9C1\uAC70\uB798",
|
|
4
4
|
'택배' = "\uD0DD\uBC30",
|
|
5
5
|
'전체' = "\uC804\uCCB4"
|
|
6
6
|
}
|
|
7
|
-
export declare enum
|
|
7
|
+
export declare enum GetLegacyStoreItemsSortTypeEnum {
|
|
8
8
|
'최신순' = "\uCD5C\uC2E0\uC21C",
|
|
9
9
|
'인기순' = "\uC778\uAE30\uC21C",
|
|
10
10
|
'만료일순' = "\uB9CC\uB8CC\uC77C\uC21C",
|
|
@@ -15,11 +15,11 @@ export declare enum GetStoreItemLegaciesSortTypeEnum {
|
|
|
15
15
|
'찜많은순' = "\uCC1C\uB9CE\uC740\uC21C",
|
|
16
16
|
'검색어기준' = "\uAC80\uC0C9\uC5B4\uAE30\uC900"
|
|
17
17
|
}
|
|
18
|
-
export declare class
|
|
18
|
+
export declare class LegacyStoreItemCategoty {
|
|
19
19
|
mainCategory: string;
|
|
20
20
|
subCategory?: string;
|
|
21
21
|
}
|
|
22
|
-
export declare class
|
|
22
|
+
export declare class GetLegacyStoreItemsPayload {
|
|
23
23
|
/** 다음 페이징 토큰 */
|
|
24
24
|
searchAfter?: string;
|
|
25
25
|
/** 이전 페이징 토큰 */
|
|
@@ -29,17 +29,17 @@ export declare class GetStoreItemLegaciesPayload {
|
|
|
29
29
|
/** 상품 수 */
|
|
30
30
|
limit: number;
|
|
31
31
|
/** 정렬 방법 */
|
|
32
|
-
sortType:
|
|
32
|
+
sortType: GetLegacyStoreItemsSortTypeEnum;
|
|
33
33
|
/** 솔드아웃도 보여줘? */
|
|
34
34
|
viewSoldOut: boolean;
|
|
35
35
|
/** 스토어 아이디 */
|
|
36
36
|
storeId?: string;
|
|
37
37
|
/** 검색 카테고리 리스트 */
|
|
38
|
-
categoryList?:
|
|
38
|
+
categoryList?: LegacyStoreItemCategoty[];
|
|
39
39
|
/** 검색 나라 리스트 */
|
|
40
40
|
nationList?: string[];
|
|
41
41
|
/** 배송 방법 */
|
|
42
|
-
DType?:
|
|
42
|
+
DType?: GetLegacyStoreItemsDTypeEnum;
|
|
43
43
|
/** 검색어 */
|
|
44
44
|
inputText?: string;
|
|
45
45
|
/** 검색 키워드로 검색한 상품 리스트인가 */
|
|
@@ -61,7 +61,7 @@ export declare class GetStoreItemLegaciesPayload {
|
|
|
61
61
|
isAllItemNameInclude?: boolean;
|
|
62
62
|
isExistsMaxDiscountCoupon?: boolean;
|
|
63
63
|
}
|
|
64
|
-
export interface
|
|
64
|
+
export interface GetLegacyStoreItemsResult {
|
|
65
65
|
maxPage: number;
|
|
66
66
|
storeItemNums: number;
|
|
67
67
|
storeItemList: StoreItemLegacyEntity[];
|
|
@@ -9,93 +9,93 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.GetLegacyStoreItemsPayload = exports.LegacyStoreItemCategoty = exports.GetLegacyStoreItemsSortTypeEnum = exports.GetLegacyStoreItemsDTypeEnum = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
var
|
|
16
|
-
(function (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})(
|
|
21
|
-
var
|
|
22
|
-
(function (
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
})(
|
|
33
|
-
class
|
|
15
|
+
var GetLegacyStoreItemsDTypeEnum;
|
|
16
|
+
(function (GetLegacyStoreItemsDTypeEnum) {
|
|
17
|
+
GetLegacyStoreItemsDTypeEnum["\uC9C1\uAC70\uB798"] = "\uC9C1\uAC70\uB798";
|
|
18
|
+
GetLegacyStoreItemsDTypeEnum["\uD0DD\uBC30"] = "\uD0DD\uBC30";
|
|
19
|
+
GetLegacyStoreItemsDTypeEnum["\uC804\uCCB4"] = "\uC804\uCCB4";
|
|
20
|
+
})(GetLegacyStoreItemsDTypeEnum || (exports.GetLegacyStoreItemsDTypeEnum = GetLegacyStoreItemsDTypeEnum = {}));
|
|
21
|
+
var GetLegacyStoreItemsSortTypeEnum;
|
|
22
|
+
(function (GetLegacyStoreItemsSortTypeEnum) {
|
|
23
|
+
GetLegacyStoreItemsSortTypeEnum["\uCD5C\uC2E0\uC21C"] = "\uCD5C\uC2E0\uC21C";
|
|
24
|
+
GetLegacyStoreItemsSortTypeEnum["\uC778\uAE30\uC21C"] = "\uC778\uAE30\uC21C";
|
|
25
|
+
GetLegacyStoreItemsSortTypeEnum["\uB9CC\uB8CC\uC77C\uC21C"] = "\uB9CC\uB8CC\uC77C\uC21C";
|
|
26
|
+
GetLegacyStoreItemsSortTypeEnum["\uAC70\uB798\uC608\uC815\uC77C\uC21C"] = "\uAC70\uB798\uC608\uC815\uC77C\uC21C";
|
|
27
|
+
GetLegacyStoreItemsSortTypeEnum["\uAC00\uACA9\uB0AE\uC740\uC21C"] = "\uAC00\uACA9\uB0AE\uC740\uC21C";
|
|
28
|
+
GetLegacyStoreItemsSortTypeEnum["\uB9AC\uBDF0\uB9CE\uC740\uC21C"] = "\uB9AC\uBDF0\uB9CE\uC740\uC21C";
|
|
29
|
+
GetLegacyStoreItemsSortTypeEnum["\uAD6C\uB9E4\uB9CE\uC740\uC21C"] = "\uAD6C\uB9E4\uB9CE\uC740\uC21C";
|
|
30
|
+
GetLegacyStoreItemsSortTypeEnum["\uCC1C\uB9CE\uC740\uC21C"] = "\uCC1C\uB9CE\uC740\uC21C";
|
|
31
|
+
GetLegacyStoreItemsSortTypeEnum["\uAC80\uC0C9\uC5B4\uAE30\uC900"] = "\uAC80\uC0C9\uC5B4\uAE30\uC900";
|
|
32
|
+
})(GetLegacyStoreItemsSortTypeEnum || (exports.GetLegacyStoreItemsSortTypeEnum = GetLegacyStoreItemsSortTypeEnum = {}));
|
|
33
|
+
class LegacyStoreItemCategoty {
|
|
34
34
|
}
|
|
35
|
-
exports.
|
|
35
|
+
exports.LegacyStoreItemCategoty = LegacyStoreItemCategoty;
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, class_validator_1.IsString)(),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
|
-
],
|
|
39
|
+
], LegacyStoreItemCategoty.prototype, "mainCategory", void 0);
|
|
40
40
|
__decorate([
|
|
41
41
|
(0, class_validator_1.IsString)(),
|
|
42
42
|
(0, class_validator_1.IsOptional)(),
|
|
43
43
|
__metadata("design:type", String)
|
|
44
|
-
],
|
|
45
|
-
class
|
|
44
|
+
], LegacyStoreItemCategoty.prototype, "subCategory", void 0);
|
|
45
|
+
class GetLegacyStoreItemsPayload {
|
|
46
46
|
}
|
|
47
|
-
exports.
|
|
47
|
+
exports.GetLegacyStoreItemsPayload = GetLegacyStoreItemsPayload;
|
|
48
48
|
__decorate([
|
|
49
49
|
(0, class_validator_1.IsString)(),
|
|
50
50
|
(0, class_validator_1.IsOptional)(),
|
|
51
51
|
__metadata("design:type", String)
|
|
52
|
-
],
|
|
52
|
+
], GetLegacyStoreItemsPayload.prototype, "searchAfter", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, class_validator_1.IsString)(),
|
|
55
55
|
(0, class_validator_1.IsOptional)(),
|
|
56
56
|
__metadata("design:type", String)
|
|
57
|
-
],
|
|
57
|
+
], GetLegacyStoreItemsPayload.prototype, "searchBefore", void 0);
|
|
58
58
|
__decorate([
|
|
59
59
|
(0, class_validator_1.IsNumber)()
|
|
60
60
|
/** 페이지 */
|
|
61
61
|
,
|
|
62
62
|
__metadata("design:type", Number)
|
|
63
|
-
],
|
|
63
|
+
], GetLegacyStoreItemsPayload.prototype, "page", void 0);
|
|
64
64
|
__decorate([
|
|
65
65
|
(0, class_validator_1.IsNumber)()
|
|
66
66
|
/** 상품 수 */
|
|
67
67
|
,
|
|
68
68
|
__metadata("design:type", Number)
|
|
69
|
-
],
|
|
69
|
+
], GetLegacyStoreItemsPayload.prototype, "limit", void 0);
|
|
70
70
|
__decorate([
|
|
71
71
|
(0, class_validator_1.IsString)(),
|
|
72
|
-
(0, class_validator_1.IsEnum)(
|
|
72
|
+
(0, class_validator_1.IsEnum)(GetLegacyStoreItemsSortTypeEnum)
|
|
73
73
|
/** 정렬 방법 */
|
|
74
74
|
,
|
|
75
75
|
__metadata("design:type", String)
|
|
76
|
-
],
|
|
76
|
+
], GetLegacyStoreItemsPayload.prototype, "sortType", void 0);
|
|
77
77
|
__decorate([
|
|
78
78
|
(0, class_validator_1.IsBoolean)()
|
|
79
79
|
/** 솔드아웃도 보여줘? */
|
|
80
80
|
,
|
|
81
81
|
__metadata("design:type", Boolean)
|
|
82
|
-
],
|
|
82
|
+
], GetLegacyStoreItemsPayload.prototype, "viewSoldOut", void 0);
|
|
83
83
|
__decorate([
|
|
84
84
|
(0, class_validator_1.IsMongoId)(),
|
|
85
85
|
(0, class_validator_1.IsOptional)()
|
|
86
86
|
/** 스토어 아이디 */
|
|
87
87
|
,
|
|
88
88
|
__metadata("design:type", String)
|
|
89
|
-
],
|
|
89
|
+
], GetLegacyStoreItemsPayload.prototype, "storeId", void 0);
|
|
90
90
|
__decorate([
|
|
91
91
|
(0, class_validator_1.IsArray)(),
|
|
92
92
|
(0, class_validator_1.IsOptional)(),
|
|
93
93
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
94
|
-
(0, class_transformer_1.Type)(() =>
|
|
94
|
+
(0, class_transformer_1.Type)(() => LegacyStoreItemCategoty)
|
|
95
95
|
/** 검색 카테고리 리스트 */
|
|
96
96
|
,
|
|
97
97
|
__metadata("design:type", Array)
|
|
98
|
-
],
|
|
98
|
+
], GetLegacyStoreItemsPayload.prototype, "categoryList", void 0);
|
|
99
99
|
__decorate([
|
|
100
100
|
(0, class_validator_1.IsOptional)(),
|
|
101
101
|
(0, class_validator_1.IsArray)(),
|
|
@@ -103,78 +103,78 @@ __decorate([
|
|
|
103
103
|
/** 검색 나라 리스트 */
|
|
104
104
|
,
|
|
105
105
|
__metadata("design:type", Array)
|
|
106
|
-
],
|
|
106
|
+
], GetLegacyStoreItemsPayload.prototype, "nationList", void 0);
|
|
107
107
|
__decorate([
|
|
108
108
|
(0, class_validator_1.IsString)(),
|
|
109
109
|
(0, class_validator_1.IsOptional)(),
|
|
110
|
-
(0, class_validator_1.IsEnum)(
|
|
110
|
+
(0, class_validator_1.IsEnum)(GetLegacyStoreItemsDTypeEnum)
|
|
111
111
|
/** 배송 방법 */
|
|
112
112
|
,
|
|
113
113
|
__metadata("design:type", String)
|
|
114
|
-
],
|
|
114
|
+
], GetLegacyStoreItemsPayload.prototype, "DType", void 0);
|
|
115
115
|
__decorate([
|
|
116
116
|
(0, class_validator_1.IsString)(),
|
|
117
117
|
(0, class_validator_1.IsOptional)()
|
|
118
118
|
/** 검색어 */
|
|
119
119
|
,
|
|
120
120
|
__metadata("design:type", String)
|
|
121
|
-
],
|
|
121
|
+
], GetLegacyStoreItemsPayload.prototype, "inputText", void 0);
|
|
122
122
|
__decorate([
|
|
123
123
|
(0, class_validator_1.IsString)(),
|
|
124
124
|
(0, class_validator_1.IsOptional)()
|
|
125
125
|
/** 검색 키워드로 검색한 상품 리스트인가 */
|
|
126
126
|
,
|
|
127
127
|
__metadata("design:type", String)
|
|
128
|
-
],
|
|
128
|
+
], GetLegacyStoreItemsPayload.prototype, "searchKeywordId", void 0);
|
|
129
129
|
__decorate([
|
|
130
130
|
(0, class_validator_1.IsOptional)(),
|
|
131
131
|
(0, class_validator_1.IsNumber)()
|
|
132
132
|
/** 최소 가격 */
|
|
133
133
|
,
|
|
134
134
|
__metadata("design:type", Number)
|
|
135
|
-
],
|
|
135
|
+
], GetLegacyStoreItemsPayload.prototype, "minPrice", void 0);
|
|
136
136
|
__decorate([
|
|
137
137
|
(0, class_validator_1.IsOptional)(),
|
|
138
138
|
(0, class_validator_1.IsNumber)()
|
|
139
139
|
/** 최대 가격 */
|
|
140
140
|
,
|
|
141
141
|
__metadata("design:type", Number)
|
|
142
|
-
],
|
|
142
|
+
], GetLegacyStoreItemsPayload.prototype, "maxPrice", void 0);
|
|
143
143
|
__decorate([
|
|
144
144
|
(0, class_validator_1.IsBoolean)(),
|
|
145
145
|
(0, class_validator_1.IsOptional)()
|
|
146
146
|
/** 상품 가격 배송비 포함하여 검색할것인가 */
|
|
147
147
|
,
|
|
148
148
|
__metadata("design:type", Boolean)
|
|
149
|
-
],
|
|
149
|
+
], GetLegacyStoreItemsPayload.prototype, "isItemPriceWithShippingFee", void 0);
|
|
150
150
|
__decorate([
|
|
151
151
|
(0, class_validator_1.IsArray)(),
|
|
152
152
|
(0, class_validator_1.IsString)({ each: true }),
|
|
153
153
|
(0, class_validator_1.IsOptional)(),
|
|
154
154
|
__metadata("design:type", Array)
|
|
155
|
-
],
|
|
155
|
+
], GetLegacyStoreItemsPayload.prototype, "exceptItemIds", void 0);
|
|
156
156
|
__decorate([
|
|
157
157
|
(0, class_validator_1.IsMongoId)(),
|
|
158
158
|
(0, class_validator_1.IsOptional)(),
|
|
159
159
|
__metadata("design:type", String)
|
|
160
|
-
],
|
|
160
|
+
], GetLegacyStoreItemsPayload.prototype, "selectionFrameDataId", void 0);
|
|
161
161
|
__decorate([
|
|
162
162
|
(0, class_validator_1.IsBoolean)(),
|
|
163
163
|
(0, class_validator_1.IsOptional)(),
|
|
164
164
|
__metadata("design:type", Boolean)
|
|
165
|
-
],
|
|
165
|
+
], GetLegacyStoreItemsPayload.prototype, "isPick", void 0);
|
|
166
166
|
__decorate([
|
|
167
167
|
(0, class_validator_1.IsBoolean)(),
|
|
168
168
|
(0, class_validator_1.IsOptional)(),
|
|
169
169
|
__metadata("design:type", Boolean)
|
|
170
|
-
],
|
|
170
|
+
], GetLegacyStoreItemsPayload.prototype, "isShippingFeeFree", void 0);
|
|
171
171
|
__decorate([
|
|
172
172
|
(0, class_validator_1.IsBoolean)(),
|
|
173
173
|
(0, class_validator_1.IsOptional)(),
|
|
174
174
|
__metadata("design:type", Boolean)
|
|
175
|
-
],
|
|
175
|
+
], GetLegacyStoreItemsPayload.prototype, "isAllItemNameInclude", void 0);
|
|
176
176
|
__decorate([
|
|
177
177
|
(0, class_validator_1.IsBoolean)(),
|
|
178
178
|
(0, class_validator_1.IsOptional)(),
|
|
179
179
|
__metadata("design:type", Boolean)
|
|
180
|
-
],
|
|
180
|
+
], GetLegacyStoreItemsPayload.prototype, "isExistsMaxDiscountCoupon", void 0);
|
|
@@ -18,3 +18,4 @@ __exportStar(require("./get-store-item-legacies.dto"), exports);
|
|
|
18
18
|
__exportStar(require("./get-selling-item-ids-by-store-id.dto"), exports);
|
|
19
19
|
__exportStar(require("./search-selling-store-items.dto"), exports);
|
|
20
20
|
__exportStar(require("./for-es"), exports);
|
|
21
|
+
__exportStar(require("./get-legacy-store-items.dto"), exports);
|