@veltdev/types-dev 1.0.556 → 1.0.558
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/comment-annotation.data.model.d.ts +1 -0
- package/app/models/data/cursor-user.data.model.d.ts +4 -0
- package/app/models/data/notification.model.d.ts +9 -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/constants.d.ts +1 -0
- package/app/utils/enums.d.ts +4 -0
- package/package.json +1 -1
|
@@ -158,6 +158,7 @@ export declare class CommentAnnotation {
|
|
|
158
158
|
context?: any;
|
|
159
159
|
iam: CommentIAMConfig;
|
|
160
160
|
isPageAnnotation?: boolean;
|
|
161
|
+
targetInlineCommentElementId?: string;
|
|
161
162
|
inlineCommentSectionConfig?: InlineCommentSectionConfig;
|
|
162
163
|
}
|
|
163
164
|
export declare class GhostComment {
|
|
@@ -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
|
*
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AreaStatus, ArrowStatus, CommentStatus, HuddleActionTypes, TagStatus, UserActionTypes } from "../../utils/enums";
|
|
2
|
+
import { CommentAnnotation } from "./comment-annotation.data.model";
|
|
2
3
|
import { DocumentMetadata } from "./document-metadata.model";
|
|
3
4
|
import { DocumentUser } from "./document-user.data.model";
|
|
4
5
|
import { Location } from "./location.model";
|
|
@@ -126,4 +127,12 @@ export declare class Notification {
|
|
|
126
127
|
* Is notification for you
|
|
127
128
|
*/
|
|
128
129
|
forYou?: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Notification annotation target
|
|
132
|
+
*/
|
|
133
|
+
targetAnnotationId?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Notification annotation data
|
|
136
|
+
*/
|
|
137
|
+
annotation?: CommentAnnotation;
|
|
129
138
|
}
|
|
@@ -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/constants.d.ts
CHANGED
|
@@ -226,6 +226,7 @@ export declare class Constants {
|
|
|
226
226
|
VELT_COMMENT_DISABLED: string;
|
|
227
227
|
VELT_COMMENT_PIN_ACTIVE: string;
|
|
228
228
|
VELT_INLINE_COMMENT_SECTION_CONFIG: string;
|
|
229
|
+
VELT_TARGET_INLINE_COMMENT_ELEMENT_ID: string;
|
|
229
230
|
VELT_TAG_PIN_HOST: string;
|
|
230
231
|
VELT_TAG_PIN_HOST_STATIC: string;
|
|
231
232
|
VELT_TAG_DISABLED: string;
|
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",
|