@veltdev/sdk-dev 5.0.2-beta.29 → 5.0.2-beta.3

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.
Files changed (31) hide show
  1. package/app/client/snippyly.model.d.ts +1 -10
  2. package/app/models/data/attachment-resolver.data.model.d.ts +2 -2
  3. package/app/models/data/attachment.model.d.ts +0 -1
  4. package/app/models/data/autocomplete.data.model.d.ts +3 -3
  5. package/app/models/data/base-metadata.data.model.d.ts +0 -3
  6. package/app/models/data/comment-actions.data.model.d.ts +0 -4
  7. package/app/models/data/comment-annotation.data.model.d.ts +3 -11
  8. package/app/models/data/comment-events.data.model.d.ts +4 -17
  9. package/app/models/data/comment-resolver.data.model.d.ts +3 -3
  10. package/app/models/data/config.data.model.d.ts +0 -5
  11. package/app/models/data/core-events.data.model.d.ts +1 -53
  12. package/app/models/data/crdt.data.model.d.ts +0 -51
  13. package/app/models/data/live-state-events.data.model.d.ts +0 -6
  14. package/app/models/data/notification.model.d.ts +0 -4
  15. package/app/models/data/provider.data.model.d.ts +1 -6
  16. package/app/models/data/reaction-resolver.data.model.d.ts +3 -3
  17. package/app/models/data/recorder-annotation.data.model.d.ts +0 -11
  18. package/app/models/data/resolver.data.model.d.ts +0 -1
  19. package/app/models/data/user-resolver.data.model.d.ts +1 -15
  20. package/app/models/element/comment-element.model.d.ts +0 -20
  21. package/app/models/element/crdt-element.model.d.ts +1 -88
  22. package/app/utils/constants.d.ts +0 -31
  23. package/app/utils/enums.d.ts +4 -23
  24. package/models.d.ts +0 -3
  25. package/package.json +1 -1
  26. package/types.d.ts +0 -1
  27. package/velt.js +116 -116
  28. package/app/models/data/activity.data.model.d.ts +0 -177
  29. package/app/models/data/notification-resolver.data.model.d.ts +0 -38
  30. package/app/models/data/recorder-resolver.data.model.d.ts +0 -58
  31. package/app/models/element/activity-element.model.d.ts +0 -33
