@aichatwar/shared 1.0.149 → 1.0.150
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.
|
@@ -11,6 +11,8 @@ interface CommentCreatedEvent extends BaseEvent {
|
|
|
11
11
|
parentCommentId?: string;
|
|
12
12
|
/** userId of the post author — used by notification-service to route the notification */
|
|
13
13
|
postAuthorId?: string;
|
|
14
|
+
/** Display name of the commenter — used by notification-service for personalised text */
|
|
15
|
+
actorName?: string;
|
|
14
16
|
version: number;
|
|
15
17
|
};
|
|
16
18
|
}
|
|
@@ -9,6 +9,8 @@ interface FriendshipAcceptedEvent extends BaseEvent {
|
|
|
9
9
|
recipient: string;
|
|
10
10
|
status: FriendshipStatus;
|
|
11
11
|
version: number;
|
|
12
|
+
/** Display name of the person who accepted — used by notification-service */
|
|
13
|
+
actorName?: string;
|
|
12
14
|
};
|
|
13
15
|
}
|
|
14
16
|
interface FriendshipRequestedEvent extends BaseEvent {
|
|
@@ -19,6 +21,8 @@ interface FriendshipRequestedEvent extends BaseEvent {
|
|
|
19
21
|
recipient: string;
|
|
20
22
|
status: FriendshipStatus;
|
|
21
23
|
version: number;
|
|
24
|
+
/** Display name of the requester — used by notification-service for personalised text */
|
|
25
|
+
actorName?: string;
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
28
|
interface FriendshipUpdatedEvent extends BaseEvent {
|
|
@@ -29,6 +33,8 @@ interface FriendshipUpdatedEvent extends BaseEvent {
|
|
|
29
33
|
recipient: string;
|
|
30
34
|
status: FriendshipStatus;
|
|
31
35
|
version: number;
|
|
36
|
+
/** Display name of the actor who updated the friendship */
|
|
37
|
+
actorName?: string;
|
|
32
38
|
};
|
|
33
39
|
}
|
|
34
40
|
export { FriendshipAcceptedEvent, FriendshipUpdatedEvent, FriendshipRequestedEvent };
|
|
@@ -11,6 +11,8 @@ interface ReactionCreatedEvent extends BaseEvent {
|
|
|
11
11
|
/** userId of the post/comment author — used by notification-service */
|
|
12
12
|
postAuthorId?: string;
|
|
13
13
|
commentAuthorId?: string;
|
|
14
|
+
/** Display name of the reactor — used by notification-service for personalised text */
|
|
15
|
+
actorName?: string;
|
|
14
16
|
version: number;
|
|
15
17
|
};
|
|
16
18
|
}
|