@yolo-croket-dev/amqp-access 0.0.69 → 0.0.70-jun.0
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/elastic-service/services/amqp.es-store-item.service.d.ts +18 -0
- package/elastic-service/services/amqp.es-store-item.service.js +60 -0
- package/package.json +1 -1
- package/selection-server/dto/index.d.ts +1 -0
- package/selection-server/dto/index.js +1 -0
- package/selection-server/dto/selection-frame-data/index.d.ts +1 -0
- package/selection-server/dto/selection-frame-data/index.js +17 -0
- package/selection-server/dto/selection-frame-data/query/index.d.ts +1 -0
- package/selection-server/dto/selection-frame-data/query/index.js +17 -0
- package/selection-server/dto/selection-frame-data/query/search-complete-selection-frame-datas.dto.d.ts +7 -0
- package/selection-server/dto/selection-frame-data/query/search-complete-selection-frame-datas.dto.js +23 -0
- package/selection-server/services/amqp.selection-frame-data.service.d.ts +2 -0
- package/selection-server/services/amqp.selection-frame-data.service.js +3 -0
- package/store-item-server/dto/store-item/query/{get-legacy-store-items-by-atlas-search.dto.d.ts → atlas-search/get-legacy-store-items-by-atlas-search.dto.d.ts} +14 -3
- package/store-item-server/dto/store-item/query/{get-legacy-store-items-by-atlas-search.dto.js → atlas-search/get-legacy-store-items-by-atlas-search.dto.js} +63 -8
- package/store-item-server/dto/store-item/query/atlas-search/index.d.ts +1 -0
- package/store-item-server/dto/store-item/query/atlas-search/index.js +17 -0
- package/store-item-server/dto/store-item/query/index.d.ts +1 -1
- package/store-item-server/dto/store-item/query/index.js +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { ESStoreItemSearchDataPayload, ESStoreItemSearchDataResult, ESStoreItemCountGroupPayloadDto, ESStoreItemCountGroupResultDto, ESStoreItemRandomSearchDataPayload, ESStoreItemRandomSearchDataResult, ESStoreItemDeleteDataPayloadDto, ESStoreItemDeleteDataResultDto, ESStoreItemUpdateDataByItemNamePayloadDto, ESStoreItemUpdateDataByItemNameResultDto, ESStoreItemCreateDataPayload, ESStoreItemCreateDataResult, ESStoreItemUpdateDataPayload, ESStoreItemUpdateDataResult, ESStoreItemCreateAndUpdateDataBulkPayload } from '../dto/es-store-item-v1';
|
|
4
|
+
export declare class AmqpEsStoreItemV2Service {
|
|
5
|
+
private readonly client;
|
|
6
|
+
private readonly amqpManager;
|
|
7
|
+
constructor(client: ClientProxy);
|
|
8
|
+
refreshIndex(payload: void, param: AbstractParam): Promise<void>;
|
|
9
|
+
refreshAllDataOnlyPublish(payload: void, param: AbstractParam): Promise<void>;
|
|
10
|
+
searchData(payload: ESStoreItemSearchDataPayload, param: AbstractParam): Promise<ESStoreItemSearchDataResult>;
|
|
11
|
+
countGroup(payload: ESStoreItemCountGroupPayloadDto, param: AbstractParam): Promise<ESStoreItemCountGroupResultDto>;
|
|
12
|
+
createData(payload: ESStoreItemCreateDataPayload, param: AbstractParam): Promise<ESStoreItemCreateDataResult>;
|
|
13
|
+
createAndUpdateBulk(payload: ESStoreItemCreateAndUpdateDataBulkPayload, param: AbstractParam): Promise<void>;
|
|
14
|
+
deleteData(payload: ESStoreItemDeleteDataPayloadDto, param: AbstractParam): Promise<ESStoreItemDeleteDataResultDto>;
|
|
15
|
+
updateData(payload: ESStoreItemUpdateDataPayload, param: AbstractParam): Promise<ESStoreItemUpdateDataResult>;
|
|
16
|
+
updateDataByItemName(payload: ESStoreItemUpdateDataByItemNamePayloadDto, param: AbstractParam): Promise<ESStoreItemUpdateDataByItemNameResultDto>;
|
|
17
|
+
searchRandomData(payload: ESStoreItemRandomSearchDataPayload, param: AbstractParam): Promise<ESStoreItemRandomSearchDataResult>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AmqpEsStoreItemV2Service = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
18
|
+
const functions_1 = require("@yolo-croket-dev/core/functions");
|
|
19
|
+
let AmqpEsStoreItemV2Service = class AmqpEsStoreItemV2Service {
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
+
}
|
|
24
|
+
async refreshIndex(payload, param) {
|
|
25
|
+
return this.amqpManager.call('es store item v1 index 갱신', 'ES_STORE_ITEM_REFRESH_INDEX', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
async refreshAllDataOnlyPublish(payload, param) {
|
|
28
|
+
this.amqpManager.onlyPublish('es store item v1 전체 데이터 갱신', 'ES_STORE_ITEM_REFRESH_DATA_SUCCESS', payload, param);
|
|
29
|
+
}
|
|
30
|
+
async searchData(payload, param) {
|
|
31
|
+
return this.amqpManager.call('es store item v1 상품 검색', 'ES_STORE_ITEM_SEARCH_DATA', payload, param, { isErrorThrowing: true });
|
|
32
|
+
}
|
|
33
|
+
async countGroup(payload, param) {
|
|
34
|
+
return this.amqpManager.call('es store item v1 상품 개수 group 검색', 'ES_STORE_ITEM_COUNT_GROUP', payload, param, { isErrorThrowing: true });
|
|
35
|
+
}
|
|
36
|
+
async createData(payload, param) {
|
|
37
|
+
return this.amqpManager.call('es store item v1 상품 생성', 'ES_STORE_ITEM_CREATE_DATA', payload, param, { isErrorThrowing: true });
|
|
38
|
+
}
|
|
39
|
+
async createAndUpdateBulk(payload, param) {
|
|
40
|
+
return this.amqpManager.call('es store item v1 데이터 대량 업데이트', 'ES_STORE_ITEM_CREATE_AND_UPDATE_BULK', payload, param, { isErrorThrowing: true });
|
|
41
|
+
}
|
|
42
|
+
async deleteData(payload, param) {
|
|
43
|
+
return this.amqpManager.call('es store item v1 데이터 삭제', 'ES_STORE_ITEM_DELETE_DATA', payload, param, { isErrorThrowing: true });
|
|
44
|
+
}
|
|
45
|
+
async updateData(payload, param) {
|
|
46
|
+
return this.amqpManager.call('es store item v1 데이터 업데이트', 'ES_STORE_ITEM_UPDATE_DATA', payload, param, { isErrorThrowing: true });
|
|
47
|
+
}
|
|
48
|
+
async updateDataByItemName(payload, param) {
|
|
49
|
+
return this.amqpManager.call('es store item v1 상품명으로 부터 데이터 업데이트', 'ES_STORE_ITEM_UPDATE_DATA_BY_ITEM_NAME', payload, param, { isErrorThrowing: true });
|
|
50
|
+
}
|
|
51
|
+
async searchRandomData(payload, param) {
|
|
52
|
+
return this.amqpManager.call('es store item v1 랜덤 검색', 'ES_STORE_ITEM_RANDOM_SEARCH_DATA', payload, param, { isErrorThrowing: true });
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
exports.AmqpEsStoreItemV2Service = AmqpEsStoreItemV2Service;
|
|
56
|
+
exports.AmqpEsStoreItemV2Service = AmqpEsStoreItemV2Service = __decorate([
|
|
57
|
+
(0, common_1.Injectable)(),
|
|
58
|
+
__param(0, (0, common_1.Inject)('ELASTIC_SERVICE_PROVIDER')),
|
|
59
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
60
|
+
], AmqpEsStoreItemV2Service);
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './query';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./query"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './search-complete-selection-frame-datas.dto';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./search-complete-selection-frame-datas.dto"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SelectionFrameDataEntity } from '@yolo-croket-dev/entity-v2';
|
|
2
|
+
export declare class SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload {
|
|
3
|
+
targetSelectionDataId: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class SearchAllSelectionFrameDatasByTargetSelectionDataIdResult {
|
|
6
|
+
selectionFrameDatas: SelectionFrameDataEntity[];
|
|
7
|
+
}
|
package/selection-server/dto/selection-frame-data/query/search-complete-selection-frame-datas.dto.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SearchAllSelectionFrameDatasByTargetSelectionDataIdResult = exports.SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload = SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload.prototype, "targetSelectionDataId", void 0);
|
|
21
|
+
class SearchAllSelectionFrameDatasByTargetSelectionDataIdResult {
|
|
22
|
+
}
|
|
23
|
+
exports.SearchAllSelectionFrameDatasByTargetSelectionDataIdResult = SearchAllSelectionFrameDatasByTargetSelectionDataIdResult;
|
|
@@ -4,6 +4,7 @@ import { AbstractParam } from '@yolo-croket-dev/core';
|
|
|
4
4
|
import { CreateSelectionFrameDataPayload, CreateSelectionFrameDataResult, SearchSelectionFrameChildDatasPayload, SearchSelectionFrameChildDatasResult, SearchSelectionFrameLargeDatasResult, UpdateSelectionFrameDataPayload, UpdateSelectionFrameDataResult, UpdateSelectionFrameChildDataSortPayload, GetSelectionFrameDataForEsPayload, GetSelectionFrameDataForEsResult, SearchSelectionFrameDatasForSortEditResult, SearchSelectionFrameDatasForSortEditPayload, UpdateSelectionFrameLargeDataSortPayload, GetSelectionFrameDataIdsByIdsPayload, GetSelectionFrameDataIdsByIdsResult, SearchSelectionFrameLargeDatasByStoreItemIdPayload, SearchSelectionFrameLargeDatasByStoreItemIdResult, GetSelectionFrameDatasForEsPayload, GetSelectionFrameDatasForEsResult, SearchSelectionFrameChildIsPickDatasPayload, SearchSelectionFrameChildIsPickDatasResult, GetSelectionFrameDataByIdPayload } from '@yolo-croket-dev/dto-v2/user-service/selection-frame-data';
|
|
5
5
|
import { SelectionFrameDataEntity } from '@yolo-croket-dev/entity-v2';
|
|
6
6
|
import { GetSelectionFrameAllDatasForEsPayload, GetSelectionFrameAllDatasForEsResult } from '@yolo-croket-dev/dto-v2/selection-server';
|
|
7
|
+
import { SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload, SearchAllSelectionFrameDatasByTargetSelectionDataIdResult } from '../dto';
|
|
7
8
|
export declare class AmqpSelectionFrameDataService {
|
|
8
9
|
private readonly client;
|
|
9
10
|
private readonly amqpManager;
|
|
@@ -22,4 +23,5 @@ export declare class AmqpSelectionFrameDataService {
|
|
|
22
23
|
getSelectionFrameDatasForEs(payload: GetSelectionFrameDatasForEsPayload, param: AbstractParam): Promise<GetSelectionFrameDatasForEsResult>;
|
|
23
24
|
searchSelectionFrameChildIsPickDatas(payload: SearchSelectionFrameChildIsPickDatasPayload, param: AbstractParam): Promise<SearchSelectionFrameChildIsPickDatasResult>;
|
|
24
25
|
getSelectionFrameDataById(payload: GetSelectionFrameDataByIdPayload, param: AbstractParam): Promise<SelectionFrameDataEntity>;
|
|
26
|
+
searchAllSelectionFrameDatasByTargetSelectionDataId(payload: SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload, param: AbstractParam): Promise<SearchAllSelectionFrameDatasByTargetSelectionDataIdResult>;
|
|
25
27
|
}
|
|
@@ -65,6 +65,9 @@ let AmqpSelectionFrameDataService = class AmqpSelectionFrameDataService {
|
|
|
65
65
|
async getSelectionFrameDataById(payload, param) {
|
|
66
66
|
return this.amqpManager.call('isPick 연결 상품이 있는 셀렉션 프레임 자식 데이터 리스트 조회', 'selection-frame-data.get', payload, param, { isErrorThrowing: true });
|
|
67
67
|
}
|
|
68
|
+
async searchAllSelectionFrameDatasByTargetSelectionDataId(payload, param) {
|
|
69
|
+
return this.amqpManager.call('셀렉션 관 전체 조회를 위해, targetSelectionDataId와 연관 있는 셀렉션 프레임 데이터 전체 조회', 'selection-frame-data.get.all-datas-by-target-selection-data-id', payload, param, { isErrorThrowing: true });
|
|
70
|
+
}
|
|
68
71
|
};
|
|
69
72
|
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService;
|
|
70
73
|
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService = __decorate([
|
|
@@ -15,7 +15,7 @@ export declare enum GetLegacyStoreItemsSortTypeEnum {
|
|
|
15
15
|
'찜많은순' = "\uCC1C\uB9CE\uC740\uC21C",
|
|
16
16
|
'검색어기준' = "\uAC80\uC0C9\uC5B4\uAE30\uC900"
|
|
17
17
|
}
|
|
18
|
-
export declare class
|
|
18
|
+
export declare class GetLegacyCategoryInfo {
|
|
19
19
|
mainCategory: string;
|
|
20
20
|
subCategory?: string;
|
|
21
21
|
}
|
|
@@ -33,11 +33,11 @@ export declare class GetLegacyStoreItemsByAtlasSearchPayload {
|
|
|
33
33
|
/** 정렬 방법 */
|
|
34
34
|
sortType: GetLegacyStoreItemsSortTypeEnum;
|
|
35
35
|
/** 솔드아웃도 보여줘? */
|
|
36
|
-
|
|
36
|
+
isViewSoldOut?: boolean;
|
|
37
37
|
/** 스토어 아이디 */
|
|
38
38
|
storeId?: string;
|
|
39
39
|
/** 검색 카테고리 리스트 */
|
|
40
|
-
|
|
40
|
+
categoryInfos?: GetLegacyCategoryInfo[];
|
|
41
41
|
/** 검색 나라 리스트 */
|
|
42
42
|
nationList?: string[];
|
|
43
43
|
/** 배송 방법 */
|
|
@@ -62,6 +62,17 @@ export declare class GetLegacyStoreItemsByAtlasSearchPayload {
|
|
|
62
62
|
/** 전체 상품명 검색 포함할지 여부 */
|
|
63
63
|
isAllItemNameInclude?: boolean;
|
|
64
64
|
isExistsMaxDiscountCoupon?: boolean;
|
|
65
|
+
itemNames?: string[];
|
|
66
|
+
deliveryType?: string;
|
|
67
|
+
isSticker?: boolean;
|
|
68
|
+
minBookNums?: number;
|
|
69
|
+
selectionFrameIds?: string[];
|
|
70
|
+
isSelectionItemConnect?: boolean;
|
|
71
|
+
isAbroadShipping?: boolean;
|
|
72
|
+
isBundleShipping?: boolean;
|
|
73
|
+
bundleShippingFee?: number;
|
|
74
|
+
isPrepay?: boolean;
|
|
75
|
+
prepayPrice?: number;
|
|
65
76
|
}
|
|
66
77
|
export interface GetLegacyStoreItemsByAtlasSearchResult {
|
|
67
78
|
maxPage: number;
|
|
@@ -9,7 +9,7 @@ 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.GetLegacyStoreItemsByAtlasSearchPayload = exports.
|
|
12
|
+
exports.GetLegacyStoreItemsByAtlasSearchPayload = exports.GetLegacyCategoryInfo = 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
15
|
var GetLegacyStoreItemsDTypeEnum;
|
|
@@ -30,18 +30,18 @@ var GetLegacyStoreItemsSortTypeEnum;
|
|
|
30
30
|
GetLegacyStoreItemsSortTypeEnum["\uCC1C\uB9CE\uC740\uC21C"] = "\uCC1C\uB9CE\uC740\uC21C";
|
|
31
31
|
GetLegacyStoreItemsSortTypeEnum["\uAC80\uC0C9\uC5B4\uAE30\uC900"] = "\uAC80\uC0C9\uC5B4\uAE30\uC900";
|
|
32
32
|
})(GetLegacyStoreItemsSortTypeEnum || (exports.GetLegacyStoreItemsSortTypeEnum = GetLegacyStoreItemsSortTypeEnum = {}));
|
|
33
|
-
class
|
|
33
|
+
class GetLegacyCategoryInfo {
|
|
34
34
|
}
|
|
35
|
-
exports.
|
|
35
|
+
exports.GetLegacyCategoryInfo = GetLegacyCategoryInfo;
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, class_validator_1.IsString)(),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
|
-
],
|
|
39
|
+
], GetLegacyCategoryInfo.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
|
-
],
|
|
44
|
+
], GetLegacyCategoryInfo.prototype, "subCategory", void 0);
|
|
45
45
|
class GetLegacyStoreItemsByAtlasSearchPayload {
|
|
46
46
|
}
|
|
47
47
|
exports.GetLegacyStoreItemsByAtlasSearchPayload = GetLegacyStoreItemsByAtlasSearchPayload;
|
|
@@ -77,7 +77,7 @@ __decorate([
|
|
|
77
77
|
/** 솔드아웃도 보여줘? */
|
|
78
78
|
,
|
|
79
79
|
__metadata("design:type", Boolean)
|
|
80
|
-
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "
|
|
80
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "isViewSoldOut", void 0);
|
|
81
81
|
__decorate([
|
|
82
82
|
(0, class_validator_1.IsMongoId)(),
|
|
83
83
|
(0, class_validator_1.IsOptional)()
|
|
@@ -89,11 +89,11 @@ __decorate([
|
|
|
89
89
|
(0, class_validator_1.IsArray)(),
|
|
90
90
|
(0, class_validator_1.IsOptional)(),
|
|
91
91
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
92
|
-
(0, class_transformer_1.Type)(() =>
|
|
92
|
+
(0, class_transformer_1.Type)(() => GetLegacyCategoryInfo)
|
|
93
93
|
/** 검색 카테고리 리스트 */
|
|
94
94
|
,
|
|
95
95
|
__metadata("design:type", Array)
|
|
96
|
-
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "
|
|
96
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "categoryInfos", void 0);
|
|
97
97
|
__decorate([
|
|
98
98
|
(0, class_validator_1.IsOptional)(),
|
|
99
99
|
(0, class_validator_1.IsArray)(),
|
|
@@ -176,3 +176,58 @@ __decorate([
|
|
|
176
176
|
(0, class_validator_1.IsOptional)(),
|
|
177
177
|
__metadata("design:type", Boolean)
|
|
178
178
|
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "isExistsMaxDiscountCoupon", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
181
|
+
(0, class_validator_1.IsOptional)(),
|
|
182
|
+
__metadata("design:type", Array)
|
|
183
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "itemNames", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
(0, class_validator_1.IsString)(),
|
|
186
|
+
(0, class_validator_1.IsOptional)(),
|
|
187
|
+
__metadata("design:type", String)
|
|
188
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "deliveryType", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
(0, class_validator_1.IsBoolean)(),
|
|
191
|
+
(0, class_validator_1.IsOptional)(),
|
|
192
|
+
__metadata("design:type", Boolean)
|
|
193
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "isSticker", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
(0, class_validator_1.IsNumber)(),
|
|
196
|
+
(0, class_validator_1.IsOptional)(),
|
|
197
|
+
__metadata("design:type", Number)
|
|
198
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "minBookNums", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
201
|
+
(0, class_validator_1.IsOptional)(),
|
|
202
|
+
__metadata("design:type", Array)
|
|
203
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "selectionFrameIds", void 0);
|
|
204
|
+
__decorate([
|
|
205
|
+
(0, class_validator_1.IsBoolean)(),
|
|
206
|
+
(0, class_validator_1.IsOptional)(),
|
|
207
|
+
__metadata("design:type", Boolean)
|
|
208
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "isSelectionItemConnect", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
(0, class_validator_1.IsBoolean)(),
|
|
211
|
+
(0, class_validator_1.IsOptional)(),
|
|
212
|
+
__metadata("design:type", Boolean)
|
|
213
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "isAbroadShipping", void 0);
|
|
214
|
+
__decorate([
|
|
215
|
+
(0, class_validator_1.IsBoolean)(),
|
|
216
|
+
(0, class_validator_1.IsOptional)(),
|
|
217
|
+
__metadata("design:type", Boolean)
|
|
218
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "isBundleShipping", void 0);
|
|
219
|
+
__decorate([
|
|
220
|
+
(0, class_validator_1.IsNumber)(),
|
|
221
|
+
(0, class_validator_1.IsOptional)(),
|
|
222
|
+
__metadata("design:type", Number)
|
|
223
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "bundleShippingFee", void 0);
|
|
224
|
+
__decorate([
|
|
225
|
+
(0, class_validator_1.IsBoolean)(),
|
|
226
|
+
(0, class_validator_1.IsOptional)(),
|
|
227
|
+
__metadata("design:type", Boolean)
|
|
228
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "isPrepay", void 0);
|
|
229
|
+
__decorate([
|
|
230
|
+
(0, class_validator_1.IsNumber)(),
|
|
231
|
+
(0, class_validator_1.IsOptional)(),
|
|
232
|
+
__metadata("design:type", Number)
|
|
233
|
+
], GetLegacyStoreItemsByAtlasSearchPayload.prototype, "prepayPrice", void 0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-legacy-store-items-by-atlas-search.dto';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./get-legacy-store-items-by-atlas-search.dto"), exports);
|
|
@@ -2,4 +2,4 @@ export * from './get-store-item-legacies.dto';
|
|
|
2
2
|
export * from './get-selling-item-ids-by-store-id.dto';
|
|
3
3
|
export * from './search-selling-store-items.dto';
|
|
4
4
|
export * from './for-es';
|
|
5
|
-
export * from './
|
|
5
|
+
export * from './atlas-search';
|
|
@@ -18,4 +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("./
|
|
21
|
+
__exportStar(require("./atlas-search"), exports);
|