@veltdev/types-dev 3.0.260 → 3.0.262
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.
|
@@ -62,6 +62,9 @@ export interface DeleteCommentAnnotationRequest {
|
|
|
62
62
|
export interface GetCommentAnnotationRequest {
|
|
63
63
|
options?: RequestOptions;
|
|
64
64
|
}
|
|
65
|
+
export interface GetCommentAnnotationsCountRequest {
|
|
66
|
+
options?: RequestOptions;
|
|
67
|
+
}
|
|
65
68
|
export interface SubscribeCommentAnnotationRequest {
|
|
66
69
|
annotationId: string;
|
|
67
70
|
options?: RequestOptions;
|
|
@@ -130,6 +130,15 @@ export interface GetCommentAnnotationEvent {
|
|
|
130
130
|
commentAnnotations: CommentAnnotation[];
|
|
131
131
|
metadata: VeltEventMetadata;
|
|
132
132
|
}
|
|
133
|
+
export interface GetCommentAnnotationResponse {
|
|
134
|
+
[documentId: string]: CommentAnnotation[];
|
|
135
|
+
}
|
|
136
|
+
export interface GetCommentAnnotationsCountResponse {
|
|
137
|
+
[documentId: string]: {
|
|
138
|
+
total: number;
|
|
139
|
+
unread: number;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
133
142
|
export interface SubscribeCommentAnnotationEvent {
|
|
134
143
|
annotationId: string;
|
|
135
144
|
commentAnnotation: CommentAnnotation;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BaseMetadata } from "./base-metadata.data.model";
|
|
1
2
|
import { Location } from "./location.model";
|
|
2
3
|
export declare class Views {
|
|
3
4
|
comment?: CommentViews;
|
|
@@ -33,18 +34,20 @@ export declare class ViewsByUser {
|
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
export declare class CommentViews {
|
|
36
|
-
[commentAnnotationId: string]:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
[commentAnnotationId: string]: CommentAnnotationViews;
|
|
38
|
+
}
|
|
39
|
+
export declare class CommentAnnotationViews {
|
|
40
|
+
views: {
|
|
41
|
+
[userSnippylyId: string]: View;
|
|
42
|
+
};
|
|
43
|
+
comments: {
|
|
44
|
+
[commentId: string]: {
|
|
45
|
+
views: {
|
|
46
|
+
[userSnippylyId: string]: View;
|
|
45
47
|
};
|
|
46
48
|
};
|
|
47
49
|
};
|
|
50
|
+
metadata?: BaseMetadata;
|
|
48
51
|
}
|
|
49
52
|
export declare class DocumentViews {
|
|
50
53
|
users: ViewsByUser;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.262",
|
|
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": [
|