@yolo-croket-dev/amqp-access 0.6.97-jun.0 → 0.6.97
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/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/selection-server/amqp.selection-server.module.d.ts +2 -0
- package/selection-server/amqp.selection-server.module.js +43 -0
- package/selection-server/amqp.selection-server.provider.d.ts +4 -0
- package/selection-server/amqp.selection-server.provider.js +23 -0
- package/selection-server/index.d.ts +3 -0
- package/selection-server/index.js +19 -0
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-connect.service.d.ts +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-connect.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-data.service.d.ts +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-data.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-first-enterance-guide.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-guide.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-review-request-like.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-review-request.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-vote.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-voted-user.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame.service.d.ts +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame.service.js +1 -1
- package/store-item-server/amqp.store-item-server.module.js +0 -4
- package/store-item-server/services/selection.modules/amqp.selection.module.d.ts +0 -2
- package/store-item-server/services/selection.modules/amqp.selection.module.js +0 -42
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/get-selection-frame-id-by-selection-frame-data-id.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/get-selection-frame-id-by-selection-frame-data-id.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/search-selection-frame-ids-by-selection-frame-data-ids.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/search-selection-frame-ids-by-selection-frame-data-ids.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/search-all-selection-frame-datas-by-target-selection-data-id.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/search-all-selection-frame-datas-by-target-selection-data-id.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/search-selection-frame-large-data-by-target-selection-data-id.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/search-selection-frame-large-data-by-target-selection-data-id.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/create-selection-item-connect-by-selection-frame-data-id.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/create-selection-item-connect-by-selection-frame-data-id.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/delete-selection-item-connect-by-selection-frame-data-id.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/delete-selection-item-connect-by-selection-frame-data-id.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/query/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/query/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/query/search-selection-item-connect-ids-by-item-id-and-frame-ids.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/query/search-selection-item-connect-ids-by-item-id-and-frame-ids.dto.js +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-first-enterance-guide.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-guide.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-review-request-like.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-review-request.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-vote.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-voted-user.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/index.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/index.js +0 -0
package/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './order-server';
|
|
|
3
3
|
export * from './notification-service';
|
|
4
4
|
export * from './user-service';
|
|
5
5
|
export * from './elastic-service';
|
|
6
|
+
export * from './selection-server';
|
|
6
7
|
export * from './analytics-service';
|
|
7
8
|
export * from './coupon-server';
|
|
8
9
|
export * from './manage-service';
|
package/index.js
CHANGED
|
@@ -19,6 +19,7 @@ __exportStar(require("./order-server"), exports);
|
|
|
19
19
|
__exportStar(require("./notification-service"), exports);
|
|
20
20
|
__exportStar(require("./user-service"), exports);
|
|
21
21
|
__exportStar(require("./elastic-service"), exports);
|
|
22
|
+
__exportStar(require("./selection-server"), exports);
|
|
22
23
|
__exportStar(require("./analytics-service"), exports);
|
|
23
24
|
__exportStar(require("./coupon-server"), exports);
|
|
24
25
|
__exportStar(require("./manage-service"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.AmqpSelectionServerModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const amqp_selection_server_provider_1 = require("./amqp.selection-server.provider");
|
|
12
|
+
const services_1 = require("./services");
|
|
13
|
+
let AmqpSelectionServerModule = class AmqpSelectionServerModule {
|
|
14
|
+
};
|
|
15
|
+
exports.AmqpSelectionServerModule = AmqpSelectionServerModule;
|
|
16
|
+
exports.AmqpSelectionServerModule = AmqpSelectionServerModule = __decorate([
|
|
17
|
+
(0, common_1.Module)({
|
|
18
|
+
providers: [
|
|
19
|
+
amqp_selection_server_provider_1.SelectionServerProvider,
|
|
20
|
+
services_1.AmqpSelectionFrameConnectService,
|
|
21
|
+
services_1.AmqpSelectionFrameDataService,
|
|
22
|
+
services_1.AmqpSelectionFrameGuideService,
|
|
23
|
+
services_1.AmqpSelectionFrameService,
|
|
24
|
+
services_1.AmqpSelectionFrameVoteService,
|
|
25
|
+
services_1.AmqpSelectionFrameVotedUserService,
|
|
26
|
+
services_1.AmqpSelectionFrameFirstEnteranceGuideService,
|
|
27
|
+
services_1.AmqpSelectionFrameReviewRequestService,
|
|
28
|
+
services_1.AmqpSelectionFrameReviewRequestLikeService,
|
|
29
|
+
],
|
|
30
|
+
exports: [
|
|
31
|
+
amqp_selection_server_provider_1.SelectionServerProvider,
|
|
32
|
+
services_1.AmqpSelectionFrameConnectService,
|
|
33
|
+
services_1.AmqpSelectionFrameDataService,
|
|
34
|
+
services_1.AmqpSelectionFrameGuideService,
|
|
35
|
+
services_1.AmqpSelectionFrameService,
|
|
36
|
+
services_1.AmqpSelectionFrameVoteService,
|
|
37
|
+
services_1.AmqpSelectionFrameVotedUserService,
|
|
38
|
+
services_1.AmqpSelectionFrameFirstEnteranceGuideService,
|
|
39
|
+
services_1.AmqpSelectionFrameReviewRequestService,
|
|
40
|
+
services_1.AmqpSelectionFrameReviewRequestLikeService,
|
|
41
|
+
],
|
|
42
|
+
})
|
|
43
|
+
], AmqpSelectionServerModule);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectionServerProvider = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
6
|
+
const provider_inject_util_1 = require("../provider-inject.util");
|
|
7
|
+
const { AMQP_URL } = process.env;
|
|
8
|
+
exports.SelectionServerProvider = {
|
|
9
|
+
provide: 'SELECTION_SERVER_PROVIDER',
|
|
10
|
+
useFactory: () => microservices_1.ClientProxyFactory.create({
|
|
11
|
+
transport: microservices_1.Transport.RMQ,
|
|
12
|
+
options: {
|
|
13
|
+
urls: [AMQP_URL],
|
|
14
|
+
queue: provider_inject_util_1.DEFINED_QUEUE.SELECTION_SERVER,
|
|
15
|
+
noAck: true,
|
|
16
|
+
queueOptions: {
|
|
17
|
+
durable: true,
|
|
18
|
+
noAssert: true,
|
|
19
|
+
},
|
|
20
|
+
socketOptions: { heartbeatIntervalInSeconds: 60 },
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./amqp.selection-server.module"), exports);
|
|
18
|
+
__exportStar(require("./amqp.selection-server.provider"), exports);
|
|
19
|
+
__exportStar(require("./services"), exports);
|
|
@@ -2,7 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
|
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
/** @dto -v2 */
|
|
4
4
|
import { CreateSelectionItemConnectBulkPayload, CreateSelectionItemConnectBulkResult, DeleteSelectionItemConnectBulkPayload, DeleteSelectionItemConnectsBySelectionFrameIdPayload, SearchSelectionItemConnectForAdminsPayload, SearchSelectionItemConnectForAdminsResult, SearchSelectionItemConnectsByStoreItemIdsPayload, SearchSelectionItemConnectsByStoreItemIdsResult, UpdateSelectionItemConnectPayload } from '@yolo-croket-dev/dto-v2/user-service';
|
|
5
|
-
import { SearchSelectionItemConnectIdsByItemIdAndFrameIdsPayload, SearchSelectionItemConnectIdsByItemIdAndFrameIdsResult } from '
|
|
5
|
+
import { SearchSelectionItemConnectIdsByItemIdAndFrameIdsPayload, SearchSelectionItemConnectIdsByItemIdAndFrameIdsResult } from '../dto';
|
|
6
6
|
export declare class AmqpSelectionFrameConnectService {
|
|
7
7
|
private readonly client;
|
|
8
8
|
private readonly amqpManager;
|
|
@@ -49,6 +49,6 @@ let AmqpSelectionFrameConnectService = class AmqpSelectionFrameConnectService {
|
|
|
49
49
|
exports.AmqpSelectionFrameConnectService = AmqpSelectionFrameConnectService;
|
|
50
50
|
exports.AmqpSelectionFrameConnectService = AmqpSelectionFrameConnectService = __decorate([
|
|
51
51
|
(0, common_1.Injectable)(),
|
|
52
|
-
__param(0, (0, common_1.Inject)('
|
|
52
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
53
53
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
54
54
|
], AmqpSelectionFrameConnectService);
|
|
@@ -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, SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload, SearchSelectionFrameLargeDataByTargetSelectionDataIdResult } from '
|
|
7
|
+
import { SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload, SearchAllSelectionFrameDatasByTargetSelectionDataIdResult, SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload, SearchSelectionFrameLargeDataByTargetSelectionDataIdResult } from '../dto';
|
|
8
8
|
export declare class AmqpSelectionFrameDataService {
|
|
9
9
|
private readonly client;
|
|
10
10
|
private readonly amqpManager;
|
|
@@ -75,6 +75,6 @@ let AmqpSelectionFrameDataService = class AmqpSelectionFrameDataService {
|
|
|
75
75
|
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService;
|
|
76
76
|
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService = __decorate([
|
|
77
77
|
(0, common_1.Injectable)(),
|
|
78
|
-
__param(0, (0, common_1.Inject)('
|
|
78
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
79
79
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
80
80
|
], AmqpSelectionFrameDataService);
|
|
@@ -34,6 +34,6 @@ let AmqpSelectionFrameFirstEnteranceGuideService = class AmqpSelectionFrameFirst
|
|
|
34
34
|
exports.AmqpSelectionFrameFirstEnteranceGuideService = AmqpSelectionFrameFirstEnteranceGuideService;
|
|
35
35
|
exports.AmqpSelectionFrameFirstEnteranceGuideService = AmqpSelectionFrameFirstEnteranceGuideService = __decorate([
|
|
36
36
|
(0, common_1.Injectable)(),
|
|
37
|
-
__param(0, (0, common_1.Inject)('
|
|
37
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
38
38
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
39
39
|
], AmqpSelectionFrameFirstEnteranceGuideService);
|
|
@@ -40,6 +40,6 @@ let AmqpSelectionFrameGuideService = class AmqpSelectionFrameGuideService {
|
|
|
40
40
|
exports.AmqpSelectionFrameGuideService = AmqpSelectionFrameGuideService;
|
|
41
41
|
exports.AmqpSelectionFrameGuideService = AmqpSelectionFrameGuideService = __decorate([
|
|
42
42
|
(0, common_1.Injectable)(),
|
|
43
|
-
__param(0, (0, common_1.Inject)('
|
|
43
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
44
44
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
45
45
|
], AmqpSelectionFrameGuideService);
|
|
@@ -31,6 +31,6 @@ let AmqpSelectionFrameReviewRequestLikeService = class AmqpSelectionFrameReviewR
|
|
|
31
31
|
exports.AmqpSelectionFrameReviewRequestLikeService = AmqpSelectionFrameReviewRequestLikeService;
|
|
32
32
|
exports.AmqpSelectionFrameReviewRequestLikeService = AmqpSelectionFrameReviewRequestLikeService = __decorate([
|
|
33
33
|
(0, common_1.Injectable)(),
|
|
34
|
-
__param(0, (0, common_1.Inject)('
|
|
34
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
35
35
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
36
36
|
], AmqpSelectionFrameReviewRequestLikeService);
|
|
@@ -34,6 +34,6 @@ let AmqpSelectionFrameReviewRequestService = class AmqpSelectionFrameReviewReque
|
|
|
34
34
|
exports.AmqpSelectionFrameReviewRequestService = AmqpSelectionFrameReviewRequestService;
|
|
35
35
|
exports.AmqpSelectionFrameReviewRequestService = AmqpSelectionFrameReviewRequestService = __decorate([
|
|
36
36
|
(0, common_1.Injectable)(),
|
|
37
|
-
__param(0, (0, common_1.Inject)('
|
|
37
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
38
38
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
39
39
|
], AmqpSelectionFrameReviewRequestService);
|
|
@@ -46,6 +46,6 @@ let AmqpSelectionFrameVoteService = class AmqpSelectionFrameVoteService {
|
|
|
46
46
|
exports.AmqpSelectionFrameVoteService = AmqpSelectionFrameVoteService;
|
|
47
47
|
exports.AmqpSelectionFrameVoteService = AmqpSelectionFrameVoteService = __decorate([
|
|
48
48
|
(0, common_1.Injectable)(),
|
|
49
|
-
__param(0, (0, common_1.Inject)('
|
|
49
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
50
50
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
51
51
|
], AmqpSelectionFrameVoteService);
|
|
@@ -37,6 +37,6 @@ let AmqpSelectionFrameVotedUserService = class AmqpSelectionFrameVotedUserServic
|
|
|
37
37
|
exports.AmqpSelectionFrameVotedUserService = AmqpSelectionFrameVotedUserService;
|
|
38
38
|
exports.AmqpSelectionFrameVotedUserService = AmqpSelectionFrameVotedUserService = __decorate([
|
|
39
39
|
(0, common_1.Injectable)(),
|
|
40
|
-
__param(0, (0, common_1.Inject)('
|
|
40
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
41
41
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
42
42
|
], AmqpSelectionFrameVotedUserService);
|
|
@@ -2,7 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
|
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
/** @dto -v2 */
|
|
4
4
|
import { CreateSelectionFramePayload, CreateSelectionFrameResult, DeleteSelectionFramePayload, SearchSelectionFramesForAdminPayload, UpdateSelectionFramePayload, SearchSelectionFramesForAdminResult, SearchSelectionFrameForAdminPayload, SearchSelectionFrameForAdminResult, SearchSelectionFramesForBuyerPayload, SearchSelectionFramesForBuyerResult, SearchTitleMatchingSelectionFramesPayload, SearchTitleMatchingSelectionFramesResult, SearchSelectionFrameIdsBySelectionFrameDataIdPayload, SearchSelectionFrameIdsBySelectionFrameDataIdResult, SearchSelectionFramesByIdsPayload, SearchSelectionFramesByIdsResult, SearchSelectionFramesStoreItemsByStoreItemIdPayload, SearchSelectionFramesStoreItemsByStoreItemIdResult, SearchSelectionFrameDataIdsBySelectionFrameIdPayload, SearchSelectionFrameDataIdsBySelectionFrameIdResult, SearchLargeSelectionDataTitlesPayload, SearchLargeSelectionDataTitlesResult, CreateSelectionFrameBulkPayload } from '@yolo-croket-dev/dto-v2/user-service';
|
|
5
|
-
import { GetSelectionFrameIdBySelectionFrameDataIdPayload, GetSelectionFrameIdBySelectionFrameDataIdResult } from '
|
|
5
|
+
import { GetSelectionFrameIdBySelectionFrameDataIdPayload, GetSelectionFrameIdBySelectionFrameDataIdResult } from '../dto';
|
|
6
6
|
export declare class AmqpSelectionFrameService {
|
|
7
7
|
private readonly client;
|
|
8
8
|
private readonly amqpManager;
|
|
@@ -68,6 +68,6 @@ let AmqpSelectionFrameService = class AmqpSelectionFrameService {
|
|
|
68
68
|
exports.AmqpSelectionFrameService = AmqpSelectionFrameService;
|
|
69
69
|
exports.AmqpSelectionFrameService = AmqpSelectionFrameService = __decorate([
|
|
70
70
|
(0, common_1.Injectable)(),
|
|
71
|
-
__param(0, (0, common_1.Inject)('
|
|
71
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
72
72
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
73
73
|
], AmqpSelectionFrameService);
|
|
@@ -8,8 +8,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.AmqpStoreItemServerModule = void 0;
|
|
10
10
|
const common_1 = require("@nestjs/common");
|
|
11
|
-
/** @modules */
|
|
12
|
-
const amqp_selection_module_1 = require("./services/selection.modules/amqp.selection.module");
|
|
13
11
|
const amqp_store_item_server_provider_1 = require("./amqp.store-item-server.provider");
|
|
14
12
|
const services_1 = require("./services");
|
|
15
13
|
let AmqpStoreItemServerModule = class AmqpStoreItemServerModule {
|
|
@@ -17,7 +15,6 @@ let AmqpStoreItemServerModule = class AmqpStoreItemServerModule {
|
|
|
17
15
|
exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule;
|
|
18
16
|
exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
19
17
|
(0, common_1.Module)({
|
|
20
|
-
imports: [amqp_selection_module_1.AmqpSelectionModule],
|
|
21
18
|
providers: [
|
|
22
19
|
amqp_store_item_server_provider_1.StoreItemServerProvider,
|
|
23
20
|
services_1.AmqpStoreItemService,
|
|
@@ -89,7 +86,6 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
|
89
86
|
services_1.AmqpBrandInspectionService,
|
|
90
87
|
services_1.AmqpItemReviewService,
|
|
91
88
|
services_1.AmqpItemReviewIntegrationService,
|
|
92
|
-
amqp_selection_module_1.AmqpSelectionModule,
|
|
93
89
|
],
|
|
94
90
|
})
|
|
95
91
|
], AmqpStoreItemServerModule);
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.AmqpSelectionModule = void 0;
|
|
10
|
-
const common_1 = require("@nestjs/common");
|
|
11
|
-
const amqp_store_item_server_provider_1 = require("../../amqp.store-item-server.provider");
|
|
12
|
-
const index_1 = require("./index");
|
|
13
|
-
let AmqpSelectionModule = class AmqpSelectionModule {
|
|
14
|
-
};
|
|
15
|
-
exports.AmqpSelectionModule = AmqpSelectionModule;
|
|
16
|
-
exports.AmqpSelectionModule = AmqpSelectionModule = __decorate([
|
|
17
|
-
(0, common_1.Module)({
|
|
18
|
-
providers: [
|
|
19
|
-
amqp_store_item_server_provider_1.StoreItemServerProvider,
|
|
20
|
-
index_1.AmqpSelectionFrameConnectService,
|
|
21
|
-
index_1.AmqpSelectionFrameDataService,
|
|
22
|
-
index_1.AmqpSelectionFrameFirstEnteranceGuideService,
|
|
23
|
-
index_1.AmqpSelectionFrameGuideService,
|
|
24
|
-
index_1.AmqpSelectionFrameReviewRequestLikeService,
|
|
25
|
-
index_1.AmqpSelectionFrameReviewRequestService,
|
|
26
|
-
index_1.AmqpSelectionFrameService,
|
|
27
|
-
index_1.AmqpSelectionFrameVoteService,
|
|
28
|
-
index_1.AmqpSelectionFrameVotedUserService,
|
|
29
|
-
],
|
|
30
|
-
exports: [
|
|
31
|
-
index_1.AmqpSelectionFrameConnectService,
|
|
32
|
-
index_1.AmqpSelectionFrameDataService,
|
|
33
|
-
index_1.AmqpSelectionFrameFirstEnteranceGuideService,
|
|
34
|
-
index_1.AmqpSelectionFrameGuideService,
|
|
35
|
-
index_1.AmqpSelectionFrameReviewRequestLikeService,
|
|
36
|
-
index_1.AmqpSelectionFrameReviewRequestService,
|
|
37
|
-
index_1.AmqpSelectionFrameService,
|
|
38
|
-
index_1.AmqpSelectionFrameVoteService,
|
|
39
|
-
index_1.AmqpSelectionFrameVotedUserService,
|
|
40
|
-
],
|
|
41
|
-
})
|
|
42
|
-
], AmqpSelectionModule);
|
|
File without changes
|
|
File without changes
|
/package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/index.d.ts
RENAMED
|
File without changes
|
/package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{store-item-server/services/selection.modules → selection-server/services}/index.d.ts
RENAMED
|
File without changes
|
/package/{store-item-server/services/selection.modules → selection-server/services}/index.js
RENAMED
|
File without changes
|