@yolo-croket-dev/amqp-access 0.4.47 → 0.4.48-sj

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.47",
3
+ "version": "0.4.48-sj",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -0,0 +1,3 @@
1
+ export declare class GetAppBatchPushKeysResult {
2
+ keys: string[] | null;
3
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAppBatchPushKeysResult = void 0;
4
+ class GetAppBatchPushKeysResult {
5
+ }
6
+ exports.GetAppBatchPushKeysResult = GetAppBatchPushKeysResult;
@@ -1,4 +1,4 @@
1
1
  export * from './get-redis-db.dto';
2
2
  export * from './get-list-redis-db.dto';
3
3
  export * from './get-app-batch-push-data-by-key.dto';
4
- export * from './get-app-batch-push-keys-by-method.dto';
4
+ export * from './get-app-batch-push-keys.dto';
@@ -17,4 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./get-redis-db.dto"), exports);
18
18
  __exportStar(require("./get-list-redis-db.dto"), exports);
19
19
  __exportStar(require("./get-app-batch-push-data-by-key.dto"), exports);
20
- __exportStar(require("./get-app-batch-push-keys-by-method.dto"), exports);
20
+ __exportStar(require("./get-app-batch-push-keys.dto"), exports);
@@ -1,11 +1,11 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysByMethodPayload, GetAppBatchPushKeysByMethodResult } from '../../dto/redis-db';
3
+ import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult } from '../../dto/redis-db';
4
4
  export declare class AmqpRedisDbAppBatchPushService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
7
7
  constructor(client: ClientProxy);
8
- getAppBatchPushKeysByMethod(payload: GetAppBatchPushKeysByMethodPayload, param: AbstractParam): Promise<GetAppBatchPushKeysByMethodResult>;
8
+ getAppBatchPushKeys(param: AbstractParam): Promise<GetAppBatchPushKeysResult>;
9
9
  getAppBatchPushDataByKey(payload: GetAppBatchPushDataByKeyPayload, param: AbstractParam): Promise<GetAppBatchPushDataByKeyResult>;
10
10
  deleteAppBatchPushDataByKey(payload: DeleteAppBatchPushDataByKeyPayload, param: AbstractParam): Promise<DeleteAppBatchPushDataByKeyResult>;
11
11
  }
@@ -21,8 +21,8 @@ let AmqpRedisDbAppBatchPushService = class AmqpRedisDbAppBatchPushService {
21
21
  this.client = client;
22
22
  this.amqpManager = new functions_1.AmqpManagement(this.client);
23
23
  }
24
- async getAppBatchPushKeysByMethod(payload, param) {
25
- return this.amqpManager.call('appBatchPush 메서드에 따른 키 조회', 'redis-db.get.keys-app-batch-push-by-method', payload, param, { isErrorThrowing: true });
24
+ async getAppBatchPushKeys(param) {
25
+ return this.amqpManager.call('appBatchPush 키 조회', 'redis-db.get.keys-app-batch-push', {}, param, { isErrorThrowing: true });
26
26
  }
27
27
  async getAppBatchPushDataByKey(payload, param) {
28
28
  return this.amqpManager.call('appBatchPush 키에 따른 데이터 조회', 'redis-db.get.data-app-batch-push-by-key', payload, param, { isErrorThrowing: true });
@@ -1,6 +0,0 @@
1
- export declare class GetAppBatchPushKeysByMethodPayload {
2
- method: string;
3
- }
4
- export declare class GetAppBatchPushKeysByMethodResult {
5
- keys: string[] | null;
6
- }
@@ -1,23 +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
- 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.GetAppBatchPushKeysByMethodResult = exports.GetAppBatchPushKeysByMethodPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class GetAppBatchPushKeysByMethodPayload {
15
- }
16
- exports.GetAppBatchPushKeysByMethodPayload = GetAppBatchPushKeysByMethodPayload;
17
- __decorate([
18
- (0, class_validator_1.IsString)(),
19
- __metadata("design:type", String)
20
- ], GetAppBatchPushKeysByMethodPayload.prototype, "method", void 0);
21
- class GetAppBatchPushKeysByMethodResult {
22
- }
23
- exports.GetAppBatchPushKeysByMethodResult = GetAppBatchPushKeysByMethodResult;