@veltdev/sdk 5.0.2-beta.6 → 5.0.2-beta.8
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/client/snippyly.model.d.ts +5 -0
- package/app/models/data/activity.data.model.d.ts +177 -0
- package/app/models/data/attachment-resolver.data.model.d.ts +2 -2
- package/app/models/data/attachment.model.d.ts +1 -0
- package/app/models/data/base-metadata.data.model.d.ts +3 -0
- package/app/models/data/comment-resolver.data.model.d.ts +3 -3
- package/app/models/data/config.data.model.d.ts +5 -0
- package/app/models/data/core-events.data.model.d.ts +30 -0
- package/app/models/data/crdt.data.model.d.ts +51 -0
- package/app/models/data/provider.data.model.d.ts +2 -0
- package/app/models/data/reaction-resolver.data.model.d.ts +3 -3
- package/app/models/data/recorder-annotation.data.model.d.ts +11 -0
- package/app/models/data/recorder-resolver.data.model.d.ts +58 -0
- package/app/models/data/resolver.data.model.d.ts +1 -0
- package/app/models/element/activity-element.model.d.ts +33 -0
- package/app/models/element/crdt-element.model.d.ts +88 -1
- package/app/utils/constants.d.ts +2 -0
- package/app/utils/enums.d.ts +8 -3
- package/models.d.ts +2 -0
- package/package.json +1 -1
- package/types.d.ts +1 -0
- package/velt.js +98 -98
package/app/utils/enums.d.ts
CHANGED
|
@@ -25,7 +25,10 @@ export declare enum ResolverActions {
|
|
|
25
25
|
REACTION_ADD = "reaction.add",
|
|
26
26
|
REACTION_DELETE = "reaction.delete",
|
|
27
27
|
ATTACHMENT_ADD = "attachment.add",
|
|
28
|
-
ATTACHMENT_DELETE = "attachment.delete"
|
|
28
|
+
ATTACHMENT_DELETE = "attachment.delete",
|
|
29
|
+
RECORDER_ANNOTATION_ADD = "recorder_annotation.add",
|
|
30
|
+
RECORDER_ANNOTATION_UPDATE = "recorder_annotation.update",
|
|
31
|
+
RECORDER_ANNOTATION_DELETE = "recorder_annotation.delete"
|
|
29
32
|
}
|
|
30
33
|
export declare const CommentEventTypes: {
|
|
31
34
|
readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
|
|
@@ -87,6 +90,7 @@ export declare const CoreEventTypes: {
|
|
|
87
90
|
readonly COMMENT_RESOLVER: "commentResolver";
|
|
88
91
|
readonly ATTACHMENT_RESOLVER: "attachmentResolver";
|
|
89
92
|
readonly REACTION_RESOLVER: "reactionResolver";
|
|
93
|
+
readonly RECORDER_RESOLVER: "recorderResolver";
|
|
90
94
|
readonly VELT_BUTTON_CLICK: "veltButtonClick";
|
|
91
95
|
readonly USER_UPDATE: "userUpdate";
|
|
92
96
|
readonly INIT_UPDATE: "initUpdate";
|
|
@@ -172,7 +176,8 @@ export declare enum Features {
|
|
|
172
176
|
REWRITER = "rewriter",
|
|
173
177
|
LIVE_SELECTION = "liveSelection",
|
|
174
178
|
NOTIFICATION = "notification",
|
|
175
|
-
REACTION = "reaction"
|
|
179
|
+
REACTION = "reaction",
|
|
180
|
+
ACTIVITY = "activity"
|
|
176
181
|
}
|
|
177
182
|
export declare enum AnalyticsFeatures {
|
|
178
183
|
AREA = "area",
|
|
@@ -194,7 +199,7 @@ export declare enum AnalyticsFeatures {
|
|
|
194
199
|
INLINE_COMMENT = "inlineComment",
|
|
195
200
|
COMMENT_SIDEBAR = "commentSidebar"
|
|
196
201
|
}
|
|
197
|
-
export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread';
|
|
202
|
+
export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread' | 'activity';
|
|
198
203
|
export type AssignToType = 'dropdown' | 'checkbox';
|
|
199
204
|
export declare enum DeviceType {
|
|
200
205
|
DESKTOP = "Desktop",
|
package/models.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './app/utils/enums';
|
|
2
2
|
export * from './app/models/data/anchor-record.data.model';
|
|
3
3
|
export * from './app/models/data/attachment.model';
|
|
4
|
+
export * from './app/models/data/activity.data.model';
|
|
4
5
|
export * from './app/models/data/area-annotation.data.model';
|
|
5
6
|
export * from './app/models/data/arrow-annotation.data.model';
|
|
6
7
|
export * from './app/models/data/base-metadata.data.model';
|
|
@@ -71,6 +72,7 @@ export * from './app/models/data/views.data.model';
|
|
|
71
72
|
export * from './app/models/data/autocomplete.data.model';
|
|
72
73
|
export * from './app/models/data/reaction-annotation.data.model';
|
|
73
74
|
export * from './app/models/data/reaction-resolver.data.model';
|
|
75
|
+
export * from './app/models/data/recorder-resolver.data.model';
|
|
74
76
|
export * from './app/models/data/attachment-resolver.data.model';
|
|
75
77
|
export * from './app/models/data/reaction.data.model';
|
|
76
78
|
export * from './app/models/data/organization-groups.data.model';
|
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.8",
|
|
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": [
|
package/types.d.ts
CHANGED
|
@@ -17,4 +17,5 @@ export * from './app/models/element/notification-element.model';
|
|
|
17
17
|
export * from './app/models/element/autocomplete-element.model';
|
|
18
18
|
export * from './app/models/element/reaction-element.model';
|
|
19
19
|
export * from './app/models/element/crdt-element.model';
|
|
20
|
+
export * from './app/models/element/activity-element.model';
|
|
20
21
|
export * from './models';
|