@yolo-croket-dev/amqp-access 0.0.32-slowquery.2 → 0.0.32

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.0.32-slowquery.2",
3
+ "version": "0.0.32",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -20,11 +20,11 @@
20
20
  "@nestjs/common": "^10.3.10",
21
21
  "@nestjs/microservices": "9.0.8",
22
22
  "@yolo-croket-dev/core": "^1.4.52",
23
- "@yolo-croket-dev/dto-v2": "0.0.132",
23
+ "@yolo-croket-dev/dto-v2": "0.0.136",
24
24
  "@yolo-croket-dev/entity": "^0.1.105",
25
25
  "@yolo-croket-dev/entity-v2": "0.0.21",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
29
29
  }
30
- }
30
+ }
@@ -5,7 +5,6 @@ import { GetMembershipsPayload } from '@yolo-croket-dev/dto-v2/user-service/memb
5
5
  import { GetUsernameByIdPayload, GetUsersForAppPushPayload, GetUsersForAppPushResult } from '@yolo-croket-dev/dto-v2/user-service/user';
6
6
  import { Membership } from '@yolo-croket-dev/entity';
7
7
  import { UserPhoneDecodeByPhoneNumberPayloadDto, UserPhoneDecodeByPhoneNumberResultDto } from '@yolo-croket-dev/dto/user-service';
8
- import { NotificationUser, UpdateUserByIdPayload } from './amqp.user-service.types';
9
8
  export declare class AmqpUserService {
10
9
  private readonly client;
11
10
  private readonly amqpManager;
@@ -19,8 +18,4 @@ export declare class AmqpUserService {
19
18
  getUsersForAppPush(payload: GetUsersForAppPushPayload, param: AbstractParam): Promise<GetUsersForAppPushResult>;
20
19
  checkForProhibitedWords(payload: FilterWordPayload, param: AbstractParam): Promise<FilterWordResult>;
21
20
  getUsernameById(payload: GetUsernameByIdPayload, param: AbstractParam): Promise<any>;
22
- /** 유저 알림 정보 포함하여 가져오기 */
23
- getUserByIdWithNotification(payload: GetUsernameByIdPayload, param: AbstractParam): Promise<NotificationUser | null>;
24
- /** 유저 정보 수정 */
25
- updateUserById(payload: UpdateUserByIdPayload, param: AbstractParam): Promise<void>;
26
21
  }
@@ -51,14 +51,6 @@ let AmqpUserService = class AmqpUserService {
51
51
  async getUsernameById(payload, param) {
52
52
  return this.amqpManager.call('유저 아이디로 이름 조회', 'user.find-one-by-id.username', payload, param, { isErrorThrowing: true });
53
53
  }
54
- /** 유저 알림 정보 포함하여 가져오기 */
55
- async getUserByIdWithNotification(payload, param) {
56
- return this.amqpManager.call('getUserByIdWithNotification', 'GET_USER_BY_ID', payload, param, { isErrorThrowing: true });
57
- }
58
- /** 유저 정보 수정 */
59
- async updateUserById(payload, param) {
60
- return this.amqpManager.call('updateUserById', 'UPDATE_USER_BY_ID', payload, param, { isErrorThrowing: true });
61
- }
62
54
  };
63
55
  exports.AmqpUserService = AmqpUserService;
64
56
  exports.AmqpUserService = AmqpUserService = __decorate([
@@ -1,16 +0,0 @@
1
- import { UserEntity } from '@yolo-croket-dev/entity-v2';
2
- /** 유저 정보 중 알림정보가 포함된 타입 */
3
- export type NotificationUser = Pick<UserEntity, '_id' | 'username' | 'authId' | 'deviceGroupName' | 'receive' | 'phoneCountry' | 'notification'>;
4
- /** 유저 정보 수정 Payload With entity */
5
- export interface UpdateUserByIdPayload extends Partial<UserEntity> {
6
- /** 유저 아이디 */
7
- userId: string;
8
- /** targetArn 리셋 여부 플래그 */
9
- isTargetArnReset?: boolean;
10
- /** 알림함 읽지 않은 갯수 증가 여부 */
11
- isNotificationCountIncrement?: boolean;
12
- /** Firebase Cloud Messaging 디바이스 토큰 그룹 이름 삭제 여부 */
13
- isDeviceGroupNameRemove?: boolean;
14
- /** Firebase Cloud Messaging 디바이스 토큰 삭제 여부 */
15
- isDeviceTokenRemove?: boolean;
16
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });