@veltdev/types 4.7.2 → 4.7.4
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/models/data/anchor-record.data.model.d.ts +109 -0
- package/app/models/data/area-annotation.data.model.d.ts +7 -1
- package/app/models/data/arrow-annotation.data.model.d.ts +51 -0
- package/app/models/data/attachment-resolver.data.model.d.ts +52 -0
- package/app/models/data/attachment.model.d.ts +21 -1
- package/app/models/data/autocomplete.data.model.d.ts +51 -0
- package/app/models/data/base-metadata.data.model.d.ts +9 -0
- package/app/models/data/button.data.model.d.ts +37 -0
- package/app/models/data/comment-actions.data.model.d.ts +199 -0
- package/app/models/data/comment-annotation.data.model.d.ts +80 -4
- package/app/models/data/comment-events.data.model.d.ts +279 -0
- package/app/models/data/comment-resolver.data.model.d.ts +72 -0
- package/app/models/data/comment-sidebar-config.model.d.ts +95 -0
- package/app/models/data/comment-utils.data.model.d.ts +16 -0
- package/app/models/data/comment.data.model.d.ts +26 -1
- package/app/models/data/config.data.model.d.ts +23 -0
- package/app/models/data/contact-utils.data.model.d.ts +9 -0
- package/app/models/data/core-events.data.model.d.ts +180 -0
- package/app/models/data/crdt-events.data.model.d.ts +25 -0
- package/app/models/data/crdt.data.model.d.ts +60 -0
- package/app/models/data/cursor-position.data.model.d.ts +15 -0
- package/app/models/data/cursor-user.data.model.d.ts +5 -0
- package/app/models/data/custom-chip-dropdown.data.model.d.ts +10 -0
- package/app/models/data/custom-css.data.model.d.ts +10 -0
- package/app/models/data/custom-filter.data.model.d.ts +8 -0
- package/app/models/data/customer-metadata.data.model.d.ts +15 -0
- package/app/models/data/document-events.data.model.d.ts +8 -0
- package/app/models/data/document-iam.data.model.d.ts +8 -0
- package/app/models/data/document-metadata.model.d.ts +28 -0
- package/app/models/data/document-paths.data.model.d.ts +51 -1
- package/app/models/data/document.data.model.d.ts +63 -0
- package/app/models/data/encryption-provider.data.model.d.ts +12 -0
- package/app/models/data/event-metadata.data.model.d.ts +32 -0
- package/app/models/data/folder-metadata.model.d.ts +40 -0
- package/app/models/data/heartbeat.data.model.d.ts +16 -0
- package/app/models/data/huddle.model.d.ts +2 -1
- package/app/models/data/live-state-data-map.data.model.d.ts +7 -6
- package/app/models/data/live-state-data.data.model.d.ts +37 -2
- package/app/models/data/live-state-events.data.model.d.ts +23 -0
- package/app/models/data/location-metadata.model.d.ts +14 -0
- package/app/models/data/location.model.d.ts +0 -2
- package/app/models/data/media-preview-config.data.model.d.ts +3 -0
- package/app/models/data/multi-thread.data.model.d.ts +63 -0
- package/app/models/data/notification.model.d.ts +129 -3
- package/app/models/data/notifications-events.data.model.d.ts +9 -0
- package/app/models/data/organization-groups.data.model.d.ts +16 -0
- package/app/models/data/organization-metadata.model.d.ts +31 -0
- package/app/models/data/page-info.model.d.ts +4 -0
- package/app/models/data/presence-actions.data.model.d.ts +5 -0
- package/app/models/data/presence-events.data.model.d.ts +16 -0
- package/app/models/data/presence-user.data.model.d.ts +7 -0
- package/app/models/data/provider.data.model.d.ts +10 -0
- package/app/models/data/reaction-annotation.data.model.d.ts +68 -0
- package/app/models/data/reaction-resolver.data.model.d.ts +42 -0
- package/app/models/data/reaction.data.model.d.ts +18 -0
- package/app/models/data/recorder-annotation.data.model.d.ts +101 -9
- package/app/models/data/recorder-events.data.model.d.ts +45 -0
- package/app/models/data/recorder.model.d.ts +31 -2
- package/app/models/data/resolver.data.model.d.ts +36 -0
- package/app/models/data/screenshot.data.model.d.ts +10 -0
- package/app/models/data/selection.model.d.ts +12 -0
- package/app/models/data/sync-video-player.data.model.d.ts +47 -0
- package/app/models/data/target-element.data.model.d.ts +5 -0
- package/app/models/data/target-text-range.data.model.d.ts +13 -0
- package/app/models/data/user-contact.data.model.d.ts +21 -0
- package/app/models/data/user-iam.data.model.d.ts +15 -0
- package/app/models/data/user-organization.data.model.d.ts +12 -0
- package/app/models/data/user-resolver.data.model.d.ts +56 -0
- package/app/models/data/user.data.model.d.ts +82 -0
- package/app/models/data/views.data.model.d.ts +64 -0
- package/app/models/element/comment-element.model.d.ts +42 -2
- package/app/utils/constants.d.ts +133 -6
- package/app/utils/enums.d.ts +209 -4
- package/models.d.ts +36 -0
- package/package.json +2 -2
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { BaseMetadata } from "./base-metadata.data.model";
|
|
2
|
+
import { Location } from "./location.model";
|
|
3
|
+
export declare class Views {
|
|
4
|
+
comment?: CommentViews;
|
|
5
|
+
notification?: {
|
|
6
|
+
[notificationId: string]: {
|
|
7
|
+
views: {
|
|
8
|
+
[userSnippylyId: string]: View;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
documentViews?: {
|
|
13
|
+
[documentId: string]: DocumentViews;
|
|
14
|
+
};
|
|
15
|
+
locationViews?: {
|
|
16
|
+
[locationId: string]: LocationViews;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export declare class View {
|
|
20
|
+
timestamp: any;
|
|
21
|
+
}
|
|
22
|
+
export declare class ViewsByDate {
|
|
23
|
+
[date: string]: {
|
|
24
|
+
[userSnippylyId: string]: View;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export declare class ViewsByUser {
|
|
28
|
+
[userSnippylyId: string]: {
|
|
29
|
+
[date: string]: View;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export declare class CommentViews {
|
|
33
|
+
[commentAnnotationId: string]: CommentAnnotationViews;
|
|
34
|
+
}
|
|
35
|
+
export declare class LocationViewsMap {
|
|
36
|
+
[locationId: string]: LocationViews;
|
|
37
|
+
}
|
|
38
|
+
export declare class CommentAnnotationViews {
|
|
39
|
+
views: {
|
|
40
|
+
[userSnippylyId: string]: View;
|
|
41
|
+
};
|
|
42
|
+
comments: {
|
|
43
|
+
[commentId: string]: {
|
|
44
|
+
views: {
|
|
45
|
+
[userSnippylyId: string]: View;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
metadata?: BaseMetadata;
|
|
50
|
+
}
|
|
51
|
+
export declare class DocumentViewsMap {
|
|
52
|
+
[documentId: string]: DocumentViews;
|
|
53
|
+
}
|
|
54
|
+
export declare class DocumentViews {
|
|
55
|
+
users: ViewsByUser;
|
|
56
|
+
day: ViewsByDate;
|
|
57
|
+
metadata?: BaseMetadata;
|
|
58
|
+
}
|
|
59
|
+
export declare class LocationViews {
|
|
60
|
+
location: Location;
|
|
61
|
+
users: ViewsByUser;
|
|
62
|
+
day: ViewsByDate;
|
|
63
|
+
metadata?: BaseMetadata;
|
|
64
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
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, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, GetLinkEvent, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent
|
|
4
|
+
import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, ComposerTextChangeEvent, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, FetchCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, GetCommentAnnotationsResponse, GetLinkEvent, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent } 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, ClearComposerRequest, CommentRequestQuery, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, FetchCommentAnnotationsRequest, GetAttachmentRequest, GetCommentRequest, GetComposerDataRequest, GetLinkRequest, GetRecordingRequest, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubmitCommentRequest, SubscribeCommentAnnotationRequest, ToggleReactionRequest, UnsubscribeCommentAnnotationRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest } from "../data/comment-actions.data.model";
|
|
11
11
|
import { UnreadCommentsCount, TransformContext } from "../data/comment-utils.data.model";
|
|
12
12
|
import { CommentSidebarSystemFiltersOperator, SidebarButtonCountType } from "../../utils/enums";
|
|
13
13
|
import { UploadFileData } from "../data/attachment.model";
|
|
@@ -1274,6 +1274,26 @@ export declare class CommentElement {
|
|
|
1274
1274
|
*/
|
|
1275
1275
|
public disablePaginatedContactList: () => void;
|
|
1276
1276
|
|
|
1277
|
+
/**
|
|
1278
|
+
* Programmatically trigger comment submission for a composer with the given targetComposerElementId
|
|
1279
|
+
* @param request SubmitCommentRequest containing targetComposerElementId
|
|
1280
|
+
*/
|
|
1281
|
+
public submitComment: (request: SubmitCommentRequest) => void;
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* Programmatically clear the composer state for the given targetComposerElementId
|
|
1285
|
+
* @param request ClearComposerRequest containing targetComposerElementId
|
|
1286
|
+
*/
|
|
1287
|
+
public clearComposer: (request: ClearComposerRequest) => void;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Get the current composer data for a given targetComposerElementId
|
|
1291
|
+
* Returns the same data as COMPOSER_TEXT_CHANGE event but as a one-time fetch
|
|
1292
|
+
* @param request GetComposerDataRequest containing targetComposerElementId
|
|
1293
|
+
* @returns The composer data or null if not found
|
|
1294
|
+
*/
|
|
1295
|
+
public getComposerData: (request: GetComposerDataRequest) => ComposerTextChangeEvent | null;
|
|
1296
|
+
|
|
1277
1297
|
constructor();
|
|
1278
1298
|
/**
|
|
1279
1299
|
* Subscribe to comments on the current document.
|
|
@@ -2526,4 +2546,24 @@ export declare class CommentElement {
|
|
|
2526
2546
|
* To disable paginated contact list
|
|
2527
2547
|
*/
|
|
2528
2548
|
private _disablePaginatedContactList;
|
|
2549
|
+
|
|
2550
|
+
/**
|
|
2551
|
+
* Programmatically trigger comment submission for a composer with the given targetComposerElementId
|
|
2552
|
+
* @param request SubmitCommentRequest containing targetComposerElementId
|
|
2553
|
+
*/
|
|
2554
|
+
private _submitComment;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Programmatically clear the composer state for the given targetComposerElementId
|
|
2558
|
+
* @param request ClearComposerRequest containing targetComposerElementId
|
|
2559
|
+
*/
|
|
2560
|
+
private _clearComposer;
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
* Get the current composer data for a given targetComposerElementId
|
|
2564
|
+
* Returns the same data as COMPOSER_TEXT_CHANGE event but as a one-time fetch
|
|
2565
|
+
* @param request GetComposerDataRequest containing targetComposerElementId
|
|
2566
|
+
* @returns The composer data or null if not found
|
|
2567
|
+
*/
|
|
2568
|
+
private _getComposerData;
|
|
2529
2569
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -6,21 +6,41 @@ export declare class Constants {
|
|
|
6
6
|
static USER_TYPE_ANONYMOUS: string;
|
|
7
7
|
static USER_TYPE_SIGNED_IN: string;
|
|
8
8
|
static LOCALSTORAGE_DATA_ID: string;
|
|
9
|
+
static NO_ORGANIZATION_ID: string;
|
|
10
|
+
static DEFAULT_QUERY_HASH: string;
|
|
11
|
+
static LISTENER_BATCH_SIZE: number;
|
|
12
|
+
static LISTENER_CONTEXT_BATCH_SIZE: number;
|
|
13
|
+
static DEFAULT_VELT_CONTEXT: string;
|
|
14
|
+
static FIREBASE_PARTIAL_PATH_ORGANIZATIONS: string;
|
|
15
|
+
static FIREBASE_PARTIAL_PATH_FOLDERS: string;
|
|
9
16
|
static FIREBASE_PARTIAL_PATH_DOCS: string;
|
|
17
|
+
static FIREBASE_PARTIAL_PATH_DOCUMENT_CONFIGURATIONS: string;
|
|
10
18
|
static FIREBASE_PARTIAL_PATH_PRESENCE: string;
|
|
19
|
+
static FIREBASE_PARTIAL_PATH_ORGANIZATION_USERS: string;
|
|
20
|
+
static FIREBASE_PARTIAL_PATH_CENTRAL_USERS: string;
|
|
21
|
+
static FIREBASE_PARTIAL_PATH_FOLDER_USERS: string;
|
|
22
|
+
static FIREBASE_PARTIAL_PATH_DOCUMENT_USERS: string;
|
|
11
23
|
static FIREBASE_PARTIAL_PATH_CURSOR: string;
|
|
12
24
|
static FIREBASE_PARTIAL_PATH_ARROW: string;
|
|
13
25
|
static FIREBASE_PARTIAL_PATH_AREA: string;
|
|
14
26
|
static FIREBASE_PARTIAL_PATH_COMMENT: string;
|
|
27
|
+
static FIREBASE_PARTIAL_PATH_LOCATION: string;
|
|
28
|
+
static FIREBASE_PARTIAL_PATH_MULTI_THREAD: string;
|
|
15
29
|
static FIREBASE_PARTIAL_PATH_TAG: string;
|
|
16
30
|
static FIREBASE_PARTIAL_PATH_SELECTION: string;
|
|
17
31
|
static FIREBASE_PARTIAL_PATH_AUDIO_HUDDLE: string;
|
|
18
32
|
static FIREBASE_PARTIAL_PATH_HUDDLE: string;
|
|
19
33
|
static FIREBASE_PARTIAL_PATH_CONTACTS: string;
|
|
20
34
|
static FIREBASE_PARTIAL_PATH_GROUPS: string;
|
|
35
|
+
static FIREBASE_PARTIAL_PATH_NOTIFICATION_DOCS: string;
|
|
36
|
+
static FIREBASE_PARTIAL_PATH_NOTIFICATION_USERS: string;
|
|
37
|
+
static FIREBASE_PARTIAL_PATH_DOC_NOTIFICATION: string;
|
|
38
|
+
static FIREBASE_PARTIAL_PATH_USER_NOTIFICATION: string;
|
|
21
39
|
static FIREBASE_PARTIAL_PATH_GLOBAL: string;
|
|
22
40
|
static FIREBASE_PARTIAL_PATH_LOGINS: string;
|
|
23
41
|
static FIREBASE_PARTIAL_PATH_METADATA: string;
|
|
42
|
+
static FIREBASE_PARTIAL_PATH_ORGANIZATION_METADATA: string;
|
|
43
|
+
static FIREBASE_PARTIAL_PATH_ORGANIZATION_GROUPS: string;
|
|
24
44
|
static FIREBASE_PARTIAL_PATH_LOCATIONS: string;
|
|
25
45
|
static FIREBASE_PARTIAL_PATH_RECORDER: string;
|
|
26
46
|
static FIREBASE_PARTIAL_PATH_FOLLOW_ALONG: string;
|
|
@@ -28,9 +48,18 @@ export declare class Constants {
|
|
|
28
48
|
static FIREBASE_PARTIAL_PATH_LIVE_STATE: string;
|
|
29
49
|
static FIREBASE_PARTIAL_PATH_IAM: string;
|
|
30
50
|
static FIREBASE_PARTIAL_PATH_REACTION: string;
|
|
51
|
+
static FIREBASE_PARTIAL_PATH_CRDT: string;
|
|
31
52
|
static FIREBASE_PARTIAL_PATH_VIEWS: string;
|
|
53
|
+
static FIREBASE_PARTIAL_PATH_NOTIFICATION_VIEWS: string;
|
|
54
|
+
static FIREBASE_PARTIAL_PATH_DOCUMENT_VIEWS: string;
|
|
55
|
+
static FIREBASE_PARTIAL_PATH_LOCATION_VIEWS: string;
|
|
32
56
|
static FIREBASE_PARTIAL_PATH_NOTIFICATIONS: string;
|
|
57
|
+
static FIREBASE_PARTIAL_PATH_ORGANIZATION_NOTIFICATIONS: string;
|
|
58
|
+
static FIREBASE_PARTIAL_PATH_LAST_NOTIFICATION_TIMESTAMP: string;
|
|
59
|
+
static FIREBASE_PARTIAL_PATH_HEARTBEAT: string;
|
|
60
|
+
static FIREBASE_PARTIAL_PATH_HEARTBEAT_BY_DOCUMENT: string;
|
|
33
61
|
static FIREBASE_PARTIAL_PATH_USERS: string;
|
|
62
|
+
static FIREBASE_PARTIAL_PATH_PERMISSIONS_USERS: string;
|
|
34
63
|
static FIREBASE_PARTIAL_PATH_USER_REQUESTS: string;
|
|
35
64
|
static FIREBASE_PARTIAL_PATH_FEEDBACK: string;
|
|
36
65
|
static FIREBASE_PARTIAL_PATH_BUGS: string;
|
|
@@ -47,6 +76,7 @@ export declare class Constants {
|
|
|
47
76
|
static DEFAULT_ANNOTATION_COLOR: string;
|
|
48
77
|
static REGEX_EMAIL: RegExp;
|
|
49
78
|
static REGEX_URL: RegExp;
|
|
79
|
+
static readonly REGEX_URL_FOR_USER_NAME: RegExp;
|
|
50
80
|
static REGEX_SPECIAL_CHARS: RegExp;
|
|
51
81
|
static SNIPPYLY_HIGHLIGHT: string;
|
|
52
82
|
static SNIPPYLY_HIGHLIGHT_PREVIEW: string;
|
|
@@ -56,6 +86,10 @@ export declare class Constants {
|
|
|
56
86
|
static SNIPPYLY_HIGHLIGHT_USER: string;
|
|
57
87
|
static SNIPPYLY_HIGHLIGHT_USER_NAME: string;
|
|
58
88
|
static SNIPPYLY_HIGHLIGHT_USER_TEXT: string;
|
|
89
|
+
static VELT_LIVE_SELECTION_ON_ELEMENT: string;
|
|
90
|
+
static VELT_LIVE_SELECTION_ON_ELEMENT_DEFAULT: string;
|
|
91
|
+
static VELT_LIVE_SELECTION_ON_TEXT: string;
|
|
92
|
+
static VELT_LIVE_SELECTION_ON_TEXT_DEFAULT: string;
|
|
59
93
|
static VELT_IGNORE_CHANGE_DETECTION: string;
|
|
60
94
|
static VELT_CUSTOM_CSS: string;
|
|
61
95
|
static TAGS: {
|
|
@@ -137,10 +171,6 @@ export declare class Constants {
|
|
|
137
171
|
* @deprecated Use VELT_REWRITER instead
|
|
138
172
|
*/
|
|
139
173
|
SNIPPYLY_REWRITER: string;
|
|
140
|
-
/**
|
|
141
|
-
* @deprecated Use VELT_USER_SELECTOR instead
|
|
142
|
-
*/
|
|
143
|
-
SNIPPYLY_USER_SELECTOR: string;
|
|
144
174
|
/**
|
|
145
175
|
* @deprecated Use VELT_USER_INVITE_TOOL instead
|
|
146
176
|
*/
|
|
@@ -171,11 +201,18 @@ export declare class Constants {
|
|
|
171
201
|
VELT_RECORDER_CONTROL_PANEL: string;
|
|
172
202
|
VELT_RECORDER_CONTROL_PANEL_INTERNAL: string;
|
|
173
203
|
VELT_RECORDER_PLAYER: string;
|
|
204
|
+
VELT_VIDEO_EDITOR: string;
|
|
174
205
|
VELT_TEXT_HIGHLIGHT: string;
|
|
175
206
|
VELT_COMMENT_TEXT_PORTAL: string;
|
|
176
207
|
VELT_COMMENTS_SIDEBAR: string;
|
|
177
208
|
VELT_COMMENT_BUBBLE: string;
|
|
178
209
|
VELT_COMMENT_THREAD: string;
|
|
210
|
+
VELT_COMMENT_PIN: string;
|
|
211
|
+
VELT_COMMENT_TEXT: string;
|
|
212
|
+
VELT_CHART_COMMENT: string;
|
|
213
|
+
VELT_CANVAS_COMMENT: string;
|
|
214
|
+
VELT_INLINE_COMMENTS_SECTION: string;
|
|
215
|
+
VELT_COMMENTS_MINIMAP: string;
|
|
179
216
|
VELT_HIGHLIGHT_USER_TEXT: string;
|
|
180
217
|
VELT_AUDIO_HUDDLE: string;
|
|
181
218
|
VELT_VIDEO_HUDDLE: string;
|
|
@@ -186,8 +223,8 @@ export declare class Constants {
|
|
|
186
223
|
VELT_MENU: string;
|
|
187
224
|
VELT_COMMENT_DIALOG: string;
|
|
188
225
|
VELT_SIDEBAR_BUTTON: string;
|
|
226
|
+
VELT_COMMENTS_SIDEBAR_BUTTON: string;
|
|
189
227
|
VELT_REWRITER: string;
|
|
190
|
-
VELT_USER_SELECTOR: string;
|
|
191
228
|
VELT_USER_INVITE_TOOL: string;
|
|
192
229
|
VELT_USER_REQUEST_TOOL: string;
|
|
193
230
|
VELT_USER_AVATAR: string;
|
|
@@ -199,20 +236,49 @@ export declare class Constants {
|
|
|
199
236
|
VELT_VIDEO_PLAYER: string;
|
|
200
237
|
VELT_VIDEO_COMMENTS_TIMELINE: string;
|
|
201
238
|
VELT_REACTION_TOOL: string;
|
|
239
|
+
VELT_INLINE_REACTIONS_SECTION: string;
|
|
202
240
|
VELT_VIEW_ANALYTICS: string;
|
|
203
241
|
VELT_NOTIFICATIONS_TOOL: string;
|
|
204
242
|
VELT_NOTIFICATIONS_PANEL: string;
|
|
205
243
|
VELT_NOTIFICATIONS_HISTORY_PANEL: string;
|
|
244
|
+
VELT_WIREFRAME: string;
|
|
245
|
+
VELT_AUTOCOMPLETE: string;
|
|
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
|
+
VELT_COMMENT_COMPOSER: string;
|
|
258
|
+
VELT_SKELETON_LOADER: string;
|
|
259
|
+
VELT_SHADOW_DOM_INTERNAL: string;
|
|
260
|
+
VELT_SINGLE_EDITOR_MODE_PANEL: string;
|
|
206
261
|
};
|
|
207
262
|
static ATTRIBUTES: {
|
|
263
|
+
VELT_COMMENT_CONTAINER: string;
|
|
264
|
+
VELT_TARGET_COMMENT_ELEMENT_ID: string;
|
|
265
|
+
VELT_COMMENT_TYPE: string;
|
|
266
|
+
TARGET_INLINE_COMMENT_ELEMENT_ID: string;
|
|
267
|
+
TARGET_COMMENT_ELEMENT_ID: string;
|
|
268
|
+
TARGET_ELEMENT_ID: string;
|
|
208
269
|
VELT_ID: string;
|
|
209
270
|
VELT_ELEMENT: string;
|
|
271
|
+
VELT_SCREEN_RECORDER_PANEL: string;
|
|
272
|
+
VELT_SOURCE_ID: string;
|
|
210
273
|
VELT_ANNOTATION_ID: string;
|
|
211
274
|
VELT_ANNOTATION_IDS: string;
|
|
212
275
|
VELT_COMMENT_PIN_HOST: string;
|
|
213
276
|
VELT_COMMENT_PIN_HOST_STATIC: string;
|
|
214
277
|
VELT_COMMENT_DISABLED: string;
|
|
278
|
+
VELT_MANUAL_COMMENT_CONTAINER: string;
|
|
215
279
|
VELT_COMMENT_PIN_ACTIVE: string;
|
|
280
|
+
VELT_INLINE_COMMENT_SECTION_CONFIG: string;
|
|
281
|
+
VELT_TARGET_INLINE_COMMENT_ELEMENT_ID: string;
|
|
216
282
|
VELT_TAG_PIN_HOST: string;
|
|
217
283
|
VELT_TAG_PIN_HOST_STATIC: string;
|
|
218
284
|
VELT_TAG_DISABLED: string;
|
|
@@ -220,13 +286,19 @@ export declare class Constants {
|
|
|
220
286
|
VELT_RECORDER_PIN_HOST_STATIC: string;
|
|
221
287
|
VELT_RECORDER_DISABLED: string;
|
|
222
288
|
VELT_ANNOTATION_DRAFT: string;
|
|
289
|
+
VELT_ANNOTATION_EDIT_COMMENT: string;
|
|
290
|
+
VELT_DOCUMENT_ID: string;
|
|
223
291
|
VELT_LOCATION: string;
|
|
292
|
+
VELT_LOCATION_ID: string;
|
|
224
293
|
VELT_THEME: string;
|
|
225
294
|
VELT_IGNORE: string;
|
|
226
295
|
EMBED_MODE: string;
|
|
227
296
|
DEFAULT_CURSOR: string;
|
|
228
297
|
VELT_HUDDLE_ON_CURSOR_MODE: string;
|
|
229
298
|
VELT_SELECTION_ENABLED: string;
|
|
299
|
+
VELT_LIVE_SELECTION_ENABLED: string;
|
|
300
|
+
VELT_LIVE_SELECTION_USER_INDICATOR_POSITION: string;
|
|
301
|
+
VELT_LIVE_SELECTION_USER_INDICATOR_TYPE: string;
|
|
230
302
|
VELT_SELECTION_CONFIG: string;
|
|
231
303
|
VELT_POPOVER_MODE: string;
|
|
232
304
|
VELT_ELEMENT_CACHE_ID: string;
|
|
@@ -251,6 +323,11 @@ export declare class Constants {
|
|
|
251
323
|
VELT_IFRAME_CONTAINER: string;
|
|
252
324
|
VELT_IFRAME_CONTAINER_STATIC: string;
|
|
253
325
|
VELT_IS_FIRST_COMPONENT: string;
|
|
326
|
+
VELT_DOWNLOAD_BUTTON: string;
|
|
327
|
+
VELT_COMMENT_DIALOG_PORTAL_INTERNAL: string;
|
|
328
|
+
ANNOTATION_ID: string;
|
|
329
|
+
MULTI_THREAD_ANNOTATION_ID: string;
|
|
330
|
+
SLATE_EDITOR: string;
|
|
254
331
|
};
|
|
255
332
|
static INJECTION_STYLE_PROPS: {
|
|
256
333
|
/**
|
|
@@ -281,13 +358,23 @@ export declare class Constants {
|
|
|
281
358
|
SNIPPYLY_HUDDLE_DATA: string;
|
|
282
359
|
VELT_TAB_ID: string;
|
|
283
360
|
VELT_COMMENT_SIDEBAR_FILTERS_RESET: string;
|
|
361
|
+
VELT_COMMENT_SIDEBAR_CUSTOM_ACTIONS_STATE: string;
|
|
284
362
|
VELT_CURSOR_MULTIPLE_USERS_DETECTED: string;
|
|
285
363
|
VELT_PRESENCE_MULTIPLE_USERS_DETECTED: string;
|
|
364
|
+
VELT_PRESENCE_MULTIPLE_USERS_ONLINE: string;
|
|
365
|
+
VELT_CUSTOM_PRIORITY_MAP: string;
|
|
366
|
+
VELT_CUSTOM_STATUS_MAP: string;
|
|
367
|
+
VELT_CUSTOM_CATEGORY_MAP: string;
|
|
286
368
|
};
|
|
287
369
|
static LOCAL_STORAGE: {
|
|
288
370
|
SNIPPYLY_DEFAULT_MEDIA_SOURCE_OPTIONS: string;
|
|
289
371
|
SNIPPYLY_QUEUED_COMMENT: string;
|
|
290
372
|
VELT_USER: string;
|
|
373
|
+
VELT_IDENTIFY_USER: string;
|
|
374
|
+
VELT_USER_FORCE_RE_LOGGED_IN: string;
|
|
375
|
+
VELT_VERSION: string;
|
|
376
|
+
VELT_ADVANCED_QUERIES: string;
|
|
377
|
+
VELT_COMMENT_VIEWS_MIGRATED: string;
|
|
291
378
|
};
|
|
292
379
|
static NON_NESTABLE_ELEMENTS: {
|
|
293
380
|
[tag: string]: boolean;
|
|
@@ -310,7 +397,7 @@ export declare class Constants {
|
|
|
310
397
|
static VELT_BASE_REM_UNIT: string;
|
|
311
398
|
static VELT_VIEWPORT_WIDTH: string;
|
|
312
399
|
static VELT_VIEWPORT_HEIGHT: string;
|
|
313
|
-
static
|
|
400
|
+
static VELT_SELECTION_COLOR: string;
|
|
314
401
|
static VELT_MIN_ARROW_LENGTH: number;
|
|
315
402
|
static VELT_ARROW_VIEWPORT_PADDING: number;
|
|
316
403
|
static LIVE_STATE_REQUEST_EDITOR_ACCESS_WAIT_TIME: number;
|
|
@@ -382,4 +469,44 @@ export declare class Constants {
|
|
|
382
469
|
overlayX: any;
|
|
383
470
|
overlayY: any;
|
|
384
471
|
}[];
|
|
472
|
+
static VIDEO_EDITOR: {
|
|
473
|
+
ZOOM_IN_DURATION: number;
|
|
474
|
+
ZOOM_OUT_DURATION: number;
|
|
475
|
+
DEFAULT_ZOOM_FACTOR: number;
|
|
476
|
+
MAX_ZOOM_FACTOR: number;
|
|
477
|
+
ZOOM_FACTOR_OPTIONS: {
|
|
478
|
+
value: number;
|
|
479
|
+
label: string;
|
|
480
|
+
}[];
|
|
481
|
+
MIN_DRAG_AREA_MULTIPLIER: number;
|
|
482
|
+
PREFERRED_SECTION_DURATION_MULTIPLIER: number;
|
|
483
|
+
SELECTION_MIN_DRAG_DISTANCE: number;
|
|
484
|
+
MIN_DURATION_THRESHOLD: number;
|
|
485
|
+
TIME_BUFFER: number;
|
|
486
|
+
SHORT_VIDEO_THRESHOLD: number;
|
|
487
|
+
SMALL_VIDEO_THRESHOLD: number;
|
|
488
|
+
MILLISECOND_PRECISION_MULTIPLIER: number;
|
|
489
|
+
TENTH_SECOND_PRECISION_MULTIPLIER: number;
|
|
490
|
+
DEBOUNCE_DELAY: number;
|
|
491
|
+
DECIMAL_PRECISION: number;
|
|
492
|
+
MAX_MARKER_COUNT: number;
|
|
493
|
+
MARKER_INTERVAL: number;
|
|
494
|
+
FAST_TIMEOUT: number;
|
|
495
|
+
STANDARD_TIMEOUT: number;
|
|
496
|
+
RECTANGLE_POSITIONING: {
|
|
497
|
+
FULL_PERCENT: number;
|
|
498
|
+
HALF_PERCENT: number;
|
|
499
|
+
QUARTER_PERCENT: number;
|
|
500
|
+
};
|
|
501
|
+
EASING: {
|
|
502
|
+
QUAD_IN_OUT_MULTIPLIER: number;
|
|
503
|
+
QUAD_IN_OUT_POWER: number;
|
|
504
|
+
HALF_THRESHOLD: number;
|
|
505
|
+
};
|
|
506
|
+
PERCENTAGE: {
|
|
507
|
+
HALF: number;
|
|
508
|
+
FULL: number;
|
|
509
|
+
};
|
|
510
|
+
MILLISECONDS_TO_SECONDS: number;
|
|
511
|
+
};
|
|
385
512
|
}
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -8,9 +8,108 @@ export declare enum CommentStatus {
|
|
|
8
8
|
STATUS_CHANGED = "statusChanged",
|
|
9
9
|
PRIORITY_CHANGED = "priorityChanged",
|
|
10
10
|
ACCESS_MODE_CHANGED = "accessModeChanged",
|
|
11
|
+
CUSTOM_LIST_CHANGED = "customListChanged",
|
|
11
12
|
ACCEPTED = "accepted",
|
|
12
|
-
REJECTED = "rejected"
|
|
13
|
+
REJECTED = "rejected",
|
|
14
|
+
REACTION_ADDED = "reactionAdded",
|
|
15
|
+
REACTION_DELETED = "reactionDeleted",
|
|
16
|
+
SUBSCRIBED = "subscribed",
|
|
17
|
+
UNSUBSCRIBED = "unsubscribed"
|
|
13
18
|
}
|
|
19
|
+
export declare enum ResolverActions {
|
|
20
|
+
COMMENT_ANNOTATION_ADD = "comment_annotation.add",
|
|
21
|
+
COMMENT_ANNOTATION_DELETE = "comment_annotation.delete",
|
|
22
|
+
COMMENT_ADD = "comment.add",
|
|
23
|
+
COMMENT_DELETE = "comment.delete",
|
|
24
|
+
COMMENT_UPDATE = "comment.update",
|
|
25
|
+
REACTION_ADD = "reaction.add",
|
|
26
|
+
REACTION_DELETE = "reaction.delete",
|
|
27
|
+
ATTACHMENT_ADD = "attachment.add",
|
|
28
|
+
ATTACHMENT_DELETE = "attachment.delete"
|
|
29
|
+
}
|
|
30
|
+
export declare const CommentEventTypes: {
|
|
31
|
+
readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
|
|
32
|
+
readonly DELETE_COMMENT_ANNOTATION: "deleteCommentAnnotation";
|
|
33
|
+
readonly APPROVE_COMMENT_ANNOTATION: "approveCommentAnnotation";
|
|
34
|
+
readonly ACCEPT_COMMENT_ANNOTATION: "acceptCommentAnnotation";
|
|
35
|
+
readonly REJECT_COMMENT_ANNOTATION: "rejectCommentAnnotation";
|
|
36
|
+
readonly SUBSCRIBE_COMMENT_ANNOTATION: "subscribeCommentAnnotation";
|
|
37
|
+
readonly UNSUBSCRIBE_COMMENT_ANNOTATION: "unsubscribeCommentAnnotation";
|
|
38
|
+
readonly ASSIGN_USER: "assignUser";
|
|
39
|
+
readonly UPDATE_STATUS: "updateStatus";
|
|
40
|
+
readonly UPDATE_PRIORITY: "updatePriority";
|
|
41
|
+
readonly UPDATE_ACCESS: "updateAccess";
|
|
42
|
+
readonly RESOLVE_COMMENT: "resolveComment";
|
|
43
|
+
readonly ADD_COMMENT: "addComment";
|
|
44
|
+
readonly UPDATE_COMMENT: "updateComment";
|
|
45
|
+
readonly DELETE_COMMENT: "deleteComment";
|
|
46
|
+
readonly ADD_ATTACHMENT: "addAttachment";
|
|
47
|
+
readonly DELETE_ATTACHMENT: "deleteAttachment";
|
|
48
|
+
readonly DELETE_RECORDING: "deleteRecording";
|
|
49
|
+
readonly COPY_LINK: "copyLink";
|
|
50
|
+
readonly ADD_REACTION: "addReaction";
|
|
51
|
+
readonly DELETE_REACTION: "deleteReaction";
|
|
52
|
+
readonly TOGGLE_REACTION: "toggleReaction";
|
|
53
|
+
readonly COMMENT_SIDEBAR_DATA_INIT: "commentSidebarDataInit";
|
|
54
|
+
readonly COMMENT_SIDEBAR_DATA_UPDATE: "commentSidebarDataUpdate";
|
|
55
|
+
readonly AUTOCOMPLETE_SEARCH: "autocompleteSearch";
|
|
56
|
+
readonly COMPOSER_CLICKED: "composerClicked";
|
|
57
|
+
readonly LINK_CLICKED: "linkClicked";
|
|
58
|
+
readonly COMMENT_PIN_CLICKED: "commentPinClicked";
|
|
59
|
+
readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
|
|
60
|
+
readonly COMPOSER_TEXT_CHANGE: "composerTextChange";
|
|
61
|
+
};
|
|
62
|
+
export declare const RecorderEventTypes: {
|
|
63
|
+
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
|
64
|
+
readonly RECORDING_DONE: "recordingDone";
|
|
65
|
+
readonly RECORDING_EDIT_DONE: "recordingEditDone";
|
|
66
|
+
readonly DELETE_RECORDING: "deleteRecording";
|
|
67
|
+
readonly ERROR: "error";
|
|
68
|
+
readonly RECORDING_SAVE_INITIATED: "recordingSaveInitiated";
|
|
69
|
+
readonly RECORDING_STARTED: "recordingStarted";
|
|
70
|
+
readonly RECORDING_PAUSED: "recordingPaused";
|
|
71
|
+
readonly RECORDING_RESUMED: "recordingResumed";
|
|
72
|
+
readonly RECORDING_CANCELLED: "recordingCancelled";
|
|
73
|
+
readonly RECORDING_STOPPED: "recordingStopped";
|
|
74
|
+
};
|
|
75
|
+
export declare const CoreEventTypes: {
|
|
76
|
+
readonly PERMISSION_PROVIDER: "permissionProvider";
|
|
77
|
+
readonly USER_RESOLVER: "userResolver";
|
|
78
|
+
readonly COMMENT_RESOLVER: "commentResolver";
|
|
79
|
+
readonly ATTACHMENT_RESOLVER: "attachmentResolver";
|
|
80
|
+
readonly REACTION_RESOLVER: "reactionResolver";
|
|
81
|
+
readonly VELT_BUTTON_CLICK: "veltButtonClick";
|
|
82
|
+
readonly USER_UPDATE: "userUpdate";
|
|
83
|
+
readonly INIT_UPDATE: "initUpdate";
|
|
84
|
+
readonly DOCUMENT_INIT: "documentInit";
|
|
85
|
+
readonly ERROR: "error";
|
|
86
|
+
};
|
|
87
|
+
export declare const LiveStateSyncEventTypes: {
|
|
88
|
+
readonly ACCESS_REQUESTED: "accessRequested";
|
|
89
|
+
readonly ACCESS_REQUEST_CANCELED: "accessRequestCanceled";
|
|
90
|
+
readonly ACCESS_ACCEPTED: "accessAccepted";
|
|
91
|
+
readonly ACCESS_REJECTED: "accessRejected";
|
|
92
|
+
readonly EDITOR_ASSIGNED: "editorAssigned";
|
|
93
|
+
readonly VIEWER_ASSIGNED: "viewerAssigned";
|
|
94
|
+
readonly EDITOR_ON_DIFFERENT_TAB_DETECTED: "editorOnDifferentTabDetected";
|
|
95
|
+
};
|
|
96
|
+
export declare const PresenceEventTypes: {
|
|
97
|
+
readonly MULTIPLE_USERS_ONLINE: "multipleUsersOnline";
|
|
98
|
+
readonly USER_STATE_CHANGE: "userStateChange";
|
|
99
|
+
};
|
|
100
|
+
export declare const NotificationEventTypes: {
|
|
101
|
+
readonly SETTINGS_UPDATED: "settingsUpdated";
|
|
102
|
+
};
|
|
103
|
+
export declare const CrdtEventTypes: {
|
|
104
|
+
readonly UPDATE_DATA: "updateData";
|
|
105
|
+
};
|
|
106
|
+
export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
|
|
107
|
+
export type RecorderEventType = typeof RecorderEventTypes[keyof typeof RecorderEventTypes];
|
|
108
|
+
export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
|
|
109
|
+
export type LiveStateSyncEventType = typeof LiveStateSyncEventTypes[keyof typeof LiveStateSyncEventTypes];
|
|
110
|
+
export type PresenceEventType = typeof PresenceEventTypes[keyof typeof PresenceEventTypes];
|
|
111
|
+
export type NotificationEventType = typeof NotificationEventTypes[keyof typeof NotificationEventTypes];
|
|
112
|
+
export type CrdtEventType = typeof CrdtEventTypes[keyof typeof CrdtEventTypes];
|
|
14
113
|
export declare enum TagStatus {
|
|
15
114
|
ADDED = "added",
|
|
16
115
|
UPDATED = "updated",
|
|
@@ -22,6 +121,13 @@ export declare enum UserActionTypes {
|
|
|
22
121
|
INVITE = "invite",
|
|
23
122
|
REMOVE = "remove"
|
|
24
123
|
}
|
|
124
|
+
export declare enum HuddleActionTypes {
|
|
125
|
+
CREATED = "created",
|
|
126
|
+
JOINED = "joined"
|
|
127
|
+
}
|
|
128
|
+
export declare enum CrdtActionTypes {
|
|
129
|
+
UPDATE_DATA = "updateData"
|
|
130
|
+
}
|
|
25
131
|
export declare enum RecorderStatus {
|
|
26
132
|
ADDED = "added",
|
|
27
133
|
UPDATED = "updated",
|
|
@@ -47,6 +153,24 @@ export declare enum Features {
|
|
|
47
153
|
ARROW = "arrow",
|
|
48
154
|
AUDIO_HUDDLE = "audioHuddle",
|
|
49
155
|
COMMENT = "comment",
|
|
156
|
+
MULTI_THREAD = "multiThread",
|
|
157
|
+
CURSOR = "cursor",
|
|
158
|
+
HUDDLE = "huddle",
|
|
159
|
+
LIVE_STATE_SYNC = "liveStateSync",
|
|
160
|
+
PRESENCE = "presence",
|
|
161
|
+
TAG = "tag",
|
|
162
|
+
RECORDER = "recorder",
|
|
163
|
+
REWRITER = "rewriter",
|
|
164
|
+
LIVE_SELECTION = "liveSelection",
|
|
165
|
+
NOTIFICATION = "notification",
|
|
166
|
+
REACTION = "reaction"
|
|
167
|
+
}
|
|
168
|
+
export declare enum AnalyticsFeatures {
|
|
169
|
+
AREA = "area",
|
|
170
|
+
ARROW = "arrow",
|
|
171
|
+
AUDIO_HUDDLE = "audioHuddle",
|
|
172
|
+
COMMENT = "comment",
|
|
173
|
+
MULTI_THREAD = "multiThread",
|
|
50
174
|
CURSOR = "cursor",
|
|
51
175
|
HUDDLE = "huddle",
|
|
52
176
|
LIVE_STATE_SYNC = "liveStateSync",
|
|
@@ -54,9 +178,14 @@ export declare enum Features {
|
|
|
54
178
|
TAG = "tag",
|
|
55
179
|
RECORDER = "recorder",
|
|
56
180
|
REWRITER = "rewriter",
|
|
57
|
-
LIVE_SELECTION = "liveSelection"
|
|
181
|
+
LIVE_SELECTION = "liveSelection",
|
|
182
|
+
NOTIFICATION = "notification",
|
|
183
|
+
REACTION = "reaction",
|
|
184
|
+
AREA_COMMENT = "areaComment",
|
|
185
|
+
INLINE_COMMENT = "inlineComment",
|
|
186
|
+
COMMENT_SIDEBAR = "commentSidebar"
|
|
58
187
|
}
|
|
59
|
-
export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection';
|
|
188
|
+
export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread';
|
|
60
189
|
export declare enum DeviceType {
|
|
61
190
|
DESKTOP = "Desktop",
|
|
62
191
|
MOBILE = "Mobile",
|
|
@@ -84,7 +213,7 @@ export declare enum Roles {
|
|
|
84
213
|
export declare enum DocumentAccessType {
|
|
85
214
|
PUBLIC = "public",
|
|
86
215
|
RESTRICTED = "restricted",
|
|
87
|
-
|
|
216
|
+
ORGANIZATION_PRIVATE = "organizationPrivate"
|
|
88
217
|
}
|
|
89
218
|
export declare enum DetectionStrategy {
|
|
90
219
|
DEFAULT = "default",
|
|
@@ -98,3 +227,79 @@ export declare enum UnreadIndicatorMode {
|
|
|
98
227
|
MINIMAL = "minimal",
|
|
99
228
|
VERBOSE = "verbose"
|
|
100
229
|
}
|
|
230
|
+
export declare enum ComposerMode {
|
|
231
|
+
DEFAULT = "default",
|
|
232
|
+
EXPANDED = "expanded"
|
|
233
|
+
}
|
|
234
|
+
export declare enum CommentCountType {
|
|
235
|
+
TOTAL = "total",
|
|
236
|
+
UNREAD = "unread"
|
|
237
|
+
}
|
|
238
|
+
export declare enum ServerConnectionState {
|
|
239
|
+
ONLINE = "online",
|
|
240
|
+
OFFLINE = "offline",
|
|
241
|
+
PENDING_INIT = "pendingInit",
|
|
242
|
+
PENDING_DATA = "pendingData"
|
|
243
|
+
}
|
|
244
|
+
export declare enum ContactListScopeForOrganizationUsers {
|
|
245
|
+
ALL = "all",
|
|
246
|
+
ORGANIZATION = "organization",
|
|
247
|
+
ORGANIZATION_USER_GROUP = "organizationUserGroup",
|
|
248
|
+
DOCUMENT = "document",
|
|
249
|
+
FOLDER = "folder"
|
|
250
|
+
}
|
|
251
|
+
export type RecorderMode = 'audio' | 'video' | 'screen' | 'all' | string;
|
|
252
|
+
export type RecorderType = 'audio' | 'video' | 'screen';
|
|
253
|
+
export type RecorderFileFormat = 'mp3' | 'mp4' | 'webm';
|
|
254
|
+
export type RecorderLayoutMode = 'floating' | 'thread';
|
|
255
|
+
export type SupportedMimeType = 'audio' | 'video';
|
|
256
|
+
export type FirebaseRegion = 'usCentral1' | 'asiaSouthEast1' | 'europeWest1';
|
|
257
|
+
export type VideoEventType = 'play' | 'pause' | 'ratechange' | 'seeked' | 'timeupdate' | 'volumechange';
|
|
258
|
+
export type RewriterType = 'copywriter' | 'generic';
|
|
259
|
+
export type RecorderStatusType = 'started' | 'paused' | 'resumed' | 'stopped' | 'error' | null;
|
|
260
|
+
export type HuddleType = 'audio' | 'video' | 'presentation';
|
|
261
|
+
export type NotificationTabId = 'for-you' | 'all' | 'document' | 'people';
|
|
262
|
+
export type NotificationTabType = 'forYou' | 'all' | 'documents' | 'people';
|
|
263
|
+
export type NotificationSource = 'area' | 'arrow' | 'comment' | 'tag' | 'huddle' | 'userInvite' | 'user' | 'recorder' | 'huddleInvite' | 'userFeedback' | 'userContactUs' | 'userReportBug' | 'documentViews' | 'crdt' | 'custom';
|
|
264
|
+
export type SingleEditorStatus = 'pending' | 'accepted' | 'rejected' | 'cancelled';
|
|
265
|
+
export type SingleEditorState = 'idle' | 'inProgress' | 'completed';
|
|
266
|
+
export type AudioWaveformVariant = 'expanded' | 'minified' | 'player' | 'preview' | 'preview-mini' | 'editor';
|
|
267
|
+
export type ActionButtonType = 'button' | 'button-toggle' | 'multi-select' | 'single-select';
|
|
268
|
+
export type DropdownPosition = 'left' | 'right' | 'center';
|
|
269
|
+
export type DevicePermissionType = 'audio' | 'video';
|
|
270
|
+
export type TranscriptionMode = 'floating' | 'embed' | 'summaryMode';
|
|
271
|
+
export type ComposerPosition = 'top' | 'bottom';
|
|
272
|
+
export type SortBy = 'lastUpdated' | 'createdAt';
|
|
273
|
+
export type SortOrder = 'asc' | 'desc';
|
|
274
|
+
export type MinimapPosition = 'left' | 'right';
|
|
275
|
+
export type FilterOptionLayout = 'dropdown' | 'checkbox';
|
|
276
|
+
export type FilterPanelPosition = 'menu' | 'bottomSheet';
|
|
277
|
+
export type OverlayOriginY = 'top' | 'center' | 'bottom';
|
|
278
|
+
export type OverlayOriginX = 'start' | 'center' | 'end';
|
|
279
|
+
export type SubtitlesMode = 'floating' | 'embed';
|
|
280
|
+
export type RecorderVariant = 'default' | 'embed';
|
|
281
|
+
export type ReactionPinType = 'timeline' | 'comment';
|
|
282
|
+
export type SidebarPosition = 'left' | 'right';
|
|
283
|
+
export type SidebarSortingCriteria = 'date' | 'unread' | null;
|
|
284
|
+
export type SidebarFilterCriteria = 'all' | 'read' | 'unread' | 'resolved' | 'open' | 'reset' | null;
|
|
285
|
+
export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'involved' | 'pages' | 'documents' | 'statuses' | 'priorities' | 'categories' | 'versions' | string;
|
|
286
|
+
export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFirst' | 'updatedLast';
|
|
287
|
+
export type NotificationPanelMode = 'popover' | 'sidebar';
|
|
288
|
+
export type SidebarActionButtonType = 'default' | 'toggle';
|
|
289
|
+
export type SidebarButtonCountType = 'default' | 'filter';
|
|
290
|
+
export declare enum CommentSidebarSystemFiltersOperator {
|
|
291
|
+
AND = "and",
|
|
292
|
+
OR = "or"
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Type for notification settings accordion types
|
|
296
|
+
*/
|
|
297
|
+
export type NotificationSettingsAccordionType = 'inbox' | 'email' | string;
|
|
298
|
+
/**
|
|
299
|
+
* Type for notification settings item options
|
|
300
|
+
*/
|
|
301
|
+
export type NotificationSettingsItemType = 'ALL' | 'MINE' | 'NONE' | string;
|
|
302
|
+
/**
|
|
303
|
+
* Type for notification settings layout
|
|
304
|
+
*/
|
|
305
|
+
export type NotificationSettingsLayout = 'accordion' | 'dropdown';
|