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

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.0",
3
+ "version": "0.0.32-slowquery.2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -20,7 +20,7 @@ export declare class AmqpUserService {
20
20
  checkForProhibitedWords(payload: FilterWordPayload, param: AbstractParam): Promise<FilterWordResult>;
21
21
  getUsernameById(payload: GetUsernameByIdPayload, param: AbstractParam): Promise<any>;
22
22
  /** 유저 알림 정보 포함하여 가져오기 */
23
- getUserByIdWithNotification(payload: GetUsernameByIdPayload, param: AbstractParam): Promise<NotificationUser>;
23
+ getUserByIdWithNotification(payload: GetUsernameByIdPayload, param: AbstractParam): Promise<NotificationUser | null>;
24
24
  /** 유저 정보 수정 */
25
25
  updateUserById(payload: UpdateUserByIdPayload, param: AbstractParam): Promise<void>;
26
26
  }
@@ -3,6 +3,8 @@ import { UserEntity } from '@yolo-croket-dev/entity-v2';
3
3
  export type NotificationUser = Pick<UserEntity, '_id' | 'username' | 'authId' | 'deviceGroupName' | 'receive' | 'phoneCountry' | 'notification'>;
4
4
  /** 유저 정보 수정 Payload With entity */
5
5
  export interface UpdateUserByIdPayload extends Partial<UserEntity> {
6
+ /** 유저 아이디 */
7
+ userId: string;
6
8
  /** targetArn 리셋 여부 플래그 */
7
9
  isTargetArnReset?: boolean;
8
10
  /** 알림함 읽지 않은 갯수 증가 여부 */