@veltdev/types-dev 5.0.0-beta.38 → 5.0.0-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.
@@ -41,31 +41,9 @@ export interface CopyLinkRequest {
41
41
  annotationId: string;
42
42
  options?: RequestOptions;
43
43
  }
44
- /**
45
- * Visibility type for comment annotations.
46
- * - 'public': Visible to everyone (default:velt)
47
- * - 'organization': Visible only to users in the specified organization
48
- * - 'self': Visible only to specified users (private comments)
49
- */
50
- export type CommentVisibilityType = 'public' | 'organization' | 'self';
51
- /**
52
- * Configuration for comment visibility/access control.
53
- */
54
- export interface CommentVisibilityConfig {
55
- /** The type of visibility for the comment */
56
- type: CommentVisibilityType;
57
- /** Annotation ID for the comment to update visibility */
58
- annotationId?: string;
59
- /** Organization ID for 'organization' type visibility */
60
- organizationId?: string;
61
- /** User IDs for 'self' type visibility - array of user IDs who can see the comment */
62
- userIds?: string[];
63
- }
64
44
  export interface AddCommentAnnotationRequest {
65
45
  annotation: CommentAnnotation;
66
46
  options?: RequestOptions;
67
- /** Optional visibility configuration for the comment */
68
- visibility?: CommentVisibilityConfig;
69
47
  }
