@veltdev/sdk 2.0.28 → 2.0.30
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.
|
@@ -165,6 +165,7 @@ export declare class CommentAnnotation {
|
|
|
165
165
|
subscribedUsers?: CommentAnnotationSubscribedUsers;
|
|
166
166
|
unsubscribedUsers?: CommentAnnotationUnsubscribedUsers;
|
|
167
167
|
subscribedGroups?: CommentAnnotationSubscribedGroups;
|
|
168
|
+
resolvedByUserId?: string | null;
|
|
168
169
|
}
|
|
169
170
|
export declare class GhostComment {
|
|
170
171
|
targetElement?: TargetElement | null;
|
|
@@ -177,10 +178,10 @@ export declare class GhostComment {
|
|
|
177
178
|
}
|
|
178
179
|
export declare class CommentOnElementConfig {
|
|
179
180
|
targetElement?: {
|
|
180
|
-
targetText
|
|
181
|
-
occurrence
|
|
182
|
-
elementId
|
|
183
|
-
selectAllContent
|
|
181
|
+
targetText?: string;
|
|
182
|
+
occurrence?: number;
|
|
183
|
+
elementId?: string;
|
|
184
|
+
selectAllContent?: boolean;
|
|
184
185
|
};
|
|
185
186
|
commentData?: {
|
|
186
187
|
commentText: string;
|
|
@@ -191,6 +192,8 @@ export declare class CommentOnElementConfig {
|
|
|
191
192
|
replaceContentText?: string;
|
|
192
193
|
}[];
|
|
193
194
|
status?: string;
|
|
195
|
+
context?: any;
|
|
196
|
+
openComment?: boolean;
|
|
194
197
|
}
|
|
195
198
|
export declare class CommentIAMConfig {
|
|
196
199
|
accessMode?: CommentAccessMode;
|
|
@@ -715,6 +715,16 @@ export declare class CommentElement {
|
|
|
715
715
|
* @param data custom list data
|
|
716
716
|
*/
|
|
717
717
|
public createCustomListDataOnComment: (data: AutocompleteData) => void;
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* To enable showing bubble on hover
|
|
721
|
+
*/
|
|
722
|
+
public showBubbleOnHover: () => void;
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* To disable showing bubble on hover
|
|
726
|
+
*/
|
|
727
|
+
public hideBubbleOnHover: () => void;
|
|
718
728
|
constructor();
|
|
719
729
|
/**
|
|
720
730
|
* Subscribe to comments on the current document.
|
|
@@ -1418,4 +1428,14 @@ export declare class CommentElement {
|
|
|
1418
1428
|
* @param data custom list data
|
|
1419
1429
|
*/
|
|
1420
1430
|
private _createCustomListDataOnComment;
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* To enable showing bubble on hover
|
|
1434
|
+
*/
|
|
1435
|
+
private _showBubbleOnHover;
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* To disable showing bubble on hover
|
|
1439
|
+
*/
|
|
1440
|
+
private _hideBubbleOnHover;
|
|
1421
1441
|
}
|
package/app/utils/constants.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.30",
|
|
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": [
|