@veltdev/sdk 3.0.28 → 3.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.
|
@@ -801,17 +801,17 @@ export declare class CommentElement {
|
|
|
801
801
|
* @param documentId Document Id
|
|
802
802
|
* @returns Observable<CommentAnnotation | null>
|
|
803
803
|
*/
|
|
804
|
-
public getCommentAnnotationById: (annotationId: string, documentId?: string) => Observable<CommentAnnotation | null>;
|
|
804
|
+
public getCommentAnnotationById: (config: {annotationId: string, documentId?: string}) => Observable<CommentAnnotation | null>;
|
|
805
805
|
|
|
806
806
|
/**
|
|
807
807
|
* To enable collapsed comment
|
|
808
808
|
*/
|
|
809
|
-
public
|
|
809
|
+
public enableCollapsedComments: () => void;
|
|
810
810
|
|
|
811
811
|
/**
|
|
812
812
|
* To disable collapsed comment
|
|
813
813
|
*/
|
|
814
|
-
public
|
|
814
|
+
public disableCollapsedComments: () => void;
|
|
815
815
|
|
|
816
816
|
|
|
817
817
|
constructor();
|
|
@@ -1599,8 +1599,7 @@ export declare class CommentElement {
|
|
|
1599
1599
|
|
|
1600
1600
|
/**
|
|
1601
1601
|
* To get comment annotation by id
|
|
1602
|
-
* @param
|
|
1603
|
-
* @param documentId Document Id
|
|
1602
|
+
* @param config Comment annotation config
|
|
1604
1603
|
* @returns Observable<CommentAnnotation | null>
|
|
1605
1604
|
*/
|
|
1606
1605
|
private _getCommentAnnotationById;
|
|
@@ -1608,10 +1607,10 @@ export declare class CommentElement {
|
|
|
1608
1607
|
/**
|
|
1609
1608
|
* To enable collapsed comment
|
|
1610
1609
|
*/
|
|
1611
|
-
private
|
|
1610
|
+
private _enableCollapsedComments;
|
|
1612
1611
|
|
|
1613
1612
|
/**
|
|
1614
1613
|
* To disable collapsed comment
|
|
1615
1614
|
*/
|
|
1616
|
-
private
|
|
1615
|
+
private _disableCollapsedComments;
|
|
1617
1616
|
}
|
|
@@ -46,7 +46,12 @@ export declare class NotificationElement {
|
|
|
46
46
|
/**
|
|
47
47
|
* To set all notifications as read
|
|
48
48
|
*/
|
|
49
|
-
setAllNotificationsAsRead: (
|
|
49
|
+
setAllNotificationsAsRead: (config?: { tabId: 'for-you' | 'all' | 'document' | 'people' }) => void;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* To get unread notifications count
|
|
53
|
+
*/
|
|
54
|
+
getUnreadNotificationsCount: () => Observable<{ forYou: number | null, all: number | null }>;
|
|
50
55
|
constructor();
|
|
51
56
|
|
|
52
57
|
/**
|
|
@@ -93,4 +98,9 @@ export declare class NotificationElement {
|
|
|
93
98
|
* To set all notifications as read
|
|
94
99
|
*/
|
|
95
100
|
private _setAllNotificationsAsRead;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* To get unread notifications count
|
|
104
|
+
*/
|
|
105
|
+
private _getUnreadNotificationsCount;
|
|
96
106
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.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": [
|