70
48
  export interface PublishCommentAnnotationRequest {
71
49
  annotationId: string;
@@ -87,24 +65,6 @@ export interface DeleteCommentAnnotationRequest {
87
65
  annotationId: string;
88
66
  options?: RequestOptions;
89
67
  }
90
- /**
91
- * Query parameters for fetching comment annotation counts.
92
- *
93
- * @property organizationId - Filter by organization (enables org-wide aggregation when used alone)
94
- * @property documentIds - Filter by specific document IDs
95
- * @property locationIds - Filter by location IDs within documents
96
- * @property statusIds - Filter by comment status IDs (e.g., "open", "resolved")
97
- * @property folderId - Filter by folder ID (use with allDocuments for folder-wide counts)
98
- * @property allDocuments - When true with folderId, aggregates all documents in folder
99
- * @property locationId - Single location filter (deprecated, use locationIds)
100
- * @property aggregateDocuments - When true, combines all documentIds into single count
101
- * @property filterGhostComments - When true, excludes orphaned/deleted comments from counts
102
- * @property batchedPerDocument - When true, uses efficient batched listeners (4 instead of 100)
103
- * but still returns per-document counts. Best for large document lists (50+).
104
- * Trade-off: slight delay on updates due to debouncing.
105
- * @property debounceMs - Debounce time in milliseconds for batchedPerDocument mode (default: 5000ms).
106
- * Prevents rapid re-fetches when multiple documents update in quick succession.
107
- */
108
68
  export interface CommentRequestQuery {
109
69
  organizationId?: string;
110
70
  documentIds?: string[];
@@ -115,10 +75,6 @@ export interface CommentRequestQuery {
115
75
  locationId?: string;
116
76
  aggregateDocuments?: boolean;
117
77
  filterGhostComments?: boolean;
118
- /** Enable batched listeners with per-document counts. Uses 4 listeners instead of N listeners. */
119
- batchedPerDocument?: boolean;
120
- /** Debounce time in ms for batchedPerDocument mode (default: 5000). */
121
- debounceMs?: number;
122
78
  }
123
79
  export interface SubscribeCommentAnnotationRequest {
124
80
  annotationId: string;
@@ -218,32 +174,6 @@ export interface ToggleReactionRequest {
218
174
  };
219
175
  options?: RequestOptions;
220
176
  }
221
- export interface SubmitCommentRequest {
222
- targetComposerElementId: string;
223
- }
224
- export interface ClearComposerRequest {
225
- targetComposerElementId: string;
226
- }
227
- export interface GetComposerDataRequest {
228
- targetComposerElementId: string;
229
- }
230
- /**
231
- * FormatConfig - Configuration for format options
232
- */
233
- export interface FormatConfig {
234
- bold?: {
235
- enable: boolean;
236
- };
237
- italic?: {
238
- enable: boolean;
239
- };
240
- underline?: {
241
- enable: boolean;
242
- };
243
- strikethrough?: {
244
- enable: boolean;
245
- };
246
- }
247
177
  export interface FetchCommentAnnotationsRequest {
248
178
  createdAfter?: number;
249
179
  createdBefore?: number;
@@ -184,7 +184,6 @@ export declare class CommentAnnotation {
184
184
  unsubscribedUsers?: CommentAnnotationUnsubscribedUsers;
185
185
  subscribedGroups?: CommentAnnotationSubscribedGroups;
186
186
  resolvedByUserId?: string | null;
187
- resolvedByUser?: User | null;
188
187
  multiThreadAnnotationId?: string;
189
188
  isDraft?: boolean;
190
189
  sourceId?: string;
@@ -1,4 +1,4 @@
1
- import { AssignToType, CommentAccessMode, CommentEventTypes, CommentStatus } from "../../utils/enums";
1
+ import { CommentAccessMode, CommentEventTypes, CommentStatus } from "../../utils/enums";
2
2
  import { Attachment } from "./attachment.model";
3
3
  import { VeltButtonClickEvent } from "./button.data.model";
4
4
  import { AddAttachmentResponse } from "./comment-actions.data.model";
@@ -54,7 +54,6 @@ export interface CommentSuggestionEventData {
54
54
  }
55
55
  export type CommentEventTypesMap = {
56
56
  [CommentEventTypes.ADD_COMMENT_ANNOTATION]: AddCommentAnnotationEvent;
57
- [CommentEventTypes.ADD_COMMENT_ANNOTATION_DRAFT]: AddCommentAnnotationDraftEvent;
58
57
  [CommentEventTypes.APPROVE_COMMENT_ANNOTATION]: ApproveCommentAnnotationEvent;
59
58
  [CommentEventTypes.ACCEPT_COMMENT_ANNOTATION]: AcceptCommentAnnotationEvent;
60
59
  [CommentEventTypes.REJECT_COMMENT_ANNOTATION]: RejectCommentAnnotationEvent;
@@ -84,8 +83,6 @@ export type CommentEventTypesMap = {
84
83
  [CommentEventTypes.LINK_CLICKED]: LinkClickedEvent;
85
84
  [CommentEventTypes.COMMENT_PIN_CLICKED]: CommentPinClickedEvent;
86
85
  [CommentEventTypes.COMMENT_BUBBLE_CLICKED]: CommentBubbleClickedEvent;
87
- [CommentEventTypes.COMMENT_TOOL_CLICK]: CommentToolClickEvent;
88
- [CommentEventTypes.SIDEBAR_BUTTON_CLICK]: SidebarButtonClickEvent;
89
86
  };
90
87
  export interface AddAttachmentEvent {
91
88
  annotationId: string;
@@ -100,10 +97,6 @@ export interface DeleteAttachmentEvent {
100
97
  attachment: Attachment;
101
98
  metadata: VeltEventMetadata;
102
99
  }
103
- export interface AddCommentAnnotationDraftEvent {
104
- metadata: VeltEventMetadata;
105
- addContext: (context: Record<string, unknown>) => void;
106
- }
107
100
  export interface AddCommentAnnotationEvent {
108
101
  annotationId: string;
109
102
  commentAnnotation: CommentAnnotation;
@@ -285,26 +278,5 @@ export interface CommentBubbleClickedEvent {
285
278
  }
286
279
  export interface ComposerTextChangeEvent {
287
280
  text: string;
288
- annotation: CommentAnnotation;
289
- targetComposerElementId: string;
290
- metadata?: VeltEventMetadata;
291
- }
292
- export interface AssignToConfig {
293
- type: AssignToType;
294
- }
295
- export interface PageModeComposerConfig {
296
- context?: {
297
- [key: string]: any;
298
- } | null;
299
- targetElementId?: string | null;
300
- }
301
- export interface CommentToolClickEvent {
302
- context: {
303
- [key: string]: any;
304
- } | null;
305
- targetElementId?: string | null;
306
- metadata?: VeltEventMetadata;
307
- }
308
- export interface SidebarButtonClickEvent {
309
281
  metadata?: VeltEventMetadata;
310
282
  }
@@ -1,4 +1,3 @@
1
- import { Location } from './location.model';
2
1
  export interface IUnreadCommentsMap {
3
2
  [annotationId: string]: number;
4
3
  }
@@ -15,28 +14,3 @@ export interface TransformContext {
15
14
  inverseScale?: number;
16
15
  };
17
16
  }
18
- /**
19
- * Context data returned by the comment context provider.
20
- * This is a flexible object that can contain custom properties.
21
- */
22
- export interface CommentContext {
23
- /**
24
- * Optional comment type. When set to 'manual', the comment will be treated as a manual comment
25
- * and the target element will be removed.
26
- */
27
- commentType?: 'manual' | string;
28
- /**
29
- * Allow additional custom properties
30
- */
31
- [key: string]: unknown;
32
- }
33
- export type CommentContextProviderResponse = CommentContext | null | undefined;
34
- /**
35
- * A function that provides custom context for comments.
36
- * Can return the context synchronously or asynchronously via a Promise.
37
- *
38
- * @param documentId - The ID of the document
39
- * @param location - Optional location information
40
- * @returns The comment context object or a Promise that resolves to it
41
- */
42
- export type CommentContextProvider = (documentId: string, location?: Location) => CommentContextProviderResponse | Promise<CommentContextProviderResponse>;
@@ -74,6 +74,3 @@ export interface DisableLogsConfig {
74
74
  warnings?: boolean;
75
75
  suppressAll?: boolean;
76
76
  }
77
- export interface GetProjectConfigResponse {
78
- isPrivateCommentsEnabled: boolean;
79
- }
@@ -1,16 +1,16 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
- import { AssignToType, CommentSidebarSystemFiltersOperator, SidebarButtonCountType } from "../../utils/enums";
4
- import { UploadFileData } from "../data/attachment.model";
5
- import { AutocompleteData } from "../data/autocomplete.data.model";
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, PublishCommentAnnotationRequest, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubmitCommentRequest, SubscribeCommentAnnotationRequest, ToggleReactionRequest, UnsubscribeCommentAnnotationRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest } from "../data/comment-actions.data.model";
7
3
  import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
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
- import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
10
- import { CommentContextProvider, FormatConfig, TransformContext, UnreadCommentsCount } from "../data/comment-utils.data.model";
11
- import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
4
+ import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, GetLinkEvent, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent, GetCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, FetchCommentAnnotationsResponse, PublishCommentAnnotationEvent } from "../data/comment-events.data.model";
12
5
  import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
13
- export { ReactionMap, ReactionMap } from '../data/reaction-annotation.data.model';
6
+ import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
7
+ import { AutocompleteData } from "../data/autocomplete.data.model";
8
+ import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
9
+ export { ReactionMap } from '../data/reaction-annotation.data.model';
10
+ import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserRequest, AssignUserEvent, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, CommentRequestQuery, CommentRequestQuery, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, GetAttachmentRequest, GetCommentRequest, GetLinkRequest, GetRecordingRequest, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationRequest, ToggleReactionRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest, FetchCommentAnnotationsRequest, PublishCommentAnnotationRequest } from "../data/comment-actions.data.model";
11
+ import { UnreadCommentsCount, TransformContext } from "../data/comment-utils.data.model";
12
+ import { CommentSidebarSystemFiltersOperator, SidebarButtonCountType } from "../../utils/enums";
13
+ import { UploadFileData } from "../data/attachment.model";
14
14
 
15
15
  export declare class CommentElement {
16
16
  /**
@@ -85,39 +85,6 @@ export declare class CommentElement {
85
85
  */
86
86
  toggleCommentSidebar: () => any;
87
87
 
88
- /**
89
- * To enable context in page mode composer feature
90
- * When enabled, clicking comment tool will open sidebar with page mode composer and pass context
91
- */
92
- enableContextInPageModeComposer: () => void;
93
-
94
- /**
95
- * To disable context in page mode composer feature
96
- */
97
- disableContextInPageModeComposer: () => void;
98
-
99
- /**
100
- * To clear page mode composer context
101
- */
102
- clearPageModeComposerContext: () => void;
103
-
104
- /**
105
- * To set context in page mode composer
106
- * @param config The page mode composer config containing context and targetElementId
107
- */
108
- setContextInPageModeComposer: (config: PageModeComposerConfig | null) => void;
109
-
110
- /**
111
- * To focus the page mode composer input
112
- */
113
- focusPageModeComposer: () => void;
114
-
115
- /**
116
- * To set assign to type for comment dialog
117
- * @param config The assign to config containing type
118
- */
119
- setAssignToType: (config: AssignToConfig) => void;
120
-
121
88
  /**
122
89
  * To enable moderator mode
123
90
  */
@@ -362,7 +329,7 @@ export declare class CommentElement {
362
329
  * @description Sets the comment context provider
363
330
  * @param provider
364
331
  */
365
- public setContextProvider: (provider: CommentContextProvider | null) => void;
332
+ public setContextProvider: (provider: (documentId: string, location?: any) => any) => void;
366
333
 
367
334
  /**
368
335
  * To enable suggestion mode
@@ -498,13 +465,11 @@ export declare class CommentElement {
498
465
  /**
499
466
  * To enable private comment mode to add private comments.
500
467
  * This mode can be enabled for admin users only.
501
- * @deprecated
502
468
  */
503
469
  public enablePrivateCommentMode: () => void;
504
470
 
505
471
  /**
506
472
  * To disable private comment mode.
507
- * @deprecated
508
473
  */
509
474
  public disablePrivateCommentMode: () => void;
510
475
 
@@ -858,13 +823,6 @@ export declare class CommentElement {
858
823
  */
859
824
  public updateContext: (annotationId: string, context: any, config?: UpdateContextConfig) => Promise<any>;
860
825
 
861
- /**
862
- * Updates the visibility of a comment annotation.
863
- * @param visibility Visibility configuration (public, organization, or self) including annotationId
864
- * @returns Promise<any>
865
- */
866
- public updateVisibility: (visibility: CommentVisibilityConfig) => Promise<any>;
867
-
868
826
  /**
869
827
  * Subscribe to selected comments
870
828
  * @returns list of selected comments
@@ -1058,7 +1016,6 @@ export declare class CommentElement {
1058
1016
 
1059
1017
  /**
1060
1018
  * To update access
1061
- * @deprecated
1062
1019
  */
1063
1020
  public updateAccess: (request: UpdateAccessRequest) => Promise<UpdateAccessEvent | null>;
1064
1021
 
@@ -1312,6 +1269,13 @@ export declare class CommentElement {
1312
1269
  */
1313
1270
  public disableScreenshot: () => void;
1314
1271
 
1272
+ /**
1273
+ * To programmatically submit a comment from a velt-comment-composer.
1274
+ * Finds the composer within the element identified by referenceId and submits its content.
1275
+ * @param referenceId The ID of the HTML element containing the velt-comment-composer
1276
+ */
1277
+ public submitComment: (referenceId: string) => void;
1278
+
1315
1279
  /**
1316
1280
  * To enable paginated contact list
1317
1281
  */
@@ -1322,42 +1286,6 @@ export declare class CommentElement {
1322
1286
  */
1323
1287
  public disablePaginatedContactList: () => void;
1324
1288
 
1325
- /**
1326
- * To enable format options (bold, italic, underline, strikethrough)
1327
- */
1328
- public enableFormatOptions: () => void;
1329
-
1330
- /**
1331
- * To disable format options
1332
- */
1333
- public disableFormatOptions: () => void;
1334
-
1335
- /**
1336
- * Set format config to control which format options are enabled
1337
- * @param config FormatConfig with enable flags for each format type
1338
- */
1339
- public setFormatConfig: (config: FormatConfig) => void;
1340
-
1341
- /**
1342
- * Programmatically trigger comment submission for a composer with the given targetComposerElementId
1343
- * @param request SubmitCommentRequest containing targetComposerElementId
1344
- */
1345
- public submitComment: (request: SubmitCommentRequest) => void;
1346
-
1347
- /**
1348
- * Programmatically clear the composer state for the given targetComposerElementId
1349
- * @param request ClearComposerRequest containing targetComposerElementId
1350
- */
1351
- public clearComposer: (request: ClearComposerRequest) => void;
1352
-
1353
- /**
1354
- * Get the current composer data for a given targetComposerElementId
1355
- * Returns the same data as COMPOSER_TEXT_CHANGE event but as a one-time fetch
1356
- * @param request GetComposerDataRequest containing targetComposerElementId
1357
- * @returns The composer data or null if not found
1358
- */
1359
- public getComposerData: (request: GetComposerDataRequest) => ComposerTextChangeEvent | null;
1360
-
1361
1289
  constructor();
1362
1290
  /**
1363
1291
  * Subscribe to comments on the current document.
@@ -2159,14 +2087,6 @@ export declare class CommentElement {
2159
2087
  */
2160
2088
  private _updateContext;
2161
2089
 
2162
- /**
2163
- * Updates the visibility of a comment annotation.
2164
- * @param annotationId Annotation Id
2165
- * @param visibility Visibility configuration (public, organization, or self)
2166
- * @returns Promise<any>
2167
- */
2168
- private _updateVisibility;
2169
-
2170
2090
  /**
2171
2091
  * Subscribe to selected comments
2172
2092
  * @returns list of selected comments
@@ -2623,68 +2543,11 @@ export declare class CommentElement {
2623
2543
  * To disable paginated contact list
2624
2544
  */
2625
2545
  private _disablePaginatedContactList;
2626
- /**
2627
- * To enable format options (bold, italic, underline, strikethrough)
2628
- */
2629
- private _enableFormatOptions;
2630
- /**
2631
- * To disable format options
2632
- */
2633
- private _disableFormatOptions;
2634
- /**
2635
- * To set format config to control which format options are enabled
2636
- * @param config FormatConfig with enable flags for each format type
2637
- */
2638
- private _setFormatConfig;
2639
2546
 
2640
2547
  /**
2641
- * Programmatically trigger comment submission for a composer with the given targetComposerElementId
2642
- * @param request SubmitCommentRequest containing targetComposerElementId
2548
+ * To programmatically submit a comment from a velt-comment-composer.
2549
+ * Finds the composer within the element identified by referenceId and submits its content.
2550
+ * @param referenceId The ID of the HTML element containing the velt-comment-composer
2643
2551
  */
2644
2552
  private _submitComment;
2645
-
2646
- /**
2647
- * Programmatically clear the composer state for the given targetComposerElementId
2648
- * @param request ClearComposerRequest containing targetComposerElementId
2649
- */
2650
- private _clearComposer;
2651
-
2652
- /**
2653
- * Get the current composer data for a given targetComposerElementId
2654
- * Returns the same data as COMPOSER_TEXT_CHANGE event but as a one-time fetch
2655
- * @param request GetComposerDataRequest containing targetComposerElementId
2656
- * @returns The composer data or null if not found
2657
- */
2658
- private _getComposerData;
2659
-
2660
- /**
2661
- * To enable context in page mode composer feature
2662
- */
2663
- private _enableContextInPageModeComposer;
2664
-
2665
- /**
2666
- * To disable context in page mode composer feature
2667
- */
2668
- private _disableContextInPageModeComposer;
2669
-
2670
- /**
2671
- * To clear page mode composer context
2672
- */
2673
- private _clearPageModeComposerContext;
2674
-
2675
- /**
2676
- * To set context in page mode composer
2677
- */
2678
- private _setContextInPageModeComposer;
2679
-
2680
- /**
2681
- * To focus the page mode composer input
2682
- */
2683
- private _focusPageModeComposer;
2684
-
2685
- /**
2686
- * To set assign to type for comment dialog
2687
- * @param type 'dropdown' | 'checkbox'
2688
- */
2689
- private _setAssignToType;
2690
2553
  }
@@ -68,16 +68,6 @@ export declare class NotificationElement {
68
68
  */
69
69
  getSettings: () => Observable<NotificationSettingsConfig | null>;
70
70
 
71
- /**
72
- * To enable settings config by organization
73
- */
74
- enableSettingsAtOrganizationLevel: () => void;
75
-
76
- /**
77
- * To disable settings config by organization
78
- */
79
- disableSettingsAtOrganizationLevel: () => void;
80
-
81
71
  /**
82
72
  * To mute all notifications
83
73
  */
@@ -210,16 +200,6 @@ export declare class NotificationElement {
210
200
  */
211
201
  private _disableSettings;
212
202
 
213
- /**
214
- * To enable settings config by organization
215
- */
216
- private _enableSettingsAtOrganizationLevel;
217
-
218
- /**
219
- * To disable settings config by organization
220
- */
221
- private _disableSettingsAtOrganizationLevel;
222
-
223
203
  /**
224
204
  * To enable self notifications
225
205
  */
@@ -11,7 +11,6 @@ export declare class Constants {
11
11
  static LISTENER_BATCH_SIZE: number;
12
12
  static LISTENER_CONTEXT_BATCH_SIZE: number;
13
13
  static DEFAULT_VELT_CONTEXT: string;
14
- static VISIBILITY_SELF_PREFIX: string;
15
14
  static FIREBASE_PARTIAL_PATH_ORGANIZATIONS: string;
16
15
  static FIREBASE_PARTIAL_PATH_FOLDERS: string;
17
16
  static FIREBASE_PARTIAL_PATH_DOCS: string;
@@ -30,7 +30,6 @@ export declare enum ResolverActions {
30
30
  }
31
31
  export declare const CommentEventTypes: {
32
32
  readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
33
- readonly ADD_COMMENT_ANNOTATION_DRAFT: "addCommentAnnotationDraft";
34
33
  readonly PUBLISH_COMMENT_ANNOTATION: "publishCommentAnnotation";
35
34
  readonly DELETE_COMMENT_ANNOTATION: "deleteCommentAnnotation";
36
35
  readonly APPROVE_COMMENT_ANNOTATION: "approveCommentAnnotation";
@@ -61,8 +60,6 @@ export declare const CommentEventTypes: {
61
60
  readonly LINK_CLICKED: "linkClicked";
62
61
  readonly COMMENT_PIN_CLICKED: "commentPinClicked";
63
62
  readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
64
- readonly COMMENT_TOOL_CLICK: "commentToolClick";
65
- readonly SIDEBAR_BUTTON_CLICK: "sidebarButtonClick";
66
63
  };
67
64
  export declare const RecorderEventTypes: {
68
65
  readonly TRANSCRIPTION_DONE: "transcriptionDone";
@@ -191,7 +188,6 @@ export declare enum AnalyticsFeatures {
191
188
  COMMENT_SIDEBAR = "commentSidebar"
192
189
  }
193
190
  export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread';
194
- export type AssignToType = 'dropdown' | 'checkbox';
195
191
  export declare enum DeviceType {
196
192
  DESKTOP = "Desktop",
197
193
  MOBILE = "Mobile",
@@ -284,10 +280,10 @@ export type OverlayOriginY = 'top' | 'center' | 'bottom';
284
280
  export type OverlayOriginX = 'start' | 'center' | 'end';
285
281
  export type SubtitlesMode = 'floating' | 'embed';
286
282
  export type RecorderVariant = 'default' | 'embed';
287
- export type ReactionPinType = 'timeline' | 'comment' | 'standalone';
283
+ export type ReactionPinType = 'timeline' | 'comment';
288
284
  export type SidebarPosition = 'left' | 'right';
289
285
  export type SidebarSortingCriteria = 'date' | 'unread' | null;
290
- export type SidebarFilterCriteria = 'all' | 'read' | 'unread' | 'resolved' | 'open' | 'assignedToMe' | 'reset' | null;
286
+ export type SidebarFilterCriteria = 'all' | 'read' | 'unread' | 'resolved' | 'open' | 'reset' | null;
291
287
  export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'involved' | 'pages' | 'documents' | 'statuses' | 'priorities' | 'categories' | 'versions' | string;
292
288
  export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFirst' | 'updatedLast';
293
289
  export type NotificationPanelMode = 'popover' | 'sidebar';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "5.0.0-beta.38",
3
+ "version": "5.0.0-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": [