@veltdev/types-dev 5.0.2-beta.49 → 5.0.2-beta.5

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 (37) 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 -15
  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 +20 -29
  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 -153
  28. package/app/utils/enums.d.ts +3 -29
  29. package/models.d.ts +0 -5
  30. package/package.json +1 -1
  31. package/types.d.ts +0 -1
  32. package/app/models/data/activity-resolver.data.model.d.ts +0 -27
  33. package/app/models/data/activity.data.model.d.ts +0 -179
  34. package/app/models/data/notification-resolver.data.model.d.ts +0 -39
  35. package/app/models/data/recorder-resolver.data.model.d.ts +0 -58
  36. package/app/models/data/rewriter-events.data.model.d.ts +0 -40
  37. package/app/models/element/activity-element.model.d.ts +0 -33
@@ -4,7 +4,7 @@ import { AssignToType, CommentSidebarSystemFiltersOperator, SidebarButtonCountTy
4
4
  import { UploadFileData } from "../data/attachment.model";
5
5
  import { AutocompleteData } from "../data/autocomplete.data.model";
6
6
  import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserEvent, AssignUserRequest, ClearComposerRequest, CommentRequestQuery, CommentVisibilityConfig, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, FetchCommentAnnotationsRequest, GetAttachmentRequest, GetCommentRequest, GetComposerDataRequest, GetLinkRequest, GetRecordingRequest, PrivateModeConfig, PublishCommentAnnotationRequest, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubmitCommentRequest, SubscribeCommentAnnotationRequest, ToggleReactionRequest, UnsubscribeCommentAnnotationRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest } from "../data/comment-actions.data.model";
7
- import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
7
+ import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig, VisibilityOptionClickedData } from "../data/comment-annotation.data.model";
8
8
  import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, AssignToConfig, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, ComposerTextChangeEvent, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, FetchCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, GetCommentAnnotationsResponse, GetLinkEvent, PageModeComposerConfig, PublishCommentAnnotationEvent, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent } from "../data/comment-events.data.model";
9
9
  import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
10
10
  import { CommentContextProvider, FormatConfig, TransformContext, UnreadCommentsCount } from "../data/comment-utils.data.model";
@@ -291,14 +291,14 @@ export declare class CommentElement {
291
291
  public disableStatus: () => any;
292
292
 
293
293
  /**
294
- * To enable visibility options on comments
294
+ * To enable visibility option dropdown on comments
295
295
  */
296
- public enableVisibilityOptions: () => any;
296
+ public enableVisibilityOptionDropdown: () => any;
297
297
 
298
298
  /**
299
- * To disable visibility options on comments
299
+ * To disable visibility option dropdown on comments
300
300
  */
301
- public disableVisibilityOptions: () => any;
301
+ public disableVisibilityOptionDropdown: () => any;
302
302
 
303
303
  /**
304
304
  * To enable feature to show resolve button
@@ -741,6 +741,12 @@ export declare class CommentElement {
741
741
  */
742
742
  public onCommentSelectionChange: () => Observable<CommentSelectionChangeData | null>;
743
743
 
744
+ /**
745
+ * Subscribe to visibility option click events
746
+ * @returns Observable<VisibilityOptionClickedData>
747
+ */
748
+ public onVisibilityOptionClick: () => Observable<VisibilityOptionClickedData>;
749
+
744
750
  /**
745
751
  * Subscribe to unread comments count by annotation id
746
752
  *
@@ -1390,16 +1396,6 @@ export declare class CommentElement {
1390
1396
  */
1391
1397
  public getComposerData: (request: GetComposerDataRequest) => ComposerTextChangeEvent | null;
1392
1398
 
1393
- /**
1394
- * To enable pin drag
1395
- */
1396
- public enablePinDrag: () => void;
1397
-
1398
- /**
1399
- * To disable pin drag
1400
- */
1401
- public disablePinDrag: () => void;
1402
-
1403
1399
  constructor();
1404
1400
  /**
1405
1401
  * Subscribe to comments on the current document.
@@ -1641,14 +1637,14 @@ export declare class CommentElement {
1641
1637
  private _disableStatus;
1642
1638
 
1643
1639
  /**
1644
- * To enable visibility options on comments
1640
+ * To enable visibility option dropdown on comments
1645
1641
  */
1646
- private _enableVisibilityOptions;
1642
+ private _enableVisibilityOptionDropdown;
1647
1643
 
1648
1644
  /**
1649
- * To disable visibility options on comments
1645
+ * To disable visibility option dropdown on comments
1650
1646
  */
1651
- private _disableVisibilityOptions;
1647
+ private _disableVisibilityOptionDropdown;
1652
1648
 
1653
1649
  /**
1654
1650
  * To enable feature to show resolve button
@@ -2085,6 +2081,11 @@ export declare class CommentElement {
2085
2081
  */
2086
2082
  private _onCommentSelectionChange;
2087
2083
 
2084
+ /**
2085
+ * Subscribe to visibility option click events
2086
+ */
2087
+ private _onVisibilityOptionClick;
2088
+
2088
2089
  /**
2089
2090
  * To get unread comments count by annotation id
2090
2091
  * @returns Observable<UnreadCommentsCount>.
@@ -2761,14 +2762,4 @@ export declare class CommentElement {
2761
2762
  * @param type 'dropdown' | 'checkbox'
2762
2763
  */
2763
2764
  private _setAssignToType;
2764
-
2765
- /**
2766
- * To enable pin drag
2767
- */
2768
- private _enablePinDrag;
2769
-
2770
- /**
2771
- * To disable pin drag
2772
- */
2773
- private _disablePinDrag;
2774
2765
  }
