@veltdev/types 6.0.6 → 6.0.8-beta.1

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.
@@ -742,6 +742,15 @@ export declare class CommentElement {
742
742
  */
743
743
  public showResolvedCommentsOnDom: () => void;
744
744
 
745
+ /**
746
+ * Stop downloading resolved (terminal-status) comments on the initial fetch. They load on demand
747
+ * the first time the user asks to see them. Default: disabled.
748
+ */
749
+ public enableLazyLoadResolvedComments: () => void;
750
+
751
+ /** Re-enable fetching resolved comments on the initial fetch. Takes effect immediately. */
752
+ public disableLazyLoadResolvedComments: () => void;
753
+
745
754
  /**
746
755
  * To hide resolved comments on DOM
747
756
  */
@@ -1277,6 +1286,19 @@ export declare class CommentElement {
1277
1286
  */
1278
1287
  public disableDraftMode: () => void;
1279
1288
 
1289
+ /**
1290
+ * To enable the draft-confirmation popup: before Velt persists an unsent composer as a
1291
+ * draft, ask the user whether to keep or delete it. Requires draft mode to also be
1292
+ * enabled. Defaults to disabled.
1293
+ */
1294
+ public enableDraftConfirmation: () => void;
1295
+
1296
+ /**
1297
+ * To disable the draft-confirmation popup. Unsent composer content is then persisted
1298
+ * as a draft silently, which is the default behaviour.
1299
+ */
1300
+ public disableDraftConfirmation: () => void;
1301
+
1280
1302
  /**
1281
1303
  * To enable filter comments on dom
1282
1304
  */
@@ -2108,6 +2130,15 @@ export declare class CommentElement {
2108
2130
  */
2109
2131
  private _disableChangeDetectionInCommentMode;
2110
2132
 
2133
+ /**
2134
+ * Stop downloading resolved (terminal-status) comments on the initial fetch. They load on demand
2135
+ * the first time the user asks to see them. Default: disabled.
2136
+ */
2137
+ private _enableLazyLoadResolvedComments;
2138
+
2139
+ /** Re-enable fetching resolved comments on the initial fetch. Takes effect immediately. */
2140
+ private _disableLazyLoadResolvedComments;
2141
+
2111
2142
  /**
2112
2143
  * To show resolved comments on DOM
2113
2144
  */
@@ -2628,6 +2659,16 @@ export declare class CommentElement {
2628
2659
  */
2629
2660
  private _disableDraftMode;
2630
2661
 
2662
+ /**
2663
+ * To enable the draft-confirmation popup
2664
+ */
2665
+ private _enableDraftConfirmation;
2666
+
2667
+ /**
2668
+ * To disable the draft-confirmation popup
2669
+ */
2670
+ private _disableDraftConfirmation;
2671
+
2631
2672
  /**
2632
2673
  * To enable filter comments on dom
2633
2674
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types",
3
- "version": "6.0.6",
3
+ "version": "6.0.8-beta.1",
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": [