@veltdev/sdk-staging 5.0.2-beta.45 → 5.0.2-beta.6

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 (39) hide show
  1. package/app/client/snippyly.model.d.ts +1 -20
  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 +2 -10
  8. package/app/models/data/comment-events.data.model.d.ts +2 -4
  9. package/app/models/data/comment-resolver.data.model.d.ts +3 -3
  10. package/app/models/data/config.data.model.d.ts +0 -26
  11. package/app/models/data/core-events.data.model.d.ts +1 -74
  12. package/app/models/data/crdt.data.model.d.ts +0 -51
  13. package/app/models/data/document.data.model.d.ts +0 -2
  14. package/app/models/data/live-state-events.data.model.d.ts +0 -6
  15. package/app/models/data/notification.model.d.ts +0 -4
  16. package/app/models/data/presence-user.data.model.d.ts +0 -5
  17. package/app/models/data/provider.data.model.d.ts +1 -8
  18. package/app/models/data/reaction-resolver.data.model.d.ts +3 -3
  19. package/app/models/data/recorder-annotation.data.model.d.ts +0 -11
  20. package/app/models/data/recorder-events.data.model.d.ts +0 -3
  21. package/app/models/data/resolver.data.model.d.ts +0 -1
  22. package/app/models/data/user-resolver.data.model.d.ts +1 -17
  23. package/app/models/data/user.data.model.d.ts +0 -2
  24. package/app/models/element/comment-element.model.d.ts +8 -28
  25. package/app/models/element/crdt-element.model.d.ts +1 -88
  26. package/app/models/element/presence-element.model.d.ts +0 -25
  27. package/app/utils/constants.d.ts +0 -223
  28. package/app/utils/enums.d.ts +3 -26
  29. package/models.d.ts +0 -5
  30. package/package.json +1 -1
  31. package/types.d.ts +0 -1
  32. package/velt.css +1 -1
  33. package/velt.js +116 -116
  34. package/app/models/data/activity-resolver.data.model.d.ts +0 -27
  35. package/app/models/data/activity.data.model.d.ts +0 -179
  36. package/app/models/data/notification-resolver.data.model.d.ts +0 -39
  37. package/app/models/data/recorder-resolver.data.model.d.ts +0 -58
  38. package/app/models/data/rewriter-events.data.model.d.ts +0 -40
  39. package/app/models/element/activity-element.model.d.ts +0 -33
@@ -1,5 +1,5 @@
1
1
  // @ts-nocheck
2
- import { CrdtGetDataQuery, CrdtGetMessagesQuery, CrdtGetSnapshotQuery, CrdtGetVersionQuery, CrdtGetVersionsQuery, CrdtMessageData, CrdtOnDataChangeQuery, CrdtOnMessageQuery, CrdtOnPresenceChangeQuery, CrdtOnRegisteredUserChangeQuery, CrdtOnStateChangeQuery, CrdtPruneMessagesQuery, CrdtPushMessageQuery, CrdtRegisterSyncUserQuery, CrdtSaveSnapshotQuery, CrdtSetPresenceQuery, CrdtSaveVersionQuery, CrdtSnapshotData, CrdtUpdateDataQuery, CrdtUpdateStateQuery } from "../data/crdt.data.model";
2
+ import { CrdtGetDataQuery, CrdtGetVersionQuery, CrdtOnDataChangeQuery, CrdtOnPresenceChangeQuery, CrdtOnRegisteredUserChangeQuery, CrdtOnStateChangeQuery, CrdtRegisterSyncUserQuery, CrdtSetPresenceQuery, CrdtSaveVersionQuery, CrdtUpdateDataQuery, CrdtUpdateStateQuery } from "../data/crdt.data.model";
3
3
  import { CrdtEventTypesMap } from "../data/crdt-events.data.model";
4
4
 
