@yolo-croket-dev/entity-v2 0.2.19-jun.2 → 0.2.19-jun.4

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.
@@ -1,6 +1,13 @@
1
1
  import { Types } from 'mongoose';
2
2
  export interface ChatContentGroupEntity {
3
3
  _id: Types.ObjectId | string;
4
+ /**
5
+ * 유니크 키
6
+ * ${chatRoomId}_${chatContentGroupIndex}
7
+ * */
8
+ uniqueKey: string;
9
+ /** 채팅 그룹 순서 (0부터 시작) */
10
+ chatContentGroupIndex: number;
4
11
  /** 메시지 룸 아이디 */
5
12
  chatRoomId: Types.ObjectId | string;
6
13
  buyerId: Types.ObjectId | string;
@@ -46,4 +46,6 @@ export interface ChatContentEntity {
46
46
  msgInfo?: ChatContentMsgInfo;
47
47
  isRead: boolean;
48
48
  isAutoReply?: boolean;
49
+ /** chat content group sync 여부 */
50
+ isGroupSync?: boolean;
49
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.19-jun.2",
3
+ "version": "0.2.19-jun.4",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -222,5 +222,7 @@ export default class StoreEntity {
222
222
  adminDesignatedAutoReplyMessage?: string;
223
223
  /** @description 스토어 고정 콘텐츠 */
224
224
  storeFixedContents?: StoreFixedContent[];
225
+ /** @description 마지막 목표금액 도달 정산 일자 */
226
+ lastProceedsGoalSettleDate?: Date;
225
227
  }
226
228
  export { StoreEntity };