@veltdev/sdk 3.0.26 → 3.0.28
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.
|
@@ -779,6 +779,41 @@ export declare class CommentElement {
|
|
|
779
779
|
*/
|
|
780
780
|
public getSelectedComments: () => Observable<CommentAnnotation[]>;
|
|
781
781
|
|
|
782
|
+
/**
|
|
783
|
+
* To enable delete reply confirmation
|
|
784
|
+
*/
|
|
785
|
+
public enableDeleteReplyConfirmation: () => void;
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* To disable delete reply confirmation
|
|
789
|
+
*/
|
|
790
|
+
public disableDeleteReplyConfirmation: () => void;
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* Subscribe to copy link
|
|
794
|
+
* @returns link to be copied
|
|
795
|
+
*/
|
|
796
|
+
public onCopyLink: () => Observable<string>;
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* To get comment annotation by id
|
|
800
|
+
* @param annotationId Annotation Id
|
|
801
|
+
* @param documentId Document Id
|
|
802
|
+
* @returns Observable<CommentAnnotation | null>
|
|
803
|
+
*/
|
|
804
|
+
public getCommentAnnotationById: (annotationId: string, documentId?: string) => Observable<CommentAnnotation | null>;
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* To enable collapsed comment
|
|
808
|
+
*/
|
|
809
|
+
public enableCollapsedComment: () => void;
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* To disable collapsed comment
|
|
813
|
+
*/
|
|
814
|
+
public disableCollapsedComment: () => void;
|
|
815
|
+
|
|
816
|
+
|
|
782
817
|
constructor();
|
|
783
818
|
/**
|
|
784
819
|
* Subscribe to comments on the current document.
|
|
@@ -1545,4 +1580,38 @@ export declare class CommentElement {
|
|
|
1545
1580
|
* @returns list of selected comments
|
|
1546
1581
|
*/
|
|
1547
1582
|
private _getSelectedComments;
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* To enable delete reply confirmation
|
|
1586
|
+
*/
|
|
1587
|
+
private _enableDeleteReplyConfirmation;
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* To disable delete reply confirmation
|
|
1591
|
+
*/
|
|
1592
|
+
private _disableDeleteReplyConfirmation;
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* Subscribe to copy link
|
|
1596
|
+
* @returns link to be copied
|
|
1597
|
+
*/
|
|
1598
|
+
private _onCopyLink;
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* To get comment annotation by id
|
|
1602
|
+
* @param annotationId Annotation Id
|
|
1603
|
+
* @param documentId Document Id
|
|
1604
|
+
* @returns Observable<CommentAnnotation | null>
|
|
1605
|
+
*/
|
|
1606
|
+
private _getCommentAnnotationById;
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* To enable collapsed comment
|
|
1610
|
+
*/
|
|
1611
|
+
private _enableCollapsedComment;
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* To disable collapsed comment
|
|
1615
|
+
*/
|
|
1616
|
+
private _disableCollapsedComment;
|
|
1548
1617
|
}
|
|
@@ -42,6 +42,11 @@ export declare class NotificationElement {
|
|
|
42
42
|
* To disable read notifications on for you tab
|
|
43
43
|
*/
|
|
44
44
|
disableReadNotificationsOnForYouTab: () => void;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* To set all notifications as read
|
|
48
|
+
*/
|
|
49
|
+
setAllNotificationsAsRead: ({ tabId }: { tabId: 'for-you' | 'all' | 'document' | 'people' }) => void;
|
|
45
50
|
constructor();
|
|
46
51
|
|
|
47
52
|
/**
|
|
@@ -83,4 +88,9 @@ export declare class NotificationElement {
|
|
|
83
88
|
* To disable read notifications on for you tab
|
|
84
89
|
*/
|
|
85
90
|
private _disableReadNotificationsOnForYouTab;
|
|
86
|
-
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* To set all notifications as read
|
|
94
|
+
*/
|
|
95
|
+
private _setAllNotificationsAsRead;
|
|
96
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.28",
|
|
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": [
|