@@ -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;
@@ -309,98 +244,11 @@ export declare class Constants {
309
244
  VELT_NOTIFICATIONS_HISTORY_PANEL: string;
310
245
  VELT_WIREFRAME: string;
311
246
  VELT_AUTOCOMPLETE: string;
312
- VELT_AUTOCOMPLETE_PANEL: string;
313
- VELT_AUTOCOMPLETE_OPTION: string;
314
- VELT_AUTOCOMPLETE_OPTION_ICON: string;
315
- VELT_AUTOCOMPLETE_OPTION_NAME: string;
316
- VELT_AUTOCOMPLETE_OPTION_DESCRIPTION: string;
317
- VELT_AUTOCOMPLETE_OPTION_ERROR_ICON: string;
318
- VELT_AUTOCOMPLETE_GROUP_OPTION: string;
319
- VELT_AUTOCOMPLETE_TOOL: string;
320
- VELT_AUTOCOMPLETE_EMPTY: string;
321
247
  VELT_AUTOCOMPLETE_CHIP: string;
322
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP: string;
323
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP_ICON: string;
324
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP_NAME: string;
325
- VELT_AUTOCOMPLETE_CHIP_TOOLTIP_DESCRIPTION: string;
326
- VELT_AUTOCOMPLETE_CONTEXT_WRAPPER: string;
327
- VELT_ACTIVITY_LOG: string;
328
- VELT_ACTIVITY_LOG_HEADER: string;
329
- VELT_ACTIVITY_LOG_HEADER_TITLE: string;
330
- VELT_ACTIVITY_LOG_HEADER_CLOSE_BUTTON: string;
331
- VELT_ACTIVITY_LOG_HEADER_FILTER: string;
332
- VELT_ACTIVITY_LOG_HEADER_FILTER_TRIGGER: string;
333
- VELT_ACTIVITY_LOG_HEADER_FILTER_TRIGGER_LABEL: string;
334
- VELT_ACTIVITY_LOG_HEADER_FILTER_TRIGGER_ICON: string;
335
- VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT: string;
336
- VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT_ITEM: string;
337
- VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT_ITEM_LABEL: string;
338
- VELT_ACTIVITY_LOG_HEADER_FILTER_CONTENT_ITEM_ICON: string;
339
- VELT_ACTIVITY_LOG_LOADING: string;
340
- VELT_ACTIVITY_LOG_LIST: string;
341
- VELT_ACTIVITY_LOG_LIST_DATE_GROUP: string;
342
- VELT_ACTIVITY_LOG_LIST_DATE_GROUP_LABEL: string;
343
- VELT_ACTIVITY_LOG_LIST_ITEM: string;
344
- VELT_ACTIVITY_LOG_LIST_ITEM_ICON: string;
345
- VELT_ACTIVITY_LOG_LIST_ITEM_AVATAR: string;
346
- VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT: string;
347
- VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_USER: string;
348
- VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_ACTION: string;
349
- VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_TARGET: string;
350
- VELT_ACTIVITY_LOG_LIST_ITEM_CONTENT_DETAIL: string;
351
- VELT_ACTIVITY_LOG_LIST_ITEM_TIME: string;
352
- VELT_ACTIVITY_LOG_LIST_SHOW_MORE: string;
353
- VELT_ACTIVITY_LOG_EMPTY: string;
354
- VELT_ACTIVITY_LOG_CONTEXT_WRAPPER: string;
355
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER: string;
356
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_ICON: string;
357
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_TEXT: string;
358
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN: string;
359
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER: string;
360
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_LABEL: string;
361
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_AVATAR_LIST: string;
362
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_AVATAR_LIST_ITEM: string;
363
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_AVATAR_LIST_REMAINING_COUNT: string;
364
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_TRIGGER_ICON: string;
365
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT: string;
366
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM: string;
367
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM_ICON: string;
368
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_ITEM_LABEL: string;
369
- VELT_COMMENT_DIALOG_VISIBILITY_BANNER_DROPDOWN_CONTENT_USER_PICKER: string;
370
248
  VELT_COMMENT_COMPOSER: string;
371
249
  VELT_SKELETON_LOADER: string;
372
250
  VELT_SHADOW_DOM_INTERNAL: string;
373
251
  VELT_SINGLE_EDITOR_MODE_PANEL: string;
374
- VELT_MULTI_THREAD_COMMENT_DIALOG_LIST: string;
375
- VELT_MULTI_THREAD_COMMENT_DIALOG_PANEL: string;
376
- VELT_MULTI_THREAD_COMMENT_DIALOG_COMPOSER_CONTAINER: string;
377
- VELT_MULTI_THREAD_COMMENT_DIALOG_COMMENT_COUNT: string;
378
- VELT_MULTI_THREAD_COMMENT_DIALOG_EMPTY_PLACEHOLDER: string;
379
- VELT_MULTI_THREAD_COMMENT_DIALOG_CLOSE_BUTTON: string;
380
- VELT_MULTI_THREAD_COMMENT_DIALOG_NEW_THREAD_BUTTON: string;
381
- VELT_MULTI_THREAD_COMMENT_DIALOG_RESET_FILTER_BUTTON: string;
382
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN: string;
383
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_TRIGGER: string;
384
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT: string;
385
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_ALL: string;
386
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_READ: string;
387
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_RESOLVED: string;
388
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_FILTER_UNREAD: string;
389
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_SELECTED_ICON: string;
390
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_SORT_DATE: string;
391
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_FILTER_DROPDOWN_CONTENT_SORT_UNREAD: string;
392
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN: string;
393
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_TRIGGER: string;
394
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_CONTENT: string;
395
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_READ: string;
396
- VELT_MULTI_THREAD_COMMENT_DIALOG_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_RESOLVED: string;
397
- VELT_TEXT_COMMENT: string;
398
- VELT_TEXT_COMMENT_TOOL: string;
399
- VELT_TEXT_COMMENT_TOOLBAR: string;
400
- VELT_TEXT_COMMENT_TOOLBAR_COMMENT_ANNOTATION: string;
401
- VELT_TEXT_COMMENT_TOOLBAR_DIVIDER: string;
402
- VELT_TEXT_COMMENT_TOOLBAR_COPYWRITER: string;
403
- VELT_TEXT_COMMENT_TOOLBAR_GENERIC: string;
404
252
  };
