@yolo-croket-dev/amqp-access 0.6.93 → 0.6.94-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.
Files changed (64) hide show
  1. package/index.d.ts +0 -1
  2. package/index.js +0 -1
  3. package/order-server/dto/naver-search-ad.modules/naver-search-ad-excel/command/run-naver-search-ad-excel-process.dto.d.ts +2 -2
  4. package/order-server/dto/naver-search-ad.modules/naver-search-ad-excel/command/run-naver-search-ad-excel-process.dto.js +1 -1
  5. package/package.json +1 -1
  6. package/store-item-server/amqp.store-item-server.module.js +4 -0
  7. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-connect.service.d.ts +1 -1
  8. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-connect.service.js +1 -1
  9. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-data.service.d.ts +1 -1
  10. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-data.service.js +1 -1
  11. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-first-enterance-guide.service.js +1 -1
  12. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-guide.service.js +1 -1
  13. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-review-request-like.service.js +1 -1
  14. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-review-request.service.js +1 -1
  15. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-vote.service.js +1 -1
  16. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-voted-user.service.js +1 -1
  17. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame.service.d.ts +1 -1
  18. package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame.service.js +1 -1
  19. package/store-item-server/services/selection.modules/amqp.selection.module.d.ts +2 -0
  20. package/store-item-server/services/selection.modules/amqp.selection.module.js +42 -0
  21. package/selection-server/amqp.selection-server.module.d.ts +0 -2
  22. package/selection-server/amqp.selection-server.module.js +0 -43
  23. package/selection-server/amqp.selection-server.provider.d.ts +0 -4
  24. package/selection-server/amqp.selection-server.provider.js +0 -23
  25. package/selection-server/index.d.ts +0 -3
  26. package/selection-server/index.js +0 -19
  27. /package/{selection-server/dto → store-item-server/dto/selection.modules}/index.d.ts +0 -0
  28. /package/{selection-server/dto → store-item-server/dto/selection.modules}/index.js +0 -0
  29. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame/index.d.ts +0 -0
  30. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame/index.js +0 -0
  31. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame/query/get-selection-frame-id-by-selection-frame-data-id.dto.d.ts +0 -0
  32. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame/query/get-selection-frame-id-by-selection-frame-data-id.dto.js +0 -0
  33. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame/query/index.d.ts +0 -0
  34. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame/query/index.js +0 -0
  35. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame/query/search-selection-frame-ids-by-selection-frame-data-ids.dto.d.ts +0 -0
  36. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame/query/search-selection-frame-ids-by-selection-frame-data-ids.dto.js +0 -0
  37. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame-data/index.d.ts +0 -0
  38. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame-data/index.js +0 -0
  39. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame-data/query/index.d.ts +0 -0
  40. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame-data/query/index.js +0 -0
  41. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame-data/query/search-all-selection-frame-datas-by-target-selection-data-id.dto.d.ts +0 -0
  42. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame-data/query/search-all-selection-frame-datas-by-target-selection-data-id.dto.js +0 -0
  43. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame-data/query/search-selection-frame-large-data-by-target-selection-data-id.dto.d.ts +0 -0
  44. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-frame-data/query/search-selection-frame-large-data-by-target-selection-data-id.dto.js +0 -0
  45. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/command/create-selection-item-connect-by-selection-frame-data-id.dto.d.ts +0 -0
  46. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/command/create-selection-item-connect-by-selection-frame-data-id.dto.js +0 -0
  47. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/command/delete-selection-item-connect-by-selection-frame-data-id.dto.d.ts +0 -0
  48. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/command/delete-selection-item-connect-by-selection-frame-data-id.dto.js +0 -0
  49. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/command/index.d.ts +0 -0
  50. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/command/index.js +0 -0
  51. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/index.d.ts +0 -0
  52. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/index.js +0 -0
  53. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/query/index.d.ts +0 -0
  54. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/query/index.js +0 -0
  55. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/query/search-selection-item-connect-ids-by-item-id-and-frame-ids.dto.d.ts +0 -0
  56. /package/{selection-server/dto → store-item-server/dto/selection.modules}/selection-item-connect/query/search-selection-item-connect-ids-by-item-id-and-frame-ids.dto.js +0 -0
  57. /package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-first-enterance-guide.service.d.ts +0 -0
  58. /package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-guide.service.d.ts +0 -0
  59. /package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-review-request-like.service.d.ts +0 -0
  60. /package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-review-request.service.d.ts +0 -0
  61. /package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-vote.service.d.ts +0 -0
  62. /package/{selection-server/services → store-item-server/services/selection.modules}/amqp.selection-frame-voted-user.service.d.ts +0 -0
  63. /package/{selection-server/services → store-item-server/services/selection.modules}/index.d.ts +0 -0
  64. /package/{selection-server/services → store-item-server/services/selection.modules}/index.js +0 -0
package/index.d.ts CHANGED
@@ -3,7 +3,6 @@ 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';
7
6
  export * from './analytics-service';
8
7
  export * from './coupon-server';
9
8
  export * from './manage-service';
package/index.js CHANGED
@@ -19,7 +19,6 @@ __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);
23
22
  __exportStar(require("./analytics-service"), exports);
24
23
  __exportStar(require("./coupon-server"), exports);
