@veltdev/sdk-staging 4.7.13 → 5.0.0-beta.1
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.
- package/app/client/snippyly.model.d.ts +0 -5
- package/app/models/data/comment-actions.data.model.d.ts +0 -31
- package/app/models/data/comment-annotation.data.model.d.ts +0 -1
- package/app/models/data/comment-events.data.model.d.ts +1 -36
- package/app/models/data/custom-filter.data.model.d.ts +2 -0
- package/app/models/element/comment-element.model.d.ts +3 -147
- package/app/models/element/crdt-element.model.d.ts +0 -47
- package/app/models/element/selection-element.model.d.ts +0 -12
- package/app/utils/constants.d.ts +0 -10
- package/app/utils/enums.d.ts +2 -7
- package/package.json +2 -2
- package/velt.js +142 -133
|
@@ -305,11 +305,6 @@ export declare class Snippyly {
|
|
|
305
305
|
*/
|
|
306
306
|
getUserPermissions: (request?: GetUserPermissionsRequest) => Promise<GetUserPermissionsResponse>;
|
|
307
307
|
|
|
308
|
-
/**
|
|
309
|
-
* To get current user permissions.
|
|
310
|
-
*/
|
|
311
|
-
getCurrentUserPermissions: () => Observable<GetUserPermissionsResponse | null>;
|
|
312
|
-
|
|
313
308
|
/**
|
|
314
309
|
* To check if plan is expired or not.
|
|
315
310
|
*/
|
|
@@ -61,24 +61,6 @@ export interface DeleteCommentAnnotationRequest {
|
|
|
61
61
|
annotationId: string;
|
|
62
62
|
options?: RequestOptions;
|
|
63
63
|
}
|
|
64
|
-
/**
|
|
65
|
-
* Query parameters for fetching comment annotation counts.
|
|
66
|
-
*
|
|
67
|
-
* @property organizationId - Filter by organization (enables org-wide aggregation when used alone)
|
|
68
|
-
* @property documentIds - Filter by specific document IDs
|
|
69
|
-
* @property locationIds - Filter by location IDs within documents
|
|
70
|
-
* @property statusIds - Filter by comment status IDs (e.g., "open", "resolved")
|
|
71
|
-
* @property folderId - Filter by folder ID (use with allDocuments for folder-wide counts)
|
|
72
|
-
* @property allDocuments - When true with folderId, aggregates all documents in folder
|
|
73
|
-
* @property locationId - Single location filter (deprecated, use locationIds)
|
|
74
|
-
* @property aggregateDocuments - When true, combines all documentIds into single count
|
|
75
|
-
* @property filterGhostComments - When true, excludes orphaned/deleted comments from counts
|
|
76
|
-
* @property batchedPerDocument - When true, uses efficient batched listeners (4 instead of 100)
|
|
77
|
-
* but still returns per-document counts. Best for large document lists (50+).
|
|
78
|
-
* Trade-off: slight delay on updates due to debouncing.
|
|
79
|
-
* @property debounceMs - Debounce time in milliseconds for batchedPerDocument mode (default: 5000ms).
|
|
80
|
-
* Prevents rapid re-fetches when multiple documents update in quick succession.
|
|
81
|
-
*/
|
|
82
64
|
export interface CommentRequestQuery {
|
|
83
65
|
organizationId?: string;
|
|
84
66
|
documentIds?: string[];
|
|
@@ -89,10 +71,6 @@ export interface CommentRequestQuery {
|
|
|
89
71
|
locationId?: string;
|
|
90
72
|
aggregateDocuments?: boolean;
|
|
91
73
|
filterGhostComments?: boolean;
|
|
92
|
-
/** Enable batched listeners with per-document counts. Uses 4 listeners instead of N listeners. */
|
|
93
|
-
batchedPerDocument?: boolean;
|
|
94
|
-
/** Debounce time in ms for batchedPerDocument mode (default: 5000). */
|
|
95
|
-
debounceMs?: number;
|
|
96
74
|
}
|
|
97
75
|
export interface SubscribeCommentAnnotationRequest {
|
|
98
76
|
annotationId: string;
|
|
@@ -210,12 +188,3 @@ export interface FetchCommentAnnotationsRequest {
|
|
|
210
188
|
userIds?: string[];
|
|
211
189
|
mentionedUserIds?: string[];
|
|
212
190
|
}
|
|
213
|
-
export interface SubmitCommentRequest {
|
|
214
|
-
targetComposerElementId: string;
|
|
215
|
-
}
|
|
216
|
-
export interface ClearComposerRequest {
|
|
217
|
-
targetComposerElementId: string;
|
|
218
|
-
}
|
|
219
|
-
export interface GetComposerDataRequest {
|
|
220
|
-
targetComposerElementId: string;
|
|
221
|
-
}
|
|
@@ -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 {
|
|
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";
|
|
@@ -82,10 +82,6 @@ export type CommentEventTypesMap = {
|
|
|
82
82
|
[CommentEventTypes.LINK_CLICKED]: LinkClickedEvent;
|
|
83
83
|
[CommentEventTypes.COMMENT_PIN_CLICKED]: CommentPinClickedEvent;
|
|
84
84
|
[CommentEventTypes.COMMENT_BUBBLE_CLICKED]: CommentBubbleClickedEvent;
|
|
85
|
-
[CommentEventTypes.COMPOSER_TEXT_CHANGE]: ComposerTextChangeEvent;
|
|
86
|
-
[CommentEventTypes.COMMENT_TOOL_CLICK]: CommentToolClickEvent;
|
|
87
|
-
[CommentEventTypes.SIDEBAR_BUTTON_CLICK]: SidebarButtonClickEvent;
|
|
88
|
-
[CommentEventTypes.ATTACHMENT_DOWNLOAD_CLICKED]: AttachmentDownloadClickedEvent;
|
|
89
85
|
};
|
|
90
86
|
export interface AddAttachmentEvent {
|
|
91
87
|
annotationId: string;
|
|
@@ -274,34 +270,3 @@ export interface CommentBubbleClickedEvent {
|
|
|
274
270
|
commentAnnotation: CommentAnnotation;
|
|
275
271
|
metadata?: VeltEventMetadata;
|
|
276
272
|
}
|
|
277
|
-
export interface ComposerTextChangeEvent {
|
|
278
|
-
text: string;
|
|
279
|
-
annotation: CommentAnnotation;
|
|
280
|
-
targetComposerElementId: string;
|
|
281
|
-
metadata?: VeltEventMetadata;
|
|
282
|
-
}
|
|
283
|
-
export interface CommentToolClickEvent {
|
|
284
|
-
context: {
|
|
285
|
-
[key: string]: any;
|
|
286
|
-
} | null;
|
|
287
|
-
targetElementId?: string | null;
|
|
288
|
-
metadata?: VeltEventMetadata;
|
|
289
|
-
}
|
|
290
|
-
export interface SidebarButtonClickEvent {
|
|
291
|
-
metadata?: VeltEventMetadata;
|
|
292
|
-
}
|
|
293
|
-
export interface AttachmentDownloadClickedEvent {
|
|
294
|
-
annotationId: string;
|
|
295
|
-
commentAnnotation: CommentAnnotation;
|
|
296
|
-
attachment: Attachment;
|
|
297
|
-
metadata?: VeltEventMetadata;
|
|
298
|
-
}
|
|
299
|
-
export interface PageModeComposerConfig {
|
|
300
|
-
context?: {
|
|
301
|
-
[key: string]: any;
|
|
302
|
-
} | null;
|
|
303
|
-
targetElementId?: string | null;
|
|
304
|
-
}
|
|
305
|
-
export interface AssignToConfig {
|
|
306
|
-
type: AssignToType;
|
|
307
|
-
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
|
|
4
|
-
import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent,
|
|
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 } from "../data/comment-events.data.model";
|
|
5
5
|
import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
|
|
6
6
|
import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
|
|
7
7
|
import { AutocompleteData } from "../data/autocomplete.data.model";
|
|
8
8
|
import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
|
|
9
9
|
export { ReactionMap } from '../data/reaction-annotation.data.model';
|
|
10
|
-
import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserRequest, AssignUserEvent,
|
|
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 } from "../data/comment-actions.data.model";
|
|
11
11
|
import { UnreadCommentsCount, TransformContext } from "../data/comment-utils.data.model";
|
|
12
|
-
import {
|
|
12
|
+
import { CommentSidebarSystemFiltersOperator, SidebarButtonCountType } from "../../utils/enums";
|
|
13
13
|
import { UploadFileData } from "../data/attachment.model";
|
|
14
14
|
|
|
15
15
|
export declare class CommentElement {
|
|
@@ -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
|
*/
|
|
@@ -175,16 +142,6 @@ export declare class CommentElement {
|
|
|
175
142
|
*/
|
|
176
143
|
disableAttachments: () => any;
|
|
177
144
|
|
|
178
|
-
/**
|
|
179
|
-
* Enable automatic file download when attachment download button is clicked
|
|
180
|
-
*/
|
|
181
|
-
enableAttachmentDownload: () => any;
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Disable automatic file download when attachment download button is clicked. The attachmentDownloadClicked event will still be triggered.
|
|
185
|
-
*/
|
|
186
|
-
disableAttachmentDownload: () => any;
|
|
187
|
-
|
|
188
145
|
/**
|
|
189
146
|
* Get if user is part of global contact or not.
|
|
190
147
|
*/
|
|
@@ -1307,36 +1264,6 @@ export declare class CommentElement {
|
|
|
1307
1264
|
*/
|
|
1308
1265
|
public disableScreenshot: () => void;
|
|
1309
1266
|
|
|
1310
|
-
/**
|
|
1311
|
-
* To enable paginated contact list
|
|
1312
|
-
*/
|
|
1313
|
-
public enablePaginatedContactList: () => void;
|
|
1314
|
-
|
|
1315
|
-
/**
|
|
1316
|
-
* To disable paginated contact list
|
|
1317
|
-
*/
|
|
1318
|
-
public disablePaginatedContactList: () => void;
|
|
1319
|
-
|
|
1320
|
-
/**
|
|
1321
|
-
* Programmatically trigger comment submission for a composer with the given targetComposerElementId
|
|
1322
|
-
* @param request SubmitCommentRequest containing targetComposerElementId
|
|
1323
|
-
*/
|
|
1324
|
-
public submitComment: (request: SubmitCommentRequest) => void;
|
|
1325
|
-
|
|
1326
|
-
/**
|
|
1327
|
-
* Clear the composer state for a composer with the given targetComposerElementId
|
|
1328
|
-
* @param request ClearComposerRequest containing targetComposerElementId
|
|
1329
|
-
*/
|
|
1330
|
-
public clearComposer: (request: ClearComposerRequest) => void;
|
|
1331
|
-
|
|
1332
|
-
/**
|
|
1333
|
-
* Get the current composer data for a given targetComposerElementId
|
|
1334
|
-
* Returns the same data as COMPOSER_TEXT_CHANGE event but as a one-time fetch
|
|
1335
|
-
* @param request GetComposerDataRequest containing targetComposerElementId
|
|
1336
|
-
* @returns The composer data or null if not found
|
|
1337
|
-
*/
|
|
1338
|
-
public getComposerData: (request: GetComposerDataRequest) => ComposerTextChangeEvent | null;
|
|
1339
|
-
|
|
1340
1267
|
constructor();
|
|
1341
1268
|
/**
|
|
1342
1269
|
* Subscribe to comments on the current document.
|
|
@@ -1467,16 +1394,6 @@ export declare class CommentElement {
|
|
|
1467
1394
|
*/
|
|
1468
1395
|
private _disableAttachments;
|
|
1469
1396
|
|
|
1470
|
-
/**
|
|
1471
|
-
* To enable automatic file download on attachment download click
|
|
1472
|
-
*/
|
|
1473
|
-
private _enableAttachmentDownload;
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* To disable automatic file download on attachment download click
|
|
1477
|
-
*/
|
|
1478
|
-
private _disableAttachmentDownload;
|
|
1479
|
-
|
|
1480
1397
|
/**
|
|
1481
1398
|
* Enable device info in comments
|
|
1482
1399
|
*/
|
|
@@ -2589,65 +2506,4 @@ export declare class CommentElement {
|
|
|
2589
2506
|
* To disable screenshot
|
|
2590
2507
|
*/
|
|
2591
2508
|
private _disableScreenshot;
|
|
2592
|
-
|
|
2593
|
-
/**
|
|
2594
|
-
* To enable paginated contact list
|
|
2595
|
-
*/
|
|
2596
|
-
private _enablePaginatedContactList;
|
|
2597
|
-
|
|
2598
|
-
/**
|
|
2599
|
-
* To disable paginated contact list
|
|
2600
|
-
*/
|
|
2601
|
-
private _disablePaginatedContactList;
|
|
2602
|
-
|
|
2603
|
-
/**
|
|
2604
|
-
* Programmatically trigger comment submission for a composer with the given targetComposerElementId
|
|
2605
|
-
* @param request SubmitCommentRequest containing targetComposerElementId
|
|
2606
|
-
*/
|
|
2607
|
-
private _submitComment;
|
|
2608
|
-
|
|
2609
|
-
/**
|
|
2610
|
-
* Clear the composer state for a composer with the given targetComposerElementId
|
|
2611
|
-
* @param request ClearComposerRequest containing targetComposerElementId
|
|
2612
|
-
*/
|
|
2613
|
-
private _clearComposer;
|
|
2614
|
-
|
|
2615
|
-
/**
|
|
2616
|
-
* Get the current composer data for a given targetComposerElementId
|
|
2617
|
-
* Returns the same data as COMPOSER_TEXT_CHANGE event but as a one-time fetch
|
|
2618
|
-
* @param request GetComposerDataRequest containing targetComposerElementId
|
|
2619
|
-
* @returns The composer data or null if not found
|
|
2620
|
-
*/
|
|
2621
|
-
private _getComposerData;
|
|
2622
|
-
|
|
2623
|
-
/**
|
|
2624
|
-
* To enable context in page mode composer feature
|
|
2625
|
-
*/
|
|
2626
|
-
private _enableContextInPageModeComposer;
|
|
2627
|
-
|
|
2628
|
-
/**
|
|
2629
|
-
* To disable context in page mode composer feature
|
|
2630
|
-
*/
|
|
2631
|
-
private _disableContextInPageModeComposer;
|
|
2632
|
-
|
|
2633
|
-
/**
|
|
2634
|
-
* To clear page mode composer context
|
|
2635
|
-
*/
|
|
2636
|
-
private _clearPageModeComposerContext;
|
|
2637
|
-
|
|
2638
|
-
/**
|
|
2639
|
-
* To set context in page mode composer
|
|
2640
|
-
*/
|
|
2641
|
-
private _setContextInPageModeComposer;
|
|
2642
|
-
|
|
2643
|
-
/**
|
|
2644
|
-
* To focus the page mode composer input
|
|
2645
|
-
*/
|
|
2646
|
-
private _focusPageModeComposer;
|
|
2647
|
-
|
|
2648
|
-
/**
|
|
2649
|
-
* To set assign to type for comment dialog
|
|
2650
|
-
* @param type 'dropdown' | 'checkbox'
|
|
2651
|
-
*/
|
|
2652
|
-
private _setAssignToType;
|
|
2653
2509
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { CrdtGetDataQuery, CrdtGetVersionQuery, CrdtOnDataChangeQuery, CrdtOnPresenceChangeQuery, CrdtOnRegisteredUserChangeQuery, CrdtOnStateChangeQuery, CrdtRegisterSyncUserQuery, CrdtSetPresenceQuery, CrdtSaveVersionQuery, CrdtUpdateDataQuery, CrdtUpdateStateQuery } from "../data/crdt.data.model";
|
|
3
|
-
import { CrdtEventTypesMap } from "../data/crdt-events.data.model";
|
|
4
3
|
|
|
5
4
|
export declare class CrdtElement {
|
|
6
5
|
/**
|
|
@@ -80,29 +79,6 @@ export declare class CrdtElement {
|
|
|
80
79
|
*/
|
|
81
80
|
getVersion: (getVersionQuery: CrdtGetVersionQuery) => Promise<any>;
|
|
82
81
|
|
|
83
|
-
/**
|
|
84
|
-
* Enable webhook
|
|
85
|
-
*/
|
|
86
|
-
enableWebhook: () => void;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Disable webhook
|
|
90
|
-
*/
|
|
91
|
-
disableWebhook: () => void;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Set webhook debounce time
|
|
95
|
-
* @param time debounce time in milliseconds
|
|
96
|
-
*/
|
|
97
|
-
setWebhookDebounceTime: (time: number) => void;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Subscribe to crdt actions
|
|
101
|
-
* @param action Action to subscribe to
|
|
102
|
-
* @returns Observable of the action
|
|
103
|
-
*/
|
|
104
|
-
on: <T extends keyof CrdtEventTypesMap>(action: T) => Observable<CrdtEventTypesMap[T]>;
|
|
105
|
-
|
|
106
82
|
constructor();
|
|
107
83
|
|
|
108
84
|
/**
|
|
@@ -187,27 +163,4 @@ export declare class CrdtElement {
|
|
|
187
163
|
* @param id Document ID
|
|
188
164
|
*/
|
|
189
165
|
private _getVersions;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Enable webhook
|
|
193
|
-
*/
|
|
194
|
-
private _enableWebhook;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Disable webhook
|
|
198
|
-
*/
|
|
199
|
-
private _disableWebhook;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Set webhook debounce time
|
|
203
|
-
* @param time debounce time in milliseconds
|
|
204
|
-
*/
|
|
205
|
-
private _setWebhookDebounceTime;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Subscribe to crdt actions
|
|
209
|
-
* @param action Action to subscribe to
|
|
210
|
-
* @returns Observable of the action
|
|
211
|
-
*/
|
|
212
|
-
private _on;
|
|
213
166
|
}
|
|
@@ -56,12 +56,6 @@ export declare class SelectionElement {
|
|
|
56
56
|
*/
|
|
57
57
|
getLiveSelectionData: () => Observable<LiveSelectionData | null>;
|
|
58
58
|
|
|
59
|
-
/**
|
|
60
|
-
* To set inactivity time (Default value is 5 minutes)
|
|
61
|
-
* @param time inactivity time in milliseconds
|
|
62
|
-
*/
|
|
63
|
-
setInactivityTime: (time: number) => void;
|
|
64
|
-
|
|
65
59
|
constructor();
|
|
66
60
|
|
|
67
61
|
/**
|
|
@@ -118,10 +112,4 @@ export declare class SelectionElement {
|
|
|
118
112
|
* To get live selection data
|
|
119
113
|
*/
|
|
120
114
|
private _getLiveSelectionData;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* To set inactivity time (Default value is 5 minutes)
|
|
124
|
-
* @param time inactivity time in milliseconds
|
|
125
|
-
*/
|
|
126
|
-
private _setInactivityTime;
|
|
127
115
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -244,16 +244,6 @@ export declare class Constants {
|
|
|
244
244
|
VELT_WIREFRAME: string;
|
|
245
245
|
VELT_AUTOCOMPLETE: string;
|
|
246
246
|
VELT_AUTOCOMPLETE_CHIP: string;
|
|
247
|
-
VELT_COMMENT_DIALOG_HEADER: string;
|
|
248
|
-
VELT_COMMENT_DIALOG_BODY: string;
|
|
249
|
-
VELT_COMMENT_DIALOG_FOOTER: string;
|
|
250
|
-
VELT_COMMENT_DIALOG_PRIORITY: string;
|
|
251
|
-
VELT_COMMENT_DIALOG_STATUS: string;
|
|
252
|
-
VELT_COMMENT_DIALOG_COPY_LINK: string;
|
|
253
|
-
VELT_COMMENT_DIALOG_RESOLVE_BUTTON: string;
|
|
254
|
-
VELT_COMMENT_DIALOG_OPTIONS: string;
|
|
255
|
-
VELT_COMMENT_DIALOG_BODY_THREAD_CARD: string;
|
|
256
|
-
VELT_COMMENT_DIALOG_PRIVATE_BANNER: string;
|
|
257
247
|
VELT_COMMENT_COMPOSER: string;
|
|
258
248
|
VELT_SKELETON_LOADER: string;
|
|
259
249
|
VELT_SHADOW_DOM_INTERNAL: string;
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -57,10 +57,6 @@ export declare const CommentEventTypes: {
|
|
|
57
57
|
readonly LINK_CLICKED: "linkClicked";
|
|
58
58
|
readonly COMMENT_PIN_CLICKED: "commentPinClicked";
|
|
59
59
|
readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
|
|
60
|
-
readonly COMPOSER_TEXT_CHANGE: "composerTextChange";
|
|
61
|
-
readonly COMMENT_TOOL_CLICK: "commentToolClick";
|
|
62
|
-
readonly SIDEBAR_BUTTON_CLICK: "sidebarButtonClick";
|
|
63
|
-
readonly ATTACHMENT_DOWNLOAD_CLICKED: "attachmentDownloadClicked";
|
|
64
60
|
};
|
|
65
61
|
export declare const RecorderEventTypes: {
|
|
66
62
|
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
|
@@ -189,7 +185,6 @@ export declare enum AnalyticsFeatures {
|
|
|
189
185
|
COMMENT_SIDEBAR = "commentSidebar"
|
|
190
186
|
}
|
|
191
187
|
export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread';
|
|
192
|
-
export type AssignToType = 'dropdown' | 'checkbox';
|
|
193
188
|
export declare enum DeviceType {
|
|
194
189
|
DESKTOP = "Desktop",
|
|
195
190
|
MOBILE = "Mobile",
|
|
@@ -282,10 +277,10 @@ export type OverlayOriginY = 'top' | 'center' | 'bottom';
|
|
|
282
277
|
export type OverlayOriginX = 'start' | 'center' | 'end';
|
|
283
278
|
export type SubtitlesMode = 'floating' | 'embed';
|
|
284
279
|
export type RecorderVariant = 'default' | 'embed';
|
|
285
|
-
export type ReactionPinType = 'timeline' | 'comment'
|
|
280
|
+
export type ReactionPinType = 'timeline' | 'comment';
|
|
286
281
|
export type SidebarPosition = 'left' | 'right';
|
|
287
282
|
export type SidebarSortingCriteria = 'date' | 'unread' | null;
|
|
288
|
-
export type SidebarFilterCriteria = 'all' | 'read' | 'unread' | 'resolved' | 'open' | '
|
|
283
|
+
export type SidebarFilterCriteria = 'all' | 'read' | 'unread' | 'resolved' | 'open' | 'reset' | null;
|
|
289
284
|
export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'involved' | 'pages' | 'documents' | 'statuses' | 'priorities' | 'categories' | 'versions' | string;
|
|
290
285
|
export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFirst' | 'updatedLast';
|
|
291
286
|
export type NotificationPanelMode = 'popover' | 'sidebar';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-beta.1",
|
|
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": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"scripts": {
|
|
37
37
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
38
38
|
"version:update": "node ../update-npm-package.mjs",
|
|
39
|
-
"publish:sdk": "npm publish
|
|
39
|
+
"publish:sdk": "npm publish"
|
|
40
40
|
},
|
|
41
41
|
"author": "",
|
|
42
42
|
"license": "ISC",
|