@veltdev/sdk 4.5.6-beta.16 → 4.5.6-beta.17

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.
@@ -189,6 +189,7 @@ export declare class CommentAnnotation {
189
189
  sourceId?: string;
190
190
  views?: CommentAnnotationViews;
191
191
  viewedByUserIds?: string[];
192
+ viewedBy?: User[];
192
193
  }
193
194
  export declare class GhostComment {
194
195
  targetElement?: TargetElement | null;
@@ -1,5 +1,6 @@
1
1
  import { Attachment } from "./attachment.model";
2
2
  import { AutocompleteGroupReplaceData, AutocompleteReplaceData, AutocompleteUserContactReplaceData } from "./autocomplete.data.model";
3
+ import { ReactionAnnotation } from "./reaction-annotation.data.model";
3
4
  import { RecordedData } from "./recorder.model";
4
5
  import { User } from "./user.data.model";
5
6
  export declare class Comment {
@@ -86,4 +87,5 @@ export declare class Comment {
86
87
  *
87
88
  */
88
89
  isEdited?: boolean;
90
+ reactionAnnotations?: ReactionAnnotation[];
89
91
  }
@@ -1244,6 +1244,16 @@ export declare class CommentElement {
1244
1244
  */
1245
1245
  public disableForceCloseAllOnEsc: () => void;
1246
1246
 
1247
+ /**
1248
+ * To mark comment annotation as read
1249
+ */
1250
+ public markAsRead: (annotationId: string) => Promise<void>;
1251
+
1252
+ /**
1253
+ * To mark comment annotation as unread
1254
+ */
1255
+ public markAsUnread: (annotationId: string) => Promise<void>;
1256
+
1247
1257
  constructor();
1248
1258
  /**
1249
1259
  * Subscribe to comments on the current document.
@@ -2466,4 +2476,14 @@ export declare class CommentElement {
2466
2476
  * To disable force close all on esc
2467
2477
  */
2468
2478
  private _disableForceCloseAllOnEsc;
2479
+
2480
+ /**
2481
+ * To mark comment annotation as read
2482
+ */
2483
+ private _markAsRead;
2484
+
2485
+ /**
2486
+ * To mark comment annotation as unread
2487
+ */
2488
+ private _markAsUnread;
2469
2489
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "4.5.6-beta.16",
3
+ "version": "4.5.6-beta.17",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [