@veltdev/sdk 5.0.2-beta.20 → 5.0.2-beta.22
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.
|
@@ -67,6 +67,7 @@ export type CommentEventTypesMap = {
|
|
|
67
67
|
[CommentEventTypes.UPDATE_ACCESS]: UpdateAccessEvent;
|
|
68
68
|
[CommentEventTypes.RESOLVE_COMMENT]: ResolveCommentEvent;
|
|
69
69
|
[CommentEventTypes.ADD_COMMENT]: AddCommentEvent;
|
|
70
|
+
[CommentEventTypes.ADD_COMMENT_DRAFT]: AddCommentDraftEvent;
|
|
70
71
|
[CommentEventTypes.UPDATE_COMMENT]: UpdateCommentEvent;
|
|
71
72
|
[CommentEventTypes.DELETE_COMMENT]: DeleteCommentEvent;
|
|
72
73
|
[CommentEventTypes.ADD_ATTACHMENT]: AddAttachmentEvent;
|
|
@@ -181,6 +182,12 @@ export interface AddCommentEvent {
|
|
|
181
182
|
comment: Comment;
|
|
182
183
|
metadata: VeltEventMetadata;
|
|
183
184
|
}
|
|
185
|
+
export interface AddCommentDraftEvent {
|
|
186
|
+
annotationId: string;
|
|
187
|
+
commentAnnotation: CommentAnnotation;
|
|
188
|
+
comment: Comment;
|
|
189
|
+
metadata: VeltEventMetadata;
|
|
190
|
+
}
|
|
184
191
|
export interface CommentSavedEvent {
|
|
185
192
|
annotationId: string;
|
|
186
193
|
commentAnnotation: CommentAnnotation;
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ export declare const CommentEventTypes: {
|
|
|
46
46
|
readonly UPDATE_ACCESS: "updateAccess";
|
|
47
47
|
readonly RESOLVE_COMMENT: "resolveComment";
|
|
48
48
|
readonly ADD_COMMENT: "addComment";
|
|
49
|
+
readonly ADD_COMMENT_DRAFT: "addCommentDraft";
|
|
49
50
|
readonly UPDATE_COMMENT: "updateComment";
|
|
50
51
|
readonly DELETE_COMMENT: "deleteComment";
|
|
51
52
|
readonly ADD_ATTACHMENT: "addAttachment";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "5.0.2-beta.
|
|
3
|
+
"version": "5.0.2-beta.22",
|
|
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": [
|