@veltdev/types-dev 3.0.255 → 3.0.257
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/area-annotation.data.model.d.ts +3 -3
- package/app/models/data/base-metadata.data.model.d.ts +1 -0
- package/app/models/data/comment-actions.data.model.d.ts +1 -0
- package/app/models/data/comment-events.data.model.d.ts +2 -2
- package/app/models/data/core-events.data.model.d.ts +1 -2
- package/app/models/data/recorder-annotation.data.model.d.ts +4 -0
- package/app/models/data/views.data.model.d.ts +20 -18
- package/app/utils/constants.d.ts +1 -0
- package/app/utils/enums.d.ts +3 -4
- package/package.json +1 -1
|
@@ -54,9 +54,6 @@ export declare class AreaAnnotation {
|
|
|
54
54
|
targetAnnotations: AreaTargetAnnotation[];
|
|
55
55
|
metadata?: AreaMetadata;
|
|
56
56
|
}
|
|
57
|
-
export declare class AreaMetadata extends BaseMetadata {
|
|
58
|
-
[key: string]: any;
|
|
59
|
-
}
|
|
60
57
|
export declare class AreaTargetAnnotation {
|
|
61
58
|
/**
|
|
62
59
|
* Type of the annotation (ex. comment, tag etc.)
|
|
@@ -77,3 +74,6 @@ export declare class AreaProperty {
|
|
|
77
74
|
handle2?: any;
|
|
78
75
|
coordinates?: any;
|
|
79
76
|
}
|
|
77
|
+
export declare class AreaMetadata extends BaseMetadata {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
}
|
|
@@ -75,8 +75,8 @@ export type CommentEventTypesMap = {
|
|
|
75
75
|
[CommentEventTypes.ADD_REACTION]: AddReactionEvent;
|
|
76
76
|
[CommentEventTypes.DELETE_REACTION]: DeleteReactionEvent;
|
|
77
77
|
[CommentEventTypes.TOGGLE_REACTION]: ToggleReactionEvent;
|
|
78
|
-
[CommentEventTypes.
|
|
79
|
-
[CommentEventTypes.
|
|
78
|
+
[CommentEventTypes.COMMENT_SIDEBAR_DATA_INIT]: CommentSidebarCustomActionEventData;
|
|
79
|
+
[CommentEventTypes.COMMENT_SIDEBAR_DATA_UPDATE]: CommentSidebarCustomActionEventData;
|
|
80
80
|
};
|
|
81
81
|
export interface AddAttachmentEvent {
|
|
82
82
|
annotationId: string;
|
|
@@ -13,6 +13,10 @@ export declare class RecorderAnnotation {
|
|
|
13
13
|
* Auto generated.
|
|
14
14
|
*/
|
|
15
15
|
annotationId: string;
|
|
16
|
+
/**
|
|
17
|
+
* Connected comment annotation id of reaction annotation
|
|
18
|
+
*/
|
|
19
|
+
commentAnnotationId?: string;
|
|
16
20
|
/**
|
|
17
21
|
* The user who created this recorder pin annotation.
|
|
18
22
|
*
|
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
import { Location } from "./location.model";
|
|
2
2
|
export declare class Views {
|
|
3
|
-
comment?:
|
|
4
|
-
[commentAnnotationId: string]: {
|
|
5
|
-
views: {
|
|
6
|
-
[userSnippylyId: string]: View;
|
|
7
|
-
};
|
|
8
|
-
comments: {
|
|
9
|
-
[commentId: string]: {
|
|
10
|
-
views: {
|
|
11
|
-
[userSnippylyId: string]: View;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
3
|
+
comment?: CommentViews;
|
|
17
4
|
notification?: {
|
|
18
5
|
[notificationId: string]: {
|
|
19
6
|
views: {
|
|
@@ -22,10 +9,7 @@ export declare class Views {
|
|
|
22
9
|
};
|
|
23
10
|
};
|
|
24
11
|
documentViews?: {
|
|
25
|
-
[documentId: string]:
|
|
26
|
-
users: ViewsByUser;
|
|
27
|
-
day: ViewsByDate;
|
|
28
|
-
};
|
|
12
|
+
[documentId: string]: DocumentViews;
|
|
29
13
|
};
|
|
30
14
|
locationViews?: {
|
|
31
15
|
[locationId: string]: {
|
|
@@ -48,3 +32,21 @@ export declare class ViewsByUser {
|
|
|
48
32
|
[date: string]: View;
|
|
49
33
|
};
|
|
50
34
|
}
|
|
35
|
+
export declare class CommentViews {
|
|
36
|
+
[commentAnnotationId: string]: {
|
|
37
|
+
views: {
|
|
38
|
+
[userSnippylyId: string]: View;
|
|
39
|
+
};
|
|
40
|
+
comments: {
|
|
41
|
+
[commentId: string]: {
|
|
42
|
+
views: {
|
|
43
|
+
[userSnippylyId: string]: View;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export declare class DocumentViews {
|
|
50
|
+
users: ViewsByUser;
|
|
51
|
+
day: ViewsByDate;
|
|
52
|
+
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -271,6 +271,7 @@ export declare class Constants {
|
|
|
271
271
|
VELT_RECORDER_DISABLED: string;
|
|
272
272
|
VELT_ANNOTATION_DRAFT: string;
|
|
273
273
|
VELT_ANNOTATION_EDIT_COMMENT: string;
|
|
274
|
+
VELT_DOCUMENT_ID: string;
|
|
274
275
|
VELT_LOCATION: string;
|
|
275
276
|
VELT_LOCATION_ID: string;
|
|
276
277
|
VELT_THEME: string;
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -39,12 +39,11 @@ export declare const CommentEventTypes: {
|
|
|
39
39
|
readonly ADD_REACTION: "addReaction";
|
|
40
40
|
readonly DELETE_REACTION: "deleteReaction";
|
|
41
41
|
readonly TOGGLE_REACTION: "toggleReaction";
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
42
|
+
readonly COMMENT_SIDEBAR_DATA_INIT: "commentSidebarDataInit";
|
|
43
|
+
readonly COMMENT_SIDEBAR_DATA_UPDATE: "commentSidebarDataUpdate";
|
|
44
44
|
};
|
|
45
45
|
export declare const CoreEventTypes: {
|
|
46
|
-
readonly
|
|
47
|
-
readonly ACTIVE_VELT_BUTTON: "activeVeltButton";
|
|
46
|
+
readonly VELT_BUTTON_CLICK: "veltButtonClick";
|
|
48
47
|
};
|
|
49
48
|
export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
|
|
50
49
|
export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.257",
|
|
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": [
|