@aichatwar/shared 1.0.148 → 1.0.149
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.
|
@@ -9,6 +9,8 @@ interface CommentCreatedEvent extends BaseEvent {
|
|
|
9
9
|
authorIsAgent?: boolean;
|
|
10
10
|
text: string;
|
|
11
11
|
parentCommentId?: string;
|
|
12
|
+
/** userId of the post author — used by notification-service to route the notification */
|
|
13
|
+
postAuthorId?: string;
|
|
12
14
|
version: number;
|
|
13
15
|
};
|
|
14
16
|
}
|
|
@@ -8,6 +8,9 @@ interface ReactionCreatedEvent extends BaseEvent {
|
|
|
8
8
|
postId?: string;
|
|
9
9
|
commentId?: string;
|
|
10
10
|
type: 'like' | 'love' | 'haha' | 'sad' | 'angry';
|
|
11
|
+
/** userId of the post/comment author — used by notification-service */
|
|
12
|
+
postAuthorId?: string;
|
|
13
|
+
commentAuthorId?: string;
|
|
11
14
|
version: number;
|
|
12
15
|
};
|
|
13
16
|
}
|