@@ -57,8 +57,6 @@ export declare class Constants {
57
57
  static FIREBASE_PARTIAL_PATH_NOTIFICATIONS: string;
58
58
  static FIREBASE_PARTIAL_PATH_ORGANIZATION_NOTIFICATIONS: string;
59
59
  static FIREBASE_PARTIAL_PATH_LAST_NOTIFICATION_TIMESTAMP: string;
60
- static FIREBASE_PARTIAL_PATH_ACTIVITIES: string;
61
- static FIREBASE_PARTIAL_PATH_LAST_ACTIVITY_TIMESTAMP: string;
62
60
  static FIREBASE_PARTIAL_PATH_HEARTBEAT: string;
63
61
  static FIREBASE_PARTIAL_PATH_HEARTBEAT_BY_DOCUMENT: string;
64
62
  static FIREBASE_PARTIAL_PATH_USERS: string;
@@ -246,36 +244,7 @@ export declare class Constants {
246
244
  VELT_NOTIFICATIONS_HISTORY_PANEL: string;
247
245
  VELT_WIREFRAME: string;
248
246
  VELT_AUTOCOMPLETE: string;
249
- VELT_AUTOCOMPLETE_PANEL: string;
250
- VELT_AUTOCOMPLETE_OPTION: string;
251
- VELT_AUTOCOMPLETE_OPTION_ICON: string;
252
- VELT_AUTOCOMPLETE_OPTION_NAME: string;
253
- VELT_AUTOCOMPLETE_OPTION_DESCRIPTION: string;
254
- VELT_AUTOCOMPLETE_OPTION_ERROR_ICON: string;
255
- VELT_AUTOCOMPLETE_GROUP_OPTION: string;
256
- VELT_AUTOCOMPLETE_TOOL: string;
257
- VELT_AUTOCOMPLETE_EMPTY: string;
258
247
  VELT_AUTOCOMPLETE_CHIP: string;
259
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP: string;
260
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP_ICON: string;
261
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP_NAME: string;
262
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP_DESCRIPTION: string;
263
- VELT_AUTOCOMPLETE_CONTEXT_WRAPPER: string;
264
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER: string;
265
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_ICON: string;
266
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_TEXT: string;
267
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN: string;
268
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER: string;
269
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_LABEL: string;
270
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_AVATAR_LIST: string;
271
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_AVATAR_LIST_ITEM: string;
272
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_AVATAR_LIST_REMAINING_COUNT: string;
273
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_ICON: string;
274
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT: string;
275
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM: string;
276
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM_ICON: string;
277
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM_LABEL: string;
278
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_USER_PICKER: string;
279
248
  VELT_COMMENT_COMPOSER: string;
280
249
  VELT_SKELETON_LOADER: string;
281
250
  VELT_SHADOW_DOM_INTERNAL: string;
@@ -26,10 +26,7 @@ export declare enum ResolverActions {
26
26
  REACTION_ADD = "reaction.add",
27
27
  REACTION_DELETE = "reaction.delete",
28
28
  ATTACHMENT_ADD = "attachment.add",
29
- ATTACHMENT_DELETE = "attachment.delete",
30
- RECORDER_ANNOTATION_ADD = "recorder_annotation.add",
31
- RECORDER_ANNOTATION_UPDATE = "recorder_annotation.update",
32
- RECORDER_ANNOTATION_DELETE = "recorder_annotation.delete"
29
+ ATTACHMENT_DELETE = "attachment.delete"
33
30
  }
34
31
  export declare const CommentEventTypes: {
35
32
  readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
@@ -65,13 +62,10 @@ export declare const CommentEventTypes: {
65
62
  readonly COMMENT_PIN_CLICKED: "commentPinClicked";
66
63
  readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
67
64
  readonly COMMENT_TOOL_CLICK: "commentToolClick";
68
- readonly COMMENT_TOOL_CLICKED: "commentToolClicked";
69
65
  readonly SIDEBAR_BUTTON_CLICK: "sidebarButtonClick";
70
- readonly SIDEBAR_BUTTON_CLICKED: "sidebarButtonClicked";
71
66
  readonly ATTACHMENT_DOWNLOAD_CLICKED: "attachmentDownloadClicked";
72
67
  readonly COMMENT_SAVED: "commentSaved";
73
- readonly COMMENT_SAVE_TRIGGERED: "commentSaveTriggered";
74
- readonly VISIBILITY_OPTION_CLICKED: "visibilityOptionClicked";
68
+ readonly LOCATION_CLICKED: "locationClicked";
75
69
  };
76
70
  export declare const RecorderEventTypes: {
77
71
  readonly TRANSCRIPTION_DONE: "transcriptionDone";
@@ -92,8 +86,6 @@ export declare const CoreEventTypes: {
92
86
  readonly COMMENT_RESOLVER: "commentResolver";
93
87
  readonly ATTACHMENT_RESOLVER: "attachmentResolver";
94
88
  readonly REACTION_RESOLVER: "reactionResolver";
95
- readonly RECORDER_RESOLVER: "recorderResolver";
96
- readonly NOTIFICATION_RESOLVER: "notificationResolver";
97
89
  readonly VELT_BUTTON_CLICK: "veltButtonClick";
98
90
  readonly USER_UPDATE: "userUpdate";
99
91
  readonly INIT_UPDATE: "initUpdate";
@@ -179,8 +171,7 @@ export declare enum Features {
179
171
  REWRITER = "rewriter",
180
172
  LIVE_SELECTION = "liveSelection",
181
173
  NOTIFICATION = "notification",
182
- REACTION = "reaction",
183
- ACTIVITY = "activity"
174
+ REACTION = "reaction"
184
175
  }
185
176
  export declare enum AnalyticsFeatures {
186
177
  AREA = "area",
@@ -202,7 +193,7 @@ export declare enum AnalyticsFeatures {
202
193
  INLINE_COMMENT = "inlineComment",
203
194
  COMMENT_SIDEBAR = "commentSidebar"
204
195
  }
205
- export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread' | 'activity';
196
+ export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread';
206
197
  export type AssignToType = 'dropdown' | 'checkbox';
207
198
  export declare enum DeviceType {
208
199
  DESKTOP = "Desktop",
@@ -321,13 +312,3 @@ export type NotificationSettingsItemType = 'ALL' | 'MINE' | 'NONE' | string;
321
312
  * Type for notification settings layout
322
313
  */
323
314
  export type NotificationSettingsLayout = 'accordion' | 'dropdown';
324
- /**
325
- * Enum for comment visibility options in the visibility banner dropdown
326
- */
327
- export declare enum CommentVisibilityOption {
328
- RESTRICTED_SELF = "restrictedSelf",
329
- RESTRICTED_SELECTED_PEOPLE = "restrictedSelectedPeople",
330
- ORGANIZATION_PRIVATE = "organizationPrivate",
331
- PUBLIC = "public"
332
- }
333
- export type CommentVisibilityOptionType = `${CommentVisibilityOption}`;
package/models.d.ts CHANGED
@@ -1,7 +1,6 @@
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';
5
4
  export * from './app/models/data/area-annotation.data.model';
6
5
  export * from './app/models/data/arrow-annotation.data.model';
7
6
  export * from './app/models/data/base-metadata.data.model';
@@ -38,7 +37,6 @@ export * from './app/models/data/location.model';
38
37
  export * from './app/models/data/media-preview-config.data.model';
39
38
  export * from './app/models/data/multi-thread.data.model';
40
39
  export * from './app/models/data/notification.model';
41
- export * from './app/models/data/notification-resolver.data.model';
42
40
  export * from './app/models/data/notifications-events.data.model';
43
41
  export * from './app/models/data/page-info.model';
44
42
  export * from './app/models/data/permission.data.model';
@@ -73,7 +71,6 @@ export * from './app/models/data/views.data.model';
73
71
  export * from './app/models/data/autocomplete.data.model';
74
72
  export * from './app/models/data/reaction-annotation.data.model';
75
73
  export * from './app/models/data/reaction-resolver.data.model';
76
- export * from './app/models/data/recorder-resolver.data.model';
77
74
  export * from './app/models/data/attachment-resolver.data.model';
78
75
  export * from './app/models/data/reaction.data.model';
79
76
  export * from './app/models/data/organization-groups.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-dev",
3
- "version": "5.0.2-beta.29",
3
+ "version": "5.0.2-beta.3",
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,5 +17,4 @@ 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';
21
20
  export * from './models';