25
24
  __exportStar(require("./manage-service"), exports);
@@ -33,8 +33,8 @@ import { Types } from 'mongoose';
33
33
  * 네이버 검색광고 엑셀 전체 프로세스 실행 Payload
34
34
  */
35
35
  export declare class RunNaverSearchAdExcelProcessPayload {
36
- /** 캠페인 ID (필수) */
37
- nccCampaignId: string;
36
+ /** 캠페인 ID (선택) */
37
+ nccCampaignId?: string;
38
38
  /** 광고그룹 ID (선택) */
39
39
  nccAdgroupId?: string;
40
40
  /** 소재 ID (선택) */
@@ -62,7 +62,7 @@ class RunNaverSearchAdExcelProcessPayload {
62
62
  exports.RunNaverSearchAdExcelProcessPayload = RunNaverSearchAdExcelProcessPayload;
63
63
  __decorate([
64
64
  (0, class_validator_1.IsString)(),
65
- (0, class_validator_1.IsNotEmpty)(),
65
+ (0, class_validator_1.IsOptional)(),
66
66
  __metadata("design:type", String)
67
67
  ], RunNaverSearchAdExcelProcessPayload.prototype, "nccCampaignId", void 0);
68
68
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.6.93",
3
+ "version": "0.6.94-jun.0",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -8,6 +8,8 @@ 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");
11
13
  const amqp_store_item_server_provider_1 = require("./amqp.store-item-server.provider");
12
14
  const services_1 = require("./services");
13
15
  let AmqpStoreItemServerModule = class AmqpStoreItemServerModule {
@@ -15,6 +17,7 @@ let AmqpStoreItemServerModule = class AmqpStoreItemServerModule {
15
17
  exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule;
16
18
  exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
17
19
  (0, common_1.Module)({
20
+ imports: [amqp_selection_module_1.AmqpSelectionModule],
18
21
  providers: [
19
22
  amqp_store_item_server_provider_1.StoreItemServerProvider,
20
23
  services_1.AmqpStoreItemService,
@@ -86,6 +89,7 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
86
89
  services_1.AmqpBrandInspectionService,
87
90
  services_1.AmqpItemReviewService,
88
91
  services_1.AmqpItemReviewIntegrationService,
92
+ amqp_selection_module_1.AmqpSelectionModule,
89
93
  ],
90
94
  })
91
95
  ], AmqpStoreItemServerModule);
@@ -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 '../dto';
5
+ import { SearchSelectionItemConnectIdsByItemIdAndFrameIdsPayload, SearchSelectionItemConnectIdsByItemIdAndFrameIdsResult } from '../../dto/selection.modules/selection-item-connect';
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)('SELECTION_SERVER_PROVIDER')),
52
+ __param(0, (0, common_1.Inject)('STORE_ITEM_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 '../dto';
7
+ import { SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload, SearchAllSelectionFrameDatasByTargetSelectionDataIdResult, SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload, SearchSelectionFrameLargeDataByTargetSelectionDataIdResult } from '../../dto/selection.modules/selection-frame-data';
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)('SELECTION_SERVER_PROVIDER')),
78
+ __param(0, (0, common_1.Inject)('STORE_ITEM_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)('SELECTION_SERVER_PROVIDER')),
37
+ __param(0, (0, common_1.Inject)('STORE_ITEM_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)('SELECTION_SERVER_PROVIDER')),
43
+ __param(0, (0, common_1.Inject)('STORE_ITEM_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)('SELECTION_SERVER_PROVIDER')),
34
+ __param(0, (0, common_1.Inject)('STORE_ITEM_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)('SELECTION_SERVER_PROVIDER')),
37
+ __param(0, (0, common_1.Inject)('STORE_ITEM_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)('SELECTION_SERVER_PROVIDER')),
49
+ __param(0, (0, common_1.Inject)('STORE_ITEM_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)('SELECTION_SERVER_PROVIDER')),
40
+ __param(0, (0, common_1.Inject)('STORE_ITEM_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 '../dto';
5
+ import { GetSelectionFrameIdBySelectionFrameDataIdPayload, GetSelectionFrameIdBySelectionFrameDataIdResult } from '../../dto/selection.modules/selection-frame';
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)('SELECTION_SERVER_PROVIDER')),
71
+ __param(0, (0, common_1.Inject)('STORE_ITEM_SERVER_PROVIDER')),
72
72
  __metadata("design:paramtypes", [microservices_1.ClientProxy])
73
73
  ], AmqpSelectionFrameService);
@@ -0,0 +1,2 @@
1
+ export declare class AmqpSelectionModule {
2
+ }
@@ -0,0 +1,42 @@
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);
@@ -1,2 +0,0 @@
1
- export declare class AmqpSelectionServerModule {
2
- }
@@ -1,43 +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.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);
@@ -1,4 +0,0 @@
1
- export declare const SelectionServerProvider: {
2
- provide: string;
3
- useFactory: () => import("@nestjs/microservices").ClientProxy<Record<never, Function>, string>;
4
- };
@@ -1,23 +0,0 @@
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
- };
@@ -1,3 +0,0 @@
1
- export * from './amqp.selection-server.module';
2
- export * from './amqp.selection-server.provider';
3
- export * from './services';
@@ -1,19 +0,0 @@
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);