5
5
  export declare class CrdtElement {
@@ -80,12 +80,6 @@ export declare class CrdtElement {
80
80
  */
81
81
  getVersion: (getVersionQuery: CrdtGetVersionQuery) => Promise<any>;
82
82
 
83
- /**
84
- * Get all versions of a specific CRDT document
85
- * @param id Document ID
86
- */
87
- getVersions: (getVersionsQuery: CrdtGetVersionsQuery) => Promise<any>;
88
-
89
83
  /**
90
84
  * Enable webhook
91
85
  */
@@ -102,51 +96,6 @@ export declare class CrdtElement {
102
96
  */
103
97
  setWebhookDebounceTime: (time: number) => void;
104
98
 
105
- /**
106
- * Push a lib0-encoded message to the unified message stream.
107
- * Uses Firebase push() for chronologically-ordered keys.
108
- * Carries both sync (type 0) and awareness (type 1) messages.
109
- * @param pushMessageQuery - contains id, data (encoded bytes), yjsClientId (Y.Doc client ID), optional messageType and eventData
110
- */
111
- pushMessage: (pushMessageQuery: CrdtPushMessageQuery) => Promise<void>;
112
- /**
113
- * Subscribe to the unified message stream for real-time sync.
114
- * Emits each new message individually as it arrives (streaming pattern).
115
- * Returns an unsubscribe function.
116
- * @param onMessageQuery - contains id, callback, and optional afterTs for filtering
117
- */
118
- onMessage: (onMessageQuery: CrdtOnMessageQuery) => () => void;
119
- /**
120
- * Fetch all messages after a given timestamp (one-time read).
121
- * Used for message replay during initial load (y-redis pattern).
122
- * @param getMessagesQuery - contains id and optional afterTs
123
- */
124
- getMessages: (getMessagesQuery: CrdtGetMessagesQuery) => Promise<CrdtMessageData[]>;
125
- /**
126
- * Get the latest full-state snapshot for a document.
127
- * Used as the baseline for message replay during initial load.
128
- * @param getSnapshotQuery - contains id
129
- */
130
- getSnapshot: (getSnapshotQuery: CrdtGetSnapshotQuery) => Promise<CrdtSnapshotData | null>;
131
- /**
132
- * Save a full-state snapshot (state + vector) for fast initial load.
133
- * Called periodically to create checkpoints, enabling message pruning.
134
- * @param saveSnapshotQuery - contains id, state (Y.Doc update), and vector (state vector)
135
- */
136
- saveSnapshot: (saveSnapshotQuery: CrdtSaveSnapshotQuery) => Promise<void>;
137
- /**
138
- * Remove messages older than the given timestamp from the message stream.
139
- * Called after saving a snapshot to keep the message stream bounded.
140
- * @param pruneMessagesQuery - contains id and beforeTs
141
- */
142
- pruneMessages: (pruneMessagesQuery: CrdtPruneMessagesQuery) => Promise<void>;
143
-
144
- /**
145
- * To set activity debounce time for batching CRDT edits (Default value is 10 minutes)
146
- * @param time debounce time in milliseconds (minimum: 10 seconds)
147
- */
148
- setActivityDebounceTime: (time: number) => void;
149
-
150
99
  /**
151
100
  * Subscribe to crdt actions
152
101
  * @param action Action to subscribe to
@@ -239,36 +188,6 @@ export declare class CrdtElement {
239
188
  */
240
189
  private _getVersions;
241
190
 
242
- /**
243
- * Push a message to the unified message stream
244
- */
245
- private _pushMessage;
246
-
247
- /**
248
- * Subscribe to the unified message stream
249
- */
250
- private _onMessage;
251
-
252
- /**
253
- * Fetch all messages after a given timestamp
254
- */
255
- private _getMessages;
256
-
257
- /**
258
- * Get the latest snapshot for a document
259
- */
260
- private _getSnapshot;
261
-
262
- /**
263
- * Save a full-state snapshot
264
- */
265
- private _saveSnapshot;
266
-
267
- /**
268
- * Remove messages older than a given timestamp
269
- */
270
- private _pruneMessages;
271
-
272
191
  /**
273
192
  * Enable webhook
274
193
  */
@@ -285,12 +204,6 @@ export declare class CrdtElement {
285
204
  */
286
205
  private _setWebhookDebounceTime;
287
206
 
288
- /**
289
- * Set activity debounce time for batching CRDT edits
290
- * @param time debounce time in milliseconds (minimum: 10 seconds)
291
- */
292
- private _setActivityDebounceTime;
293
-
294
207
  /**
295
208
  * Subscribe to crdt actions
296
209
  * @param action Action to subscribe to
@@ -50,21 +50,6 @@ export declare class PresenceElement {
50
50
  * Subscribe to presence events
51
51
  */
52
52
  on: <T extends keyof PresenceEventTypesMap>(action: T) => Observable<PresenceEventTypesMap[T]>;
53
-
54
- /**
55
- * Add a custom user to the presence list (e.g., an AI agent).
56
- * The user will appear in presence alongside real users.
57
- * @param request Object containing user data with at least userId required.
58
- */
59
- addUser: (request: { user: Partial<PresenceUser>, localOnly?: boolean }) => void;
60
-
61
- /**
62
- * Remove a previously added custom user from the presence list.
63
- * @param request Object containing user data with at least userId required, and optional localOnly flag.
64
- * @param request.localOnly If true, user is only removed locally (not removed from DB). Default: false.
65
- */
66
- removeUser: (request: { user: Partial<PresenceUser>, localOnly?: boolean }) => void;
67
-
68
53
  constructor();
69
54
  /**
70
55
  * Subscribe to a list of all online users who are either active or inactive on the current document.
@@ -110,14 +95,4 @@ export declare class PresenceElement {
110
95
  * Subscribe to presence events
111
96
  */
112
97
  private _on;
113
-
114
- /**
115
- * Add a custom user to the presence list
116
- */
117
- private _addUser;
118
-
119
- /**
120
- * Remove a custom user from the presence list
121
- */
122
- private _removeUser;
123
98
  }
@@ -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;
@@ -208,76 +206,13 @@ export declare class Constants {
208
206
  VELT_TEXT_HIGHLIGHT: string;
209
207
  VELT_COMMENT_TEXT_PORTAL: string;
210
208
  VELT_COMMENTS_SIDEBAR: string;
211
- VELT_COMMENTS_SIDEBAR_V2: string;
212
- VELT_COMMENT_SIDEBAR_SKELETON_V2: string;
213
- VELT_COMMENT_SIDEBAR_PANEL_V2: string;
214
- VELT_COMMENT_SIDEBAR_LIST_V2: string;
215
- VELT_COMMENT_SIDEBAR_LIST_ITEM_V2: string;
216
- VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_V2: string;
217
- VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_CATEGORY_V2: string;
218
- VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_CATEGORY_CONTENT_V2: string;
219
- VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_V2: string;
220
- VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_INDICATOR_V2: string;
221
- VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_LABEL_V2: string;
222
- VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_V2: string;
223
- VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_TRIGGER_V2: string;
224
- VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_CONTENT_V2: string;
225
- VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_READ_V2: string;
226
- VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_RESOLVED_V2: string;
227
- VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_V2: string;
228
- VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_TRIGGER_V2: string;
229
- VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_V2: string;
230
- VELT_COMMENT_SIDEBAR_HEADER_V2: string;
231
- VELT_COMMENT_SIDEBAR_CLOSE_BUTTON_V2: string;
232
- VELT_COMMENT_SIDEBAR_EMPTY_PLACEHOLDER_V2: string;
233
- VELT_COMMENT_SIDEBAR_RESET_FILTER_BUTTON_V2: string;
234
- VELT_COMMENT_SIDEBAR_PAGE_MODE_COMPOSER_V2: string;
235
- VELT_COMMENT_SIDEBAR_FOCUSED_THREAD_V2: string;
236
- VELT_COMMENT_SIDEBAR_FOCUSED_THREAD_BACK_BUTTON_V2: string;
237
- VELT_COMMENT_SIDEBAR_FOCUSED_THREAD_DIALOG_CONTAINER_V2: string;
238
209
  VELT_COMMENT_BUBBLE: string;
239
- VELT_COMMENT_BUBBLE_AVATAR: string;
240
- VELT_COMMENT_BUBBLE_COMMENTS_COUNT: string;
241
- VELT_COMMENT_BUBBLE_UNREAD_ICON: string;
242
210
  VELT_COMMENT_THREAD: string;
243
211
  VELT_COMMENT_PIN: string;
244
- VELT_COMMENT_PIN_NUMBER: string;
245
- VELT_COMMENT_PIN_INDEX: string;
246
- VELT_COMMENT_PIN_TRIANGLE: string;
247
- VELT_COMMENT_PIN_PRIVATE_COMMENT_INDICATOR: string;
248
- VELT_COMMENT_PIN_GHOST_COMMENT_INDICATOR: string;
249
- VELT_COMMENT_PIN_UNREAD_COMMENT_INDICATOR: string;
250
- VELT_SIDEBAR_BUTTON_ICON: string;
251
- VELT_SIDEBAR_BUTTON_COMMENTS_COUNT: string;
252
- VELT_SIDEBAR_BUTTON_UNREAD_ICON: string;
253
212
  VELT_COMMENT_TEXT: string;
254
213
  VELT_CHART_COMMENT: string;
255
214
  VELT_CANVAS_COMMENT: string;
256
215
  VELT_INLINE_COMMENTS_SECTION: string;
257
- VELT_INLINE_COMMENTS_SECTION_SKELETON: string;
258
- VELT_INLINE_COMMENTS_SECTION_PANEL: string;
259
- VELT_INLINE_COMMENTS_SECTION_LIST: string;
260
- VELT_INLINE_COMMENTS_SECTION_COMPOSER_CONTAINER: string;
261
- VELT_INLINE_COMMENTS_SECTION_COMMENT_COUNT: string;
262
- VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN: string;
263
- VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_TRIGGER: string;
264
- VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_TRIGGER_NAME: string;
265
- VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_TRIGGER_ICON: string;
266
- VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_CONTENT: string;
267
- VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_CONTENT_ITEM: string;
268
- VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_CONTENT_ITEM_ICON: string;
269
- VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_CONTENT_ITEM_TICK: string;
270
- VELT_INLINE_COMMENTS_SECTION_SORTING_DROPDOWN_CONTENT_ITEM_NAME: string;
271
- VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN: string;
272
- VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_TRIGGER: string;
273
- VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_TRIGGER_NAME: string;
274
- VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_TRIGGER_ARROW: string;
275
- VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT: string;
276
- VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT_LIST: string;
277
- VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT_LIST_ITEM: string;
278
- VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT_LIST_ITEM_CHECKBOX: string;
279
- VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT_LIST_ITEM_LABEL: string;
280
- VELT_INLINE_COMMENTS_SECTION_FILTER_DROPDOWN_CONTENT_APPLY_BUTTON: string;
281
216
  VELT_COMMENTS_MINIMAP: string;
282
217
  VELT_HIGHLIGHT_USER_TEXT: string;
283
218
  VELT_AUDIO_HUDDLE: string;
@@ -305,169 +240,15 @@ export declare class Constants {
305
240
  VELT_INLINE_REACTIONS_SECTION: string;
306
241
  VELT_VIEW_ANALYTICS: string;
307
242
  VELT_NOTIFICATIONS_TOOL: string;
308
- VELT_NOTIFICATIONS_TOOL_ICON: string;
309
- VELT_NOTIFICATIONS_TOOL_UNREAD_ICON: string;
310
- VELT_NOTIFICATIONS_TOOL_LABEL: string;
311
- VELT_NOTIFICATIONS_TOOL_UNREAD_COUNT: string;
312
243
  VELT_NOTIFICATIONS_PANEL: string;
313
- VELT_NOTIFICATIONS_PANEL_TITLE: string;
314
- VELT_NOTIFICATIONS_PANEL_TITLE_TEXT: string;
315
- VELT_NOTIFICATIONS_PANEL_HEADER: string;
316
- VELT_NOTIFICATIONS_PANEL_HEADER_TAB_FOR_YOU: string;
317
- VELT_NOTIFICATIONS_PANEL_HEADER_TAB_PEOPLE: string;
318
- VELT_NOTIFICATIONS_PANEL_HEADER_TAB_DOCUMENTS: string;
319
- VELT_NOTIFICATIONS_PANEL_HEADER_TAB_ALL: string;
320
- VELT_NOTIFICATIONS_PANEL_CONTENT: string;
321
- VELT_NOTIFICATIONS_PANEL_CONTENT_FOR_YOU: string;
322
- VELT_NOTIFICATIONS_PANEL_CONTENT_ALL: string;
323
- VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE: string;
324
- VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS: string;
325
- VELT_NOTIFICATIONS_PANEL_CONTENT_LIST: string;
326
- VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM: string;
327
- VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_AVATAR: string;
328
- VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_UNREAD: string;
329
- VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_HEADLINE: string;
330
- VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_BODY: string;
331
- VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_FILE_NAME: string;
332
- VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_TIME: string;
333
- VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST: string;
334
- VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST_ITEM: string;
335
- VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST_ITEM_LABEL: string;
336
- VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST_ITEM_CONTENT: string;
337
- VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST: string;
338
- VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM: string;
339
- VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_AVATAR: string;
340
- VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_NAME: string;
341
- VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_COUNT: string;
342
- VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_CONTENT: string;
343
- VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST: string;
344
- VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM: string;
345
- VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_NAME: string;
346
- VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_COUNT: string;
347
- VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_CONTENT: string;
348
- VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_UNREAD: string;
349
- VELT_NOTIFICATIONS_PANEL_CONTENT_LOAD_MORE: string;
350
- VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_READ_CONTAINER: string;
351
- VELT_NOTIFICATIONS_PANEL_CLOSE_BUTTON: string;
352
- VELT_NOTIFICATIONS_PANEL_READ_ALL_BUTTON: string;
353
- VELT_NOTIFICATIONS_PANEL_VIEW_ALL_BUTTON: string;
354
- VELT_NOTIFICATIONS_PANEL_SKELETON: string;
355
- VELT_NOTIFICATIONS_PANEL_SETTINGS_BUTTON: string;
356
- VELT_NOTIFICATIONS_PANEL_SETTINGS: string;
357
- VELT_NOTIFICATIONS_PANEL_SETTINGS_HEADER: string;
358
- VELT_NOTIFICATIONS_PANEL_SETTINGS_HEADER_TITLE: string;
359
- VELT_NOTIFICATIONS_PANEL_SETTINGS_TITLE: string;
360
- VELT_NOTIFICATIONS_PANEL_SETTINGS_DESCRIPTION: string;
361
- VELT_NOTIFICATIONS_PANEL_SETTINGS_LIST: string;
362
- VELT_NOTIFICATIONS_PANEL_SETTINGS_MUTE_ALL_TITLE: string;
363
- VELT_NOTIFICATIONS_PANEL_SETTINGS_MUTE_ALL_DESCRIPTION: string;
364
- VELT_NOTIFICATIONS_PANEL_SETTINGS_MUTE_ALL_TOGGLE: string;
365
- VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION: string;
366
- VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER: string;
367
- VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER_LABEL: string;
368
- VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER_ICON: string;
369
- VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER_SELECTED_VALUE: string;
370
- VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT: string;
371
- VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT_ITEM: string;
372
- VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT_ITEM_LABEL: string;
373
- VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT_ITEM_ICON: string;
374
- VELT_NOTIFICATIONS_PANEL_SETTINGS_BACK_BUTTON: string;
375
- VELT_NOTIFICATIONS_PANEL_SETTINGS_FOOTER: string;
376
244
  VELT_NOTIFICATIONS_HISTORY_PANEL: string;
377
245
  VELT_WIREFRAME: string;
378
246
  VELT_AUTOCOMPLETE: string;
379
- VELT_AUTOCOMPLETE_PANEL: string;
380
- VELT_AUTOCOMPLETE_OPTION: string;
381
- VELT_AUTOCOMPLETE_OPTION_ICON: string;
382
- VELT_AUTOCOMPLETE_OPTION_NAME: string;
383
- VELT_AUTOCOMPLETE_OPTION_DESCRIPTION: string;
384
- VELT_AUTOCOMPLETE_OPTION_ERROR_ICON: string;
385
- VELT_AUTOCOMPLETE_GROUP_OPTION: string;
386
- VELT_AUTOCOMPLETE_TOOL: string;
387
- VELT_AUTOCOMPLETE_EMPTY: string;
388
247
  VELT_AUTOCOMPLETE_CHIP: string;
389
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP: string;
390
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP_ICON: string;
391
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP_NAME: string;
392
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP_DESCRIPTION: string;
393
- VELT_AUTOCOMPLETE_CONTEXT_WRAPPER: string;
394
- VELT_ACTIVITY_LOG: string;
395
- VELT_ACTIVITY_LOG_HEADER: string;
396
- VELT_ACTIVITY_LOG_HEADER_TITLE: string;
397
- VELT_ACTIVITY_LOG_HEADER_CLOSE_BUTTON: string;
398
- VELT_ACTIVITY_LOG_HEADER_FILTER: string;
399
- VELT_ACTIVITY_LOG_HEADER_FILTER_TRIGGER: string;
400
- VELT_ACTIVITY_LOG_HEADER_FILTER_TRIGGER_LABEL: string;
401
- VELT_ACTIVITY_LOG_HEADER_FILTER_TRIGGER_ICON: string;
402
- VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT: string;
403
- VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT_ITEM: string;
404
- VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT_ITEM_LABEL: string;
405
- VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT_ITEM_ICON: string;
406
- VELT_ACTIVITY_LOG_LOADING: string;
407
- VELT_ACTIVITY_LOG_LIST: string;
408
- VELT_ACTIVITY_LOG_LIST_DATE_GROUP: string;
409
- VELT_ACTIVITY_LOG_LIST_DATE_GROUP_LABEL: string;
410
- VELT_ACTIVITY_LOG_LIST_ITEM: string;
411
- VELT_ACTIVITY_LOG_LIST_ITEM_ICON: string;
412
- VELT_ACTIVITY_LOG_LIST_ITEM_AVATAR: string;
413
- VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT: string;
414
- VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_USER: string;
415
- VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_ACTION: string;
416
- VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_TARGET: string;
417
- VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_DETAIL: string;
418
- VELT_ACTIVITY_LOG_LIST_ITEM_TIME: string;
419
- VELT_ACTIVITY_LOG_LIST_SHOW_MORE: string;
420
- VELT_ACTIVITY_LOG_EMPTY: string;
421
- VELT_ACTIVITY_LOG_CONTEXT_WRAPPER: string;
422
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER: string;
423
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_ICON: string;
424
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_TEXT: string;
425
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN: string;
426
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER: string;
427
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_LABEL: string;
428
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_AVATAR_LIST: string;
429
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_AVATAR_LIST_ITEM: string;
430
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_AVATAR_LIST_REMAINING_COUNT: string;
431
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_ICON: string;
432
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT: string;
433
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM: string;
434
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM_ICON: string;
435
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM_LABEL: string;
436
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_USER_PICKER: string;
437
248
  VELT_COMMENT_COMPOSER: string;
438
249
  VELT_SKELETON_LOADER: string;
439
250
  VELT_SHADOW_DOM_INTERNAL: string;
440
251
  VELT_SINGLE_EDITOR_MODE_PANEL: string;
441
- VELT_MULTI_THREAD_COMMENT_DIALOG_LIST: string;
442
- VELT_MULTI_THREAD_COMMENT_DIALOG_PANEL: string;
443
- VELT_MULTI_THREAD_COMMENT_DIALOG_COMPOSER_CONTAINER: string;
444
- VELT_MULTI_THREAD_COMMENT_DIALOG_COMMENT_COUNT: string;
445
- VELT_MULTI_THREAD_COMMENT_DIALOG_EMPTY_PLACEHOLDER: string;
446
- VELT_MULTI_THREAD_COMMENT_DIALOG_CLOSE_BUTTON: string;
447
- VELT_MULTI_THREAD_COMMENT_DIALOG_NEW_THREAD_BUTTON: string;
448
- VELT_MULTI_THREAD_COMMENT_DIALOG_RESET_FILTER_BUTTON: string;
449
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN: string;
450
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_TRIGGER: string;
451
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT: string;
452
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_ALL: string;
453
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_READ: string;
454
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_RESOLVED: string;
455
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_UNREAD: string;
456
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_SELECTED_ICON: string;
457
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_SORT_DATE: string;
458
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_SORT_UNREAD: string;
459
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN: string;
460
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_TRIGGER: string;
461
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_CONTENT: string;
462
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_READ: string;
463
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_RESOLVED: string;
464
- VELT_TEXT_COMMENT: string;
465
- VELT_TEXT_COMMENT_TOOL: string;
466
- VELT_TEXT_COMMENT_TOOLBAR: string;
467
- VELT_TEXT_COMMENT_TOOLBAR_COMMENT_ANNOTATION: string;
468
- VELT_TEXT_COMMENT_TOOLBAR_DIVIDER: string;
469
- VELT_TEXT_COMMENT_TOOLBAR_COPYWRITER: string;
470
- VELT_TEXT_COMMENT_TOOLBAR_GENERIC: string;
471
252
  };
472
253
  static ATTRIBUTES: {
473
254
  VELT_COMMENT_CONTAINER: string;
@@ -549,9 +330,6 @@ export declare class Constants {
549
330
  VELT_AVATAR_COLOR: string;
550
331
  VELT_COMMENT_PRIORITY_COLOR: string;
551
332
  };
552
- static BODY_CLASSES: {
553
- VELT_PIN_DRAGGING: string;
554
- };
555
333
  static INJECTION_ATTRIBUTES: {
556
334
  /**
557
335
  * @deprecated Use VELT_AVATAR_IMG instead
@@ -588,7 +366,6 @@ export declare class Constants {
588
366
  VELT_VERSION: string;
589
367
  VELT_ADVANCED_QUERIES: string;
590
368
  VELT_COMMENT_VIEWS_MIGRATED: string;
591
- VELT_AUTH_PROXY_HOST: string;
592
369
  };
593
370
  static NON_NESTABLE_ELEMENTS: {
594
371
  [tag: string]: boolean;
@@ -25,11 +25,7 @@ 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",
29
- RECORDER_ANNOTATION_ADD = "recorder_annotation.add",
30
- RECORDER_ANNOTATION_UPDATE = "recorder_annotation.update",
31
- RECORDER_ANNOTATION_DELETE = "recorder_annotation.delete",
32
- ACTIVITY_SAVE = "activity.save"
28
+ ATTACHMENT_DELETE = "attachment.delete"
33
29
  }
34
30
  export declare const CommentEventTypes: {
35
31
  readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
@@ -84,10 +80,6 @@ export declare const RecorderEventTypes: {
84
80
  readonly RECORDING_RESUMED: "recordingResumed";
85
81
  readonly RECORDING_CANCELLED: "recordingCancelled";
86
82
  readonly RECORDING_STOPPED: "recordingStopped";
87
- readonly RECORDING_DONE_LOCAL: "recordingDoneLocal";
88
- };
89
- export declare const RewriterEventTypes: {
90
- readonly TEXT_SELECTED: "textSelected";
91
83
  };
92
84
  export declare const CoreEventTypes: {
93
85
  readonly PERMISSION_PROVIDER: "permissionProvider";
@@ -95,9 +87,6 @@ export declare const CoreEventTypes: {
95
87
  readonly COMMENT_RESOLVER: "commentResolver";
96
88
  readonly ATTACHMENT_RESOLVER: "attachmentResolver";
97
89
  readonly REACTION_RESOLVER: "reactionResolver";
98
- readonly RECORDER_RESOLVER: "recorderResolver";
99
- readonly NOTIFICATION_RESOLVER: "notificationResolver";
100
- readonly ACTIVITY_RESOLVER: "activityResolver";
101
90
  readonly VELT_BUTTON_CLICK: "veltButtonClick";
102
91
  readonly USER_UPDATE: "userUpdate";
103
92
  readonly INIT_UPDATE: "initUpdate";
@@ -129,7 +118,6 @@ export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
129
118
  export type LiveStateSyncEventType = typeof LiveStateSyncEventTypes[keyof typeof LiveStateSyncEventTypes];
130
119
  export type PresenceEventType = typeof PresenceEventTypes[keyof typeof PresenceEventTypes];
131
120
  export type NotificationEventType = typeof NotificationEventTypes[keyof typeof NotificationEventTypes];
132
- export type RewriterEventType = typeof RewriterEventTypes[keyof typeof RewriterEventTypes];
133
121
  export type CrdtEventType = typeof CrdtEventTypes[keyof typeof CrdtEventTypes];
134
122
  export declare enum TagStatus {
135
123
  ADDED = "added",
@@ -184,8 +172,7 @@ export declare enum Features {
184
172
  REWRITER = "rewriter",
185
173
  LIVE_SELECTION = "liveSelection",
186
174
  NOTIFICATION = "notification",
187
- REACTION = "reaction",
188
- ACTIVITY = "activity"
175
+ REACTION = "reaction"
189
176
  }
190
177
  export declare enum AnalyticsFeatures {
191
178
  AREA = "area",
@@ -207,7 +194,7 @@ export declare enum AnalyticsFeatures {
207
194
  INLINE_COMMENT = "inlineComment",
208
195
  COMMENT_SIDEBAR = "commentSidebar"
209
196
  }
210
- export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread' | 'activity';
197
+ export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread';
211
198
  export type AssignToType = 'dropdown' | 'checkbox';
212
199
  export declare enum DeviceType {
213
200
  DESKTOP = "Desktop",
@@ -326,13 +313,3 @@ export type NotificationSettingsItemType = 'ALL' | 'MINE' | 'NONE' | string;
326
313
  * Type for notification settings layout
327
314
  */
328
315
  export type NotificationSettingsLayout = 'accordion' | 'dropdown';
329
- /**
330
- * Enum for comment visibility options in the visibility banner dropdown
331
- */
332
- export declare enum CommentVisibilityOption {
333
- RESTRICTED_SELF = "restrictedSelf",
334
- RESTRICTED_SELECTED_PEOPLE = "restrictedSelectedPeople",
335
- ORGANIZATION_PRIVATE = "organizationPrivate",
336
- PUBLIC = "public"
337
- }
338
- 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';
@@ -49,7 +47,6 @@ export * from './app/models/data/recorder.model';
49
47
  export * from './app/models/data/recorder-annotation.data.model';
50
48
  export * from './app/models/data/recorder-events.data.model';
51
49
  export * from './app/models/data/rewriter-annotation.data.model';
52
- export * from './app/models/data/rewriter-events.data.model';
53
50
  export * from './app/models/data/screen-size.data.model';
54
51
  export * from './app/models/data/screenshot.data.model';
55
52
  export * from './app/models/data/selection.model';
@@ -74,9 +71,7 @@ export * from './app/models/data/views.data.model';
74
71
  export * from './app/models/data/autocomplete.data.model';
75
72
  export * from './app/models/data/reaction-annotation.data.model';
76
73
  export * from './app/models/data/reaction-resolver.data.model';
77
- export * from './app/models/data/recorder-resolver.data.model';
78
74
  export * from './app/models/data/attachment-resolver.data.model';
79
- export * from './app/models/data/activity-resolver.data.model';
80
75
  export * from './app/models/data/reaction.data.model';
81
76
  export * from './app/models/data/organization-groups.data.model';
82
77
  export * from './app/models/data/organization-metadata.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-staging",
3
- "version": "5.0.2-beta.45",
3
+ "version": "5.0.2-beta.6",
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';
package/velt.css CHANGED
@@ -1 +1 @@
1
- html{--velt-base-rem-unit: 1}*[data-snippyly-element=true],*[data-velt-element=true]{font-family:var(--velt-default-font-family)}velt-wireframe{display:none!important}body.velt-pin-dragging iframe{pointer-events:none!important}
1
+ html{--velt-base-rem-unit: 1}*[data-snippyly-element=true],*[data-velt-element=true]{font-family:var(--velt-default-font-family)}velt-wireframe{display:none!important}