@veltdev/sdk 3.0.10 → 3.0.11
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
-
import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig } from "../data/comment-annotation.data.model";
|
|
3
|
+
import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
|
|
4
4
|
import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
|
|
5
5
|
import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
|
|
6
6
|
import { AutocompleteData } from "../data/autocomplete.data.model";
|
|
@@ -752,6 +752,15 @@ export declare class CommentElement {
|
|
|
752
752
|
*/
|
|
753
753
|
public disableMultiThreadMode: () => void;
|
|
754
754
|
|
|
755
|
+
/**
|
|
756
|
+
* To update context of comment annotation
|
|
757
|
+
* @param annotationId Comment annotation id
|
|
758
|
+
* @param context Context to be updated
|
|
759
|
+
* @param config Update context config
|
|
760
|
+
* @returns Promise<any>
|
|
761
|
+
*/
|
|
762
|
+
public updateContext: (annotationId: string, context: any, config?: UpdateContextConfig) => Promise<any>;
|
|
763
|
+
|
|
755
764
|
constructor();
|
|
756
765
|
/**
|
|
757
766
|
* Subscribe to comments on the current document.
|
|
@@ -1491,4 +1500,13 @@ export declare class CommentElement {
|
|
|
1491
1500
|
* To disable multi thread mode
|
|
1492
1501
|
*/
|
|
1493
1502
|
private _disableMultiThreadMode;
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* To update context of comment annotation
|
|
1506
|
+
* @param annotationId Comment annotation id
|
|
1507
|
+
* @param context Context to be updated
|
|
1508
|
+
* @param config Update context config
|
|
1509
|
+
* @returns Promise<any>
|
|
1510
|
+
*/
|
|
1511
|
+
private _updateContext;
|
|
1494
1512
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
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": [
|