@veltdev/sdk-dev 1.0.556 → 1.0.557
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.
- package/app/models/data/cursor-user.data.model.d.ts +4 -0
- package/app/models/data/presence-user.data.model.d.ts +4 -0
- package/app/models/data/user.data.model.d.ts +4 -0
- package/app/models/element/comment-element.model.d.ts +24 -0
- package/app/utils/enums.d.ts +4 -0
- package/package.json +1 -1
- package/velt.js +2 -2
|
@@ -75,6 +75,10 @@ export declare class CursorUser {
|
|
|
75
75
|
* This is the color on the avatar border and live cursor, if these features are enabled.
|
|
76
76
|
*/
|
|
77
77
|
color?: string;
|
|
78
|
+
/**
|
|
79
|
+
* This is the color on the avatar text.
|
|
80
|
+
*/
|
|
81
|
+
textColor?: string;
|
|
78
82
|
/**
|
|
79
83
|
* Server Timestamp.
|
|
80
84
|
*
|
|
@@ -38,6 +38,10 @@ export declare class PresenceUser {
|
|
|
38
38
|
* This is the color on the avatar border and live cursor, if these features are enabled.
|
|
39
39
|
*/
|
|
40
40
|
color?: string;
|
|
41
|
+
/**
|
|
42
|
+
* This is the color on the avatar text.
|
|
43
|
+
*/
|
|
44
|
+
textColor?: string;
|
|
41
45
|
/**
|
|
42
46
|
* Server Timestamp.
|
|
43
47
|
*
|
|
@@ -655,6 +655,18 @@ export declare class CommentElement {
|
|
|
655
655
|
* Returns Observable<{count: string} | null>.
|
|
656
656
|
*/
|
|
657
657
|
public getUnreadCommentCountOnCurrentDocument: () => Observable<{ count: number } | null>;
|
|
658
|
+
/**
|
|
659
|
+
* Subscribe to unread comments annotation count by location id
|
|
660
|
+
*
|
|
661
|
+
* Returns Observable<{count: string} | null>.
|
|
662
|
+
*/
|
|
663
|
+
public getUnreadCommentAnnotationCountByLocationId: (locationId: string) => Observable<{ count: number } | null>;
|
|
664
|
+
/**
|
|
665
|
+
* Subscribe to unread comments count by location id
|
|
666
|
+
*
|
|
667
|
+
* Returns Observable<{count: string} | null>.
|
|
668
|
+
*/
|
|
669
|
+
public getUnreadCommentCountByLocationId: (locationId: string) => Observable<{ count: number } | null>;
|
|
658
670
|
constructor();
|
|
659
671
|
/**
|
|
660
672
|
* Subscribe to comments on the current document.
|
|
@@ -1301,4 +1313,16 @@ export declare class CommentElement {
|
|
|
1301
1313
|
* @returns Observable<{count: string} | null>.
|
|
1302
1314
|
*/
|
|
1303
1315
|
private _getUnreadCommentCountOnCurrentDocument;
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* To get unread comments annotation count by location id
|
|
1319
|
+
* @returns Observable<{count: string} | null>.
|
|
1320
|
+
*/
|
|
1321
|
+
private _getUnreadCommentAnnotationCountByLocationId;
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* To get unread comments count by location id
|
|
1325
|
+
* @returns Observable<{count: string} | null>.
|
|
1326
|
+
*/
|
|
1327
|
+
private _getUnreadCommentCountByLocationId;
|
|
1304
1328
|
}
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -106,6 +106,10 @@ export declare enum ComposerMode {
|
|
|
106
106
|
DEFAULT = "default",
|
|
107
107
|
EXPANDED = "expanded"
|
|
108
108
|
}
|
|
109
|
+
export declare enum CommentCountType {
|
|
110
|
+
TOTAL = "total",
|
|
111
|
+
UNREAD = "unread"
|
|
112
|
+
}
|
|
109
113
|
export declare enum ServerConnectionState {
|
|
110
114
|
ONLINE = "online",
|
|
111
115
|
OFFLINE = "offline",
|