405
253
  static ATTRIBUTES: {
406
254
  VELT_COMMENT_CONTAINER: string;
@@ -518,7 +366,6 @@ export declare class Constants {
518
366
  VELT_VERSION: string;
519
367
  VELT_ADVANCED_QUERIES: string;
520
368
  VELT_COMMENT_VIEWS_MIGRATED: string;
521
- VELT_AUTH_PROXY_HOST: string;
522
369
  };
523
370
  static NON_NESTABLE_ELEMENTS: {
524
371
  [tag: string]: boolean;
@@ -26,11 +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",
33
- ACTIVITY_SAVE = "activity.save"
29
+ ATTACHMENT_DELETE = "attachment.delete"
34
30
  }
35
31
  export declare const CommentEventTypes: {
36
32
  readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
@@ -66,12 +62,9 @@ export declare const CommentEventTypes: {
66
62
  readonly COMMENT_PIN_CLICKED: "commentPinClicked";
67
63
  readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
68
64
  readonly COMMENT_TOOL_CLICK: "commentToolClick";
69
- readonly COMMENT_TOOL_CLICKED: "commentToolClicked";
70
65
  readonly SIDEBAR_BUTTON_CLICK: "sidebarButtonClick";
71
- readonly SIDEBAR_BUTTON_CLICKED: "sidebarButtonClicked";
72
66
  readonly ATTACHMENT_DOWNLOAD_CLICKED: "attachmentDownloadClicked";
73
67
  readonly COMMENT_SAVED: "commentSaved";
74
- readonly COMMENT_SAVE_TRIGGERED: "commentSaveTriggered";
75
68
  readonly VISIBILITY_OPTION_CLICKED: "visibilityOptionClicked";
76
69
  };
77
70
  export declare const RecorderEventTypes: {
@@ -86,10 +79,6 @@ export declare const RecorderEventTypes: {
86
79
  readonly RECORDING_RESUMED: "recordingResumed";
87
80
  readonly RECORDING_CANCELLED: "recordingCancelled";
88
81
  readonly RECORDING_STOPPED: "recordingStopped";
89
- readonly RECORDING_DONE_LOCAL: "recordingDoneLocal";
90
- };
91
- export declare const RewriterEventTypes: {
92
- readonly TEXT_SELECTED: "textSelected";
93
82
  };
94
83
  export declare const CoreEventTypes: {
95
84
  readonly PERMISSION_PROVIDER: "permissionProvider";
@@ -97,9 +86,6 @@ export declare const CoreEventTypes: {
97
86
  readonly COMMENT_RESOLVER: "commentResolver";
98
87
  readonly ATTACHMENT_RESOLVER: "attachmentResolver";
99
88
  readonly REACTION_RESOLVER: "reactionResolver";
100
- readonly RECORDER_RESOLVER: "recorderResolver";
101
- readonly NOTIFICATION_RESOLVER: "notificationResolver";
102
- readonly ACTIVITY_RESOLVER: "activityResolver";
103
89
  readonly VELT_BUTTON_CLICK: "veltButtonClick";
104
90
  readonly USER_UPDATE: "userUpdate";
105
91
  readonly INIT_UPDATE: "initUpdate";
@@ -131,7 +117,6 @@ export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
131
117
  export type LiveStateSyncEventType = typeof LiveStateSyncEventTypes[keyof typeof LiveStateSyncEventTypes];
132
118
  export type PresenceEventType = typeof PresenceEventTypes[keyof typeof PresenceEventTypes];
133
119
  export type NotificationEventType = typeof NotificationEventTypes[keyof typeof NotificationEventTypes];
134
- export type RewriterEventType = typeof RewriterEventTypes[keyof typeof RewriterEventTypes];
135
120
  export type CrdtEventType = typeof CrdtEventTypes[keyof typeof CrdtEventTypes];
136
121
  export declare enum TagStatus {
137
122
  ADDED = "added",
@@ -186,8 +171,7 @@ export declare enum Features {
186
171
  REWRITER = "rewriter",
187
172
  LIVE_SELECTION = "liveSelection",
188
173
  NOTIFICATION = "notification",
189
- REACTION = "reaction",
190
- ACTIVITY = "activity"
174
+ REACTION = "reaction"
191
175
  }
192
176
  export declare enum AnalyticsFeatures {
193
177
  AREA = "area",
@@ -209,7 +193,7 @@ export declare enum AnalyticsFeatures {
209
193
  INLINE_COMMENT = "inlineComment",
210
194
  COMMENT_SIDEBAR = "commentSidebar"
211
195
  }
212
- 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';
213
197
  export type AssignToType = 'dropdown' | 'checkbox';
214
198
  export declare enum DeviceType {
215
199
  DESKTOP = "Desktop",
@@ -328,13 +312,3 @@ export type NotificationSettingsItemType = 'ALL' | 'MINE' | 'NONE' | string;
328
312
  * Type for notification settings layout
329
313
  */
330
314
  export type NotificationSettingsLayout = 'accordion' | 'dropdown';
331
- /**
332
- * Enum for comment visibility options in the visibility banner dropdown
333
- */
334
- export declare enum CommentVisibilityOption {
335
- RESTRICTED_SELF = "restrictedSelf",
336
- RESTRICTED_SELECTED_PEOPLE = "restrictedSelectedPeople",
337
- ORGANIZATION_PRIVATE = "organizationPrivate",
338
- PUBLIC = "public"
339
- }
340
- 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/types-dev",
3
- "version": "5.0.2-beta.49",
3
+ "version": "5.0.2-beta.5",
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';
@@ -1,27 +0,0 @@
1
- import { BaseMetadata } from './base-metadata.data.model';
2
- import { ActivityChanges } from './activity.data.model';
3
- import { ResolverConfig, ResolverResponse } from './resolver.data.model';
4
- export interface PartialActivityRecord {
5
- id: string;
6
- metadata?: BaseMetadata;
7
- changes?: ActivityChanges;
8
- entityData?: unknown;
9
- entityTargetData?: unknown;
10
- displayMessageTemplateData?: Record<string, unknown>;
11
- [key: string]: any;
12
- }
13
- export interface ActivityAnnotationDataProvider {
14
- get?: (request: GetActivityResolverRequest) => Promise<ResolverResponse<Record<string, PartialActivityRecord>>>;
15
- save?: (request: SaveActivityResolverRequest) => Promise<ResolverResponse<undefined>>;
16
- config?: ResolverConfig;
17
- }
18
- export interface GetActivityResolverRequest {
19
- activityIds?: string[];
20
- documentIds?: string[];
21
- organizationId?: string;
22
- }
23
- export interface SaveActivityResolverRequest {
24
- activity: Record<string, PartialActivityRecord>;
25
- event?: string;
26
- metadata?: BaseMetadata;
27
- }