@yolo-croket-dev/amqp-access 0.0.78-jun.3 → 0.0.79-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/package.json +1 -1
- package/selection-server/dto/selection-frame-data/query/index.d.ts +2 -1
- package/selection-server/dto/selection-frame-data/query/index.js +2 -1
- package/selection-server/dto/selection-frame-data/query/search-all-selection-frame-datas-by-target-selection-data-id.dto.d.ts +7 -0
- package/selection-server/dto/selection-frame-data/query/search-all-selection-frame-datas-by-target-selection-data-id.dto.js +23 -0
- package/selection-server/dto/selection-frame-data/query/search-selection-frame-large-data-by-target-selection-data-id.dto.d.ts +7 -0
- package/selection-server/dto/selection-frame-data/query/search-selection-frame-large-data-by-target-selection-data-id.dto.js +23 -0
- package/selection-server/services/amqp.selection-frame-data.service.d.ts +2 -1
- package/selection-server/services/amqp.selection-frame-data.service.js +3 -0
package/package.json
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './search-
|
|
1
|
+
export * from './search-all-selection-frame-datas-by-target-selection-data-id.dto';
|
|
2
|
+
export * from './search-selection-frame-large-data-by-target-selection-data-id.dto';
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./search-
|
|
17
|
+
__exportStar(require("./search-all-selection-frame-datas-by-target-selection-data-id.dto"), exports);
|
|
18
|
+
__exportStar(require("./search-selection-frame-large-data-by-target-selection-data-id.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
|
+
}
|
|
@@ -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;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SelectionFrameLargeDataEntity } from '@yolo-croket-dev/entity-v2';
|
|
2
|
+
export declare class SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload {
|
|
3
|
+
targetSelectionDataId: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class SearchSelectionFrameLargeDataByTargetSelectionDataIdResult {
|
|
6
|
+
selectionFrameLargeData: SelectionFrameLargeDataEntity;
|
|
7
|
+
}
|
|
@@ -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.SearchSelectionFrameLargeDataByTargetSelectionDataIdResult = exports.SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload = SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload.prototype, "targetSelectionDataId", void 0);
|
|
21
|
+
class SearchSelectionFrameLargeDataByTargetSelectionDataIdResult {
|
|
22
|
+
}
|
|
23
|
+
exports.SearchSelectionFrameLargeDataByTargetSelectionDataIdResult = SearchSelectionFrameLargeDataByTargetSelectionDataIdResult;
|
|
@@ -4,7 +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
|
+
import { SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload, SearchAllSelectionFrameDatasByTargetSelectionDataIdResult, SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload, SearchSelectionFrameLargeDataByTargetSelectionDataIdResult } from '../dto';
|
|
8
8
|
export declare class AmqpSelectionFrameDataService {
|
|
9
9
|
private readonly client;
|
|
10
10
|
private readonly amqpManager;
|
|
@@ -24,4 +24,5 @@ export declare class AmqpSelectionFrameDataService {
|
|
|
24
24
|
searchSelectionFrameChildIsPickDatas(payload: SearchSelectionFrameChildIsPickDatasPayload, param: AbstractParam): Promise<SearchSelectionFrameChildIsPickDatasResult>;
|
|
25
25
|
getSelectionFrameDataById(payload: GetSelectionFrameDataByIdPayload, param: AbstractParam): Promise<SelectionFrameDataEntity>;
|
|
26
26
|
searchAllSelectionFrameDatasByTargetSelectionDataId(payload: SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload, param: AbstractParam): Promise<SearchAllSelectionFrameDatasByTargetSelectionDataIdResult>;
|
|
27
|
+
searchSelectionFrameLargeDataByTargetSelectionDataId(payload: SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload, param: AbstractParam): Promise<SearchSelectionFrameLargeDataByTargetSelectionDataIdResult>;
|
|
27
28
|
}
|
|
@@ -68,6 +68,9 @@ let AmqpSelectionFrameDataService = class AmqpSelectionFrameDataService {
|
|
|
68
68
|
async searchAllSelectionFrameDatasByTargetSelectionDataId(payload, param) {
|
|
69
69
|
return this.amqpManager.call('셀렉션 관 전체 조회를 위해, targetSelectionDataId와 연관 있는 셀렉션 프레임 데이터 전체 조회', 'selection-frame-data.get.all-datas-by-target-selection-data-id', payload, param, { isErrorThrowing: true });
|
|
70
70
|
}
|
|
71
|
+
async searchSelectionFrameLargeDataByTargetSelectionDataId(payload, param) {
|
|
72
|
+
return this.amqpManager.call('targetSelectionDataId 를 통해 대분류 정보 조회', 'selection-frame-data.get.large-data-by-target-selection-data-id', payload, param, { isErrorThrowing: true });
|
|
73
|
+
}
|
|
71
74
|
};
|
|
72
75
|
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService;
|
|
73
76
|
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService = __decorate([
|