@veltdev/sdk 5.0.0-beta.10 → 5.0.0-beta.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.
|
@@ -54,6 +54,8 @@ export type CommentVisibilityType = 'public' | 'organization' | 'self';
|
|
|
54
54
|
export interface CommentVisibilityConfig {
|
|
55
55
|
/** The type of visibility for the comment */
|
|
56
56
|
type: CommentVisibilityType;
|
|
57
|
+
/** Annotation ID for the comment to update visibility */
|
|
58
|
+
annotationId?: string;
|
|
57
59
|
/** Organization ID for 'organization' type visibility */
|
|
58
60
|
organizationId?: string;
|
|
59
61
|
/** User IDs for 'self' type visibility - array of user IDs who can see the comment */
|
|
@@ -825,11 +825,10 @@ export declare class CommentElement {
|
|
|
825
825
|
|
|
826
826
|
/**
|
|
827
827
|
* Updates the visibility of a comment annotation.
|
|
828
|
-
* @param
|
|
829
|
-
* @param visibility Visibility configuration (public, organization, or self)
|
|
828
|
+
* @param visibility Visibility configuration (public, organization, or self) including annotationId
|
|
830
829
|
* @returns Promise<any>
|
|
831
830
|
*/
|
|
832
|
-
public updateVisibility: (
|
|
831
|
+
public updateVisibility: (visibility: CommentVisibilityConfig) => Promise<any>;
|
|
833
832
|
|
|
834
833
|
/**
|
|
835
834
|
* Subscribe to selected comments
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.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": [
|