@opencxh/domain 1.174.0 → 1.176.0
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.
|
@@ -190,6 +190,13 @@ export type MeetingEndedPayload = MeetingPayload & {
|
|
|
190
190
|
export type CommentAddedPayload = {
|
|
191
191
|
text: string;
|
|
192
192
|
mentions?: string[];
|
|
193
|
+
/**
|
|
194
|
+
* The composer's markup, with mentions as `data-mention-id` spans. Optional and additive:
|
|
195
|
+
* `text` stays the plain reading of the same comment, so everything that consumes a comment
|
|
196
|
+
* without rendering it — AI prompts, search, notifications, the native app — is unaffected,
|
|
197
|
+
* and a comment written before this existed still renders from `text`.
|
|
198
|
+
*/
|
|
199
|
+
html?: string;
|
|
193
200
|
};
|
|
194
201
|
export type FileUploadedPayload = {
|
|
195
202
|
fileName: string;
|
|
@@ -26,8 +26,10 @@ export interface WorkActivity {
|
|
|
26
26
|
* "the customer answered" and would wake every waiting assignment on the item.
|
|
27
27
|
*/
|
|
28
28
|
direction: "internal";
|
|
29
|
+
/** `html` is the composer's markup for a comment; `text` stays the plain reading of it. */
|
|
29
30
|
payload: {
|
|
30
31
|
text?: string;
|
|
32
|
+
html?: string;
|
|
31
33
|
mentions?: string[];
|
|
32
34
|
assigneeId?: string;
|
|
33
35
|
};
|