@veltdev/sdk-staging 4.5.0-beta.5 → 4.5.0-beta.51

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 (28) hide show
  1. package/app/client/snippyly.model.d.ts +39 -6
  2. package/app/models/data/button.data.model.d.ts +2 -0
  3. package/app/models/data/comment-annotation.data.model.d.ts +7 -0
  4. package/app/models/data/comment-sidebar-config.model.d.ts +20 -0
  5. package/app/models/data/core-events.data.model.d.ts +9 -0
  6. package/app/models/data/custom-filter.data.model.d.ts +8 -0
  7. package/app/models/data/document-paths.data.model.d.ts +8 -0
  8. package/app/models/data/document.data.model.d.ts +2 -0
  9. package/app/models/data/location.model.d.ts +10 -0
  10. package/app/models/data/multi-thread.data.model.d.ts +2 -0
  11. package/app/models/data/notification.model.d.ts +20 -1
  12. package/app/models/data/notifications-events.data.model.d.ts +9 -0
  13. package/app/models/data/presence-actions.data.model.d.ts +5 -0
  14. package/app/models/data/presence-events.data.model.d.ts +8 -0
  15. package/app/models/data/recorder-annotation.data.model.d.ts +3 -0
  16. package/app/models/data/recorder-events.data.model.d.ts +10 -0
  17. package/app/models/data/recorder.model.d.ts +6 -8
  18. package/app/models/data/resolver.data.model.d.ts +6 -0
  19. package/app/models/data/user-resolver.data.model.d.ts +2 -0
  20. package/app/models/element/comment-element.model.d.ts +65 -0
  21. package/app/models/element/notification-element.model.d.ts +61 -1
  22. package/app/models/element/presence-element.model.d.ts +15 -1
  23. package/app/models/element/recorder-element.model.d.ts +11 -0
  24. package/app/utils/constants.d.ts +1 -0
  25. package/app/utils/enums.d.ts +17 -1
  26. package/models.d.ts +2 -0
  27. package/package.json +1 -1
  28. package/velt.js +110 -105
@@ -60,10 +60,13 @@ export declare const RecorderEventTypes: {
60
60
  readonly RECORDING_DONE: "recordingDone";
61
61
  readonly RECORDING_EDIT_DONE: "recordingEditDone";
62
62
  readonly DELETE_RECORDING: "deleteRecording";
63
+ readonly ERROR: "error";
64
+ readonly RECORDING_SAVE_INITIATED: "recordingSaveInitiated";
63
65
  };
64
66
  export declare const CoreEventTypes: {
65
67
  readonly VELT_BUTTON_CLICK: "veltButtonClick";
66
68
  readonly USER_UPDATE: "userUpdate";
69
+ readonly INIT_UPDATE: "initUpdate";
67
70
  readonly DOCUMENT_INIT: "documentInit";
68
71
  readonly ERROR: "error";
69
72
  };
@@ -78,12 +81,17 @@ export declare const LiveStateSyncEventTypes: {
78
81
  };
79
82
  export declare const PresenceEventTypes: {
80
83
  readonly MULTIPLE_USERS_ONLINE: "multipleUsersOnline";
84
+ readonly USER_STATE_CHANGE: "userStateChange";
85
+ };
86
+ export declare const NotificationEventTypes: {
87
+ readonly SETTINGS_UPDATED: "settingsUpdated";
81
88
  };
82
89
  export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
83
90
  export type RecorderEventType = typeof RecorderEventTypes[keyof typeof RecorderEventTypes];
84
91
  export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
85
92
  export type LiveStateSyncEventType = typeof LiveStateSyncEventTypes[keyof typeof LiveStateSyncEventTypes];
86
93
  export type PresenceEventType = typeof PresenceEventTypes[keyof typeof PresenceEventTypes];
94
+ export type NotificationEventType = typeof NotificationEventTypes[keyof typeof NotificationEventTypes];
87
95
  export declare enum TagStatus {
88
96
  ADDED = "added",
89
97
  UPDATED = "updated",
@@ -253,7 +261,7 @@ export type ReactionPinType = 'timeline' | 'comment';
253
261
  export type SidebarPosition = 'left' | 'right';
254
262
  export type SidebarSortingCriteria = 'date' | 'unread' | null;
255
263
  export type SidebarFilterCriteria = 'all' | 'read' | 'unread' | 'resolved';
256
- export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'pages' | 'statuses' | 'priorities' | 'categories' | 'versions';
264
+ export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'pages' | 'documents' | 'statuses' | 'priorities' | 'categories' | 'versions' | string;
257
265
  export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFirst' | 'updatedLast';
258
266
  export type NotificationPanelMode = 'popover' | 'sidebar';
259
267
  export type SidebarActionButtonType = 'default' | 'toggle';
@@ -261,3 +269,11 @@ export declare enum CommentSidebarSystemFiltersOperator {
261
269
  AND = "and",
262
270
  OR = "or"
263
271
  }
272
+ /**
273
+ * Type for notification settings accordion types
274
+ */
275
+ export type NotificationSettingsAccordionType = 'inbox' | 'email' | string;
276
+ /**
277
+ * Type for notification settings item options
278
+ */
279
+ export type NotificationSettingsItemType = 'ALL' | 'MINE' | 'NONE' | string;
package/models.d.ts CHANGED
@@ -35,9 +35,11 @@ export * from './app/models/data/location.model';
35
35
  export * from './app/models/data/media-preview-config.data.model';
36
36
  export * from './app/models/data/multi-thread.data.model';
37
37
  export * from './app/models/data/notification.model';
38
+ export * from './app/models/data/notifications-events.data.model';
38
39
  export * from './app/models/data/page-info.model';
39
40
  export * from './app/models/data/permission.data.model';
40
41
  export * from './app/models/data/presence-user.data.model';
42
+ export * from './app/models/data/presence-actions.data.model';
41
43
  export * from './app/models/data/presence-events.data.model';
42
44
  export * from './app/models/data/recorder.model';
43
45
  export * from './app/models/data/recorder-annotation.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-staging",
3
- "version": "4.5.0-beta.5",
3
+ "version": "4.5.0-beta.51",
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": [