@veltdev/types-dev 4.5.2-beta.13 → 4.5.2-beta.15

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.
@@ -79,6 +79,7 @@ export type CommentEventTypesMap = {
79
79
  [CommentEventTypes.COMMENT_SIDEBAR_DATA_UPDATE]: CommentSidebarDataUpdateEvent;
80
80
  [CommentEventTypes.AUTOCOMPLETE_SEARCH]: AutocompleteSearchEvent;
81
81
  [CommentEventTypes.COMPOSER_CLICKED]: ComposerClickedEvent;
82
+ [CommentEventTypes.LINK_CLICKED]: LinkClickedEvent;
82
83
  };
83
84
  export interface AddAttachmentEvent {
84
85
  annotationId: string;
@@ -255,3 +256,10 @@ export interface ComposerClickedEvent {
255
256
  commentAnnotation?: CommentAnnotation;
256
257
  metadata?: VeltEventMetadata;
257
258
  }
259
+ export interface LinkClickedEvent {
260
+ text: string;
261
+ link: string;
262
+ commentAnnotation: CommentAnnotation;
263
+ commentId: Number;
264
+ metadata?: VeltEventMetadata;
265
+ }
@@ -1208,6 +1208,16 @@ export declare class CommentElement {
1208
1208
  */
1209
1209
  public disableFilterGhostCommentsInSidebar: () => void;
1210
1210
 
1211
+ /**
1212
+ * To enable link callback
1213
+ */
1214
+ public enableLinkCallback: () => void;
1215
+
1216
+ /**
1217
+ * To disable link callback
1218
+ */
1219
+ public disableLinkCallback: () => void;
1220
+
1211
1221
  constructor();
1212
1222
  /**
1213
1223
  * Subscribe to comments on the current document.
@@ -2395,4 +2405,14 @@ export declare class CommentElement {
2395
2405
  * To disable filter ghost comments in sidebar
2396
2406
  */
2397
2407
  private _disableFilterGhostCommentsInSidebar;
2398
- }
2408
+
2409
+ /**
2410
+ * To enable link callback
2411
+ */
2412
+ private _enableLinkCallback;
2413
+
2414
+ /**
2415
+ * To disable link callback
2416
+ */
2417
+ private _disableLinkCallback;
2418
+ }
@@ -56,6 +56,7 @@ export declare const CommentEventTypes: {
56
56
  readonly COMMENT_SIDEBAR_DATA_UPDATE: "commentSidebarDataUpdate";
57
57
  readonly AUTOCOMPLETE_SEARCH: "autocompleteSearch";
58
58
  readonly COMPOSER_CLICKED: "composerClicked";
59
+ readonly LINK_CLICKED: "linkClicked";
59
60
  };
60
61
  export declare const RecorderEventTypes: {
61
62
  readonly TRANSCRIPTION_DONE: "transcriptionDone";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.5.2-beta.13",
3
+ "version": "4.5.2-beta.15",
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": [