@veltdev/sdk-staging 6.0.0-beta.5 → 6.0.0-beta.7
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 +2 -3
- package/app/models/data/selection.model.d.ts +10 -8
- package/app/models/data/user-resolver.data.model.d.ts +11 -9
- package/app/models/data/user.data.model.d.ts +21 -18
- package/app/models/element/activity-element.model.d.ts +0 -1
- package/app/models/element/area-element.model.d.ts +0 -1
- package/app/models/element/arrow-element.model.d.ts +1 -2
- package/app/models/element/autocomplete-element.model.d.ts +0 -1
- package/app/models/element/comment-element.model.d.ts +103 -77
- package/app/models/element/contact-element.model.d.ts +1 -2
- package/app/models/element/crdt-element.model.d.ts +1 -1
- package/app/models/element/cursor-element.model.d.ts +1 -2
- package/app/models/element/huddle-element.model.d.ts +1 -2
- package/app/models/element/live-state-sync-element.model.d.ts +1 -1
- package/app/models/element/notification-element.model.d.ts +33 -2
- package/app/models/element/presence-element.model.d.ts +32 -11
- package/app/models/element/reaction-element.model.d.ts +1 -1
- package/app/models/element/recorder-element.model.d.ts +21 -2
- package/app/models/element/rewriter-element.model.d.ts +43 -1
- package/app/models/element/selection-element.model.d.ts +1 -1
- package/app/models/element/suggestion-element.model.d.ts +0 -1
- package/app/models/element/tag-element.model.d.ts +7 -8
- package/app/models/element/views-element.model.d.ts +1 -1
- package/app/utils/enums.d.ts +91 -82
- package/{chunk-4HTRJDUT.js → chunk-2YJ3NBTO.js} +1 -1
- package/{chunk-HPCGJVBV.js → chunk-3OIAZGVH.js} +1 -1
- package/{chunk-NREV2I2E.js → chunk-3OILJMAX.js} +1 -1
- package/{chunk-NVSEAZ7V.js → chunk-4QPJMZ5V.js} +1 -1
- package/{chunk-JWZNY6MR.js → chunk-52EPUXSU.js} +1 -1
- package/{chunk-I3QEZDJJ.js → chunk-57VK6E6U.js} +1 -1
- package/{chunk-M6OYNJUV.js → chunk-5SSUFLRQ.js} +1 -1
- package/{chunk-6YU4HPC3.js → chunk-5W33SILU.js} +1 -1
- package/{chunk-HRMFENXY.js → chunk-6TORUSYX.js} +1 -1
- package/{chunk-2CSNE6K3.js → chunk-AMBQ736A.js} +1 -1
- package/{chunk-S6BGMPB5.js → chunk-DP4GMASO.js} +1 -1
- package/{chunk-ZOEYUSVF.js → chunk-ENIVQSM6.js} +1 -1
- package/{chunk-CAH7LK67.js → chunk-EWNXINED.js} +1 -1
- package/{chunk-BLOVLKDQ.js → chunk-G2POMKRC.js} +1 -1
- package/{chunk-EJCDV3ZL.js → chunk-G56O673H.js} +1 -1
- package/{chunk-XQKUJSNO.js → chunk-GUGGWPZ7.js} +1 -1
- package/{chunk-OSPUUVRC.js → chunk-HDABOQPS.js} +1 -1
- package/{chunk-GG5L5Y4V.js → chunk-J3FNQGWW.js} +1 -1
- package/{chunk-AUXK5IGY.js → chunk-JSZMRBOR.js} +1 -1
- package/{chunk-GUCATQJB.js → chunk-LAUYCNER.js} +1 -1
- package/{chunk-4KHSKSMM.js → chunk-MJDGHV4Y.js} +1 -1
- package/{chunk-NM7DOIHZ.js → chunk-MX66OK5A.js} +1 -1
- package/{chunk-4RKIO2W6.js → chunk-NR3CZ6OR.js} +1 -1
- package/{chunk-A7KXFTE5.js → chunk-QDQ2XJUX.js} +1 -1
- package/{chunk-GY4HESRT.js → chunk-RMV5EWSF.js} +1 -1
- package/{chunk-TIHAG3UC.js → chunk-RQQHM7ZV.js} +1 -1
- package/{chunk-WEQZFWL6.js → chunk-SQTBBRA3.js} +1 -1
- package/{chunk-3HVKHN3C.js → chunk-TY3WZ4Q4.js} +26 -26
- package/{chunk-ONMQQFFH.js → chunk-W4BGGBK5.js} +1 -1
- package/{chunk-6YAEGDTT.js → chunk-XAJ4ABBW.js} +1 -1
- package/{chunk-62IPFSNC.js → chunk-XJWB3IUW.js} +1 -1
- package/{chunk-DEKTLMP2.js → chunk-YSZQAETY.js} +1 -1
- package/{chunk-ZOM7FOLY.js → chunk-ZMXXM7C4.js} +1 -1
- package/package.json +1 -1
- package/types.d.ts +22 -22
- package/velt-activity-log.js +1 -1
- package/velt-area.js +1 -1
- package/velt-arrow.js +1 -1
- package/velt-comment.js +6 -6
- package/velt-crdt.js +1 -1
- package/velt-cursor.js +1 -1
- package/velt-huddle.js +1 -1
- package/velt-live-state-sync.js +1 -1
- package/velt-notification.js +1 -1
- package/velt-presence.js +1 -1
- package/velt-reaction.js +1 -1
- package/velt-recorder.js +1 -1
- package/velt-rewriter.js +1 -1
- package/velt-selection.js +1 -1
- package/velt-tag.js +1 -1
- package/velt-user-invite.js +1 -1
- package/velt-user-request.js +1 -1
- package/velt-video-player.js +1 -1
- package/velt-views.js +1 -1
- package/velt.d.ts +1 -2
- package/velt.js +3 -3
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
import { Observable } from "rxjs";
|
|
3
2
|
import { ContactListScopeForOrganizationUsers } from "../../utils/enums";
|
|
4
3
|
import { GetContactListResponse } from "../data/contact-utils.data.model";
|
|
5
|
-
import { SelectedUserContact } from "../data/user-contact.data.model";
|
|
4
|
+
import { SelectedUserContact, UserContact } from "../data/user-contact.data.model";
|
|
6
5
|
|
|
7
6
|
export declare class ContactElement {
|
|
8
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
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";
|
|
3
3
|
import { CrdtEventTypesMap } from "../data/crdt-events.data.model";
|
|
4
4
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
import { Observable } from "rxjs";
|
|
3
2
|
import { CursorUser } from "../data/cursor-user.data.model";
|
|
4
3
|
export declare class CursorElement {
|
|
@@ -28,7 +27,7 @@ export declare class CursorElement {
|
|
|
28
27
|
* To allow cursors in specific elements only
|
|
29
28
|
* @param elementIds Element ids to be allowed to show cursor on it
|
|
30
29
|
*/
|
|
31
|
-
allowedElementIds: (elementIds: string[]) =>
|
|
30
|
+
allowedElementIds: (elementIds: string[]) => void;
|
|
32
31
|
constructor();
|
|
33
32
|
/**
|
|
34
33
|
* Subscribe to cursors of all online users who are either active or inactive on the current document.
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
export declare class HuddleElement {
|
|
3
2
|
/**
|
|
4
3
|
* To enable huddle bubble on cursor feature
|
|
@@ -39,7 +38,7 @@ export declare class HuddleElement {
|
|
|
39
38
|
/**
|
|
40
39
|
* To disable huddle on cursor feature
|
|
41
40
|
*/
|
|
42
|
-
public _disableCursorMode;
|
|
41
|
+
public _disableCursorMode: () => void;
|
|
43
42
|
|
|
44
43
|
/**
|
|
45
44
|
* To enable chat
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
2
|
import { ServerConnectionState } from '../../utils/enums';
|
|
3
3
|
import { EditorAccessTimer, FetchLiveStateDataRequest, LiveStateDataConfig, LiveStateSingleEditorExternalUserPresence, SetLiveStateDataConfig, SetUserAsEditorResponse, SingleEditorConfig, UserEditorAccess } from '../data/live-state-data.data.model';
|
|
4
4
|
import { LiveStateEventTypesMap } from '../data/live-state-events.data.model';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
2
|
|
|
3
|
-
import { GetNotificationsDataQuery, Notification, NotificationInitialSettingsConfig, NotificationSettingsConfig, NotificationTabConfig } from "../data/notification.model";
|
|
3
|
+
import { CrossOrganizationConfig, GetNotificationsDataQuery, Notification, NotificationInitialSettingsConfig, NotificationSettingsConfig, NotificationTabConfig } from "../data/notification.model";
|
|
4
|
+
import { NotificationEventTypesMap } from "../data/notifications-events.data.model";
|
|
4
5
|
|
|
5
6
|
export declare class NotificationElement {
|
|
6
7
|
/**
|
|
@@ -128,6 +129,21 @@ export declare class NotificationElement {
|
|
|
128
129
|
*/
|
|
129
130
|
disableCurrentDocumentOnly: () => void;
|
|
130
131
|
|
|
132
|
+
/**
|
|
133
|
+
* To enable cross organization notifications
|
|
134
|
+
*/
|
|
135
|
+
enableCrossOrganization: (config?: CrossOrganizationConfig | null) => void;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* To disable cross organization notifications
|
|
139
|
+
*/
|
|
140
|
+
disableCrossOrganization: () => void;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Subscribe to notification events
|
|
144
|
+
*/
|
|
145
|
+
on: <T extends keyof NotificationEventTypesMap>(action: T) => Observable<NotificationEventTypesMap[T]>;
|
|
146
|
+
|
|
131
147
|
constructor();
|
|
132
148
|
|
|
133
149
|
/**
|
|
@@ -254,4 +270,19 @@ export declare class NotificationElement {
|
|
|
254
270
|
* To disable current document only
|
|
255
271
|
*/
|
|
256
272
|
private _disableCurrentDocumentOnly;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* To enable cross organization notifications
|
|
276
|
+
*/
|
|
277
|
+
private _enableCrossOrganization;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* To disable cross organization notifications
|
|
281
|
+
*/
|
|
282
|
+
private _disableCrossOrganization;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Subscribe to notification events
|
|
286
|
+
*/
|
|
287
|
+
private _on;
|
|
257
288
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
import { Observable } from "rxjs";
|
|
3
2
|
import { PresenceUser } from "../data/presence-user.data.model";
|
|
4
3
|
import { GetPresenceDataResponse, PresenceEventTypesMap } from "../data/presence-events.data.model";
|
|
5
4
|
import { PresenceRequestQuery } from "../data/presence-actions.data.model";
|
|
5
|
+
import { FlockOptions } from "../data/flock-options.model";
|
|
6
6
|
|
|
7
7
|
export declare class PresenceElement {
|
|
8
8
|
|
|
@@ -21,15 +21,27 @@ export declare class PresenceElement {
|
|
|
21
21
|
setInactivityTime: (time: number) => void;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @param options
|
|
24
|
+
* Enable flock mode globally
|
|
25
|
+
* @param options FlockOptions
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
enableFlockMode: (options?: FlockOptions) => void;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Disable flock mode globally
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
disableFlockMode: () => void;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Start/join a flock session by following the given user
|
|
36
|
+
* @param userId The leader user ID
|
|
37
|
+
* @param name The leader user name
|
|
38
|
+
*/
|
|
39
|
+
startFollowingUser: (userId: string, name: string) => void;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Exit the flock session / stop following
|
|
43
|
+
*/
|
|
44
|
+
stopFollowingUser: () => void;
|
|
33
45
|
|
|
34
46
|
/**
|
|
35
47
|
* To enable adding self to the presence list
|
|
@@ -81,15 +93,24 @@ export declare class PresenceElement {
|
|
|
81
93
|
private _setInactivityTime;
|
|
82
94
|
|
|
83
95
|
/**
|
|
84
|
-
*
|
|
85
|
-
|
|
96
|
+
* Enable flock mode globally
|
|
97
|
+
*/
|
|
98
|
+
private _enableFlockMode;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Disable flock mode globally
|
|
102
|
+
*/
|
|
103
|
+
private _disableFlockMode;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Start/join a flock session by following the given user
|
|
86
107
|
*/
|
|
87
|
-
private
|
|
108
|
+
private _startFollowingUser;
|
|
88
109
|
|
|
89
110
|
/**
|
|
90
|
-
*
|
|
111
|
+
* Exit the flock session / stop following
|
|
91
112
|
*/
|
|
92
|
-
private
|
|
113
|
+
private _stopFollowingUser;
|
|
93
114
|
|
|
94
115
|
/**
|
|
95
116
|
* To enable adding self to the presence list
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
import { Observable } from "rxjs";
|
|
3
2
|
import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse, GetRecordingsResponse, DeleteRecordingsResponse } from "../data/recorder-annotation.data.model";
|
|
4
3
|
import { RecorderEventTypesMap } from "../data/recorder-events.data.model";
|
|
@@ -6,13 +5,23 @@ import { RecordedData, RecorderQualityConstraints, RecorderEncodingOptions, Reco
|
|
|
6
5
|
|
|
7
6
|
export declare class RecorderElement {
|
|
8
7
|
|
|
9
|
-
initRecording: (type: string, panelId?: string) =>
|
|
8
|
+
initRecording: (type: string, panelId?: string) => Promise<void>;
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* @deprecated Use on('recordingDone') method instead
|
|
13
12
|
*/
|
|
14
13
|
onRecordedData: () => Observable<RecordedData | null>;
|
|
15
14
|
|
|
15
|
+
/**
|
|
16
|
+
* To enable dark mode in recording
|
|
17
|
+
*/
|
|
18
|
+
enableDarkMode: () => void;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* To disable dark mode in recording
|
|
22
|
+
*/
|
|
23
|
+
disableDarkMode: () => void;
|
|
24
|
+
|
|
16
25
|
/**
|
|
17
26
|
* To enable recording countdown
|
|
18
27
|
*/
|
|
@@ -173,6 +182,16 @@ export declare class RecorderElement {
|
|
|
173
182
|
*/
|
|
174
183
|
private _onRecordedData;
|
|
175
184
|
|
|
185
|
+
/**
|
|
186
|
+
* To enable dark mode in recording
|
|
187
|
+
*/
|
|
188
|
+
private _enableDarkMode;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* To disable dark mode in recording
|
|
192
|
+
*/
|
|
193
|
+
private _disableDarkMode;
|
|
194
|
+
|
|
176
195
|
/**
|
|
177
196
|
* To enable dark mode in comments
|
|
178
197
|
*/
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { RewriterAskAiRequest, RewriterAskAiResponse, RewriterReplaceTextRequest, RewriterReplaceTextResponse, RewriterAddCommentRequest, RewriterAddCommentResponse, RewriterEventTypesMap } from "../data/rewriter-events.data.model";
|
|
3
|
+
|
|
2
4
|
export declare class RewriterElement {
|
|
3
5
|
/**
|
|
4
6
|
* To enable rewriter feature
|
|
@@ -19,6 +21,26 @@ export declare class RewriterElement {
|
|
|
19
21
|
* To disable the default rewriter UI on text selection
|
|
20
22
|
*/
|
|
21
23
|
disableDefaultUI: () => void;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Subscribe to rewriter events
|
|
27
|
+
*/
|
|
28
|
+
on: <T extends keyof RewriterEventTypesMap>(action: T) => Observable<RewriterEventTypesMap[T]>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Call AI with the currently selected text
|
|
32
|
+
*/
|
|
33
|
+
askAi: (request: RewriterAskAiRequest) => Promise<RewriterAskAiResponse>;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Replace the selected text in the DOM with the given text
|
|
37
|
+
*/
|
|
38
|
+
replaceText: (request: RewriterReplaceTextRequest) => Promise<RewriterReplaceTextResponse>;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Add a comment annotation on the selected text with the given text as comment body
|
|
42
|
+
*/
|
|
43
|
+
addComment: (request: RewriterAddCommentRequest) => Promise<RewriterAddCommentResponse>;
|
|
22
44
|
constructor();
|
|
23
45
|
|
|
24
46
|
/**
|
|
@@ -40,4 +62,24 @@ export declare class RewriterElement {
|
|
|
40
62
|
* To disable the default rewriter UI on text selection
|
|
41
63
|
*/
|
|
42
64
|
private _disableDefaultUI;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Subscribe to rewriter events
|
|
68
|
+
*/
|
|
69
|
+
private _on;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Call AI with the currently selected text
|
|
73
|
+
*/
|
|
74
|
+
private _askAi;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Replace the selected text in the DOM with the given text
|
|
78
|
+
*/
|
|
79
|
+
private _replaceText;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Add a comment annotation on the selected text with the given text as comment body
|
|
83
|
+
*/
|
|
84
|
+
private _addComment;
|
|
43
85
|
}
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
import { Observable } from "rxjs";
|
|
3
|
-
import {
|
|
2
|
+
import { TagAnnotation } from "../data/tag-annotation.data.model";
|
|
4
3
|
export declare class TagElement {
|
|
5
4
|
/**
|
|
6
5
|
* Subscribe to tags on the current document.
|
|
7
6
|
*
|
|
8
|
-
* Returns Observable<
|
|
7
|
+
* Returns Observable<TagAnnotation[] | null>.
|
|
9
8
|
*/
|
|
10
|
-
getAllTagAnnotations: (documentId?: string, documentParams?: object) => Observable<
|
|
9
|
+
getAllTagAnnotations: (documentId?: string, documentParams?: object) => Observable<TagAnnotation[] | null>;
|
|
11
10
|
|
|
12
11
|
/**
|
|
13
12
|
* To delete selected tags
|
|
14
13
|
*/
|
|
15
|
-
deleteTag: () =>
|
|
14
|
+
deleteTag: () => void;
|
|
16
15
|
|
|
17
16
|
/**
|
|
18
17
|
* To allow text selection in specific elements only
|
|
19
18
|
* @param elementIds Element ids to be allowed
|
|
20
19
|
*/
|
|
21
|
-
allowedElementIds: (elementIds: string[]) =>
|
|
20
|
+
allowedElementIds: (elementIds: string[]) => void;
|
|
22
21
|
|
|
23
22
|
/**
|
|
24
23
|
* To add tags on specific elements
|
|
25
24
|
*
|
|
26
25
|
* @param elementId ID of html element
|
|
27
26
|
*/
|
|
28
|
-
attachTag: (elementId: string) =>
|
|
27
|
+
attachTag: (elementId: string) => void;
|
|
29
28
|
|
|
30
29
|
/**
|
|
31
30
|
* Subscribe to add tag mode change.
|
|
@@ -37,7 +36,7 @@ export declare class TagElement {
|
|
|
37
36
|
/**
|
|
38
37
|
* Subscribe to tags on the current document.
|
|
39
38
|
*
|
|
40
|
-
* Returns Observable<
|
|
39
|
+
* Returns Observable<TagAnnotation[] | null>.
|
|
41
40
|
*/
|
|
42
41
|
private _getAllTagAnnotations;
|
|
43
42
|
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
NEWLY_ADDED
|
|
3
|
-
ADDED
|
|
4
|
-
UPDATED
|
|
5
|
-
DELETED
|
|
6
|
-
APPROVED
|
|
7
|
-
ASSIGNED
|
|
8
|
-
STATUS_CHANGED
|
|
9
|
-
PRIORITY_CHANGED
|
|
10
|
-
ACCESS_MODE_CHANGED
|
|
11
|
-
CUSTOM_LIST_CHANGED
|
|
12
|
-
ACCEPTED
|
|
13
|
-
REJECTED
|
|
14
|
-
REACTION_ADDED
|
|
15
|
-
REACTION_DELETED
|
|
16
|
-
SUBSCRIBED
|
|
17
|
-
UNSUBSCRIBED
|
|
18
|
-
SUGGESTION_ACCEPTED
|
|
19
|
-
SUGGESTION_REJECTED
|
|
20
|
-
}
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
export declare const CommentStatus: {
|
|
2
|
+
readonly NEWLY_ADDED: "newlyAdded";
|
|
3
|
+
readonly ADDED: "added";
|
|
4
|
+
readonly UPDATED: "updated";
|
|
5
|
+
readonly DELETED: "deleted";
|
|
6
|
+
readonly APPROVED: "approved";
|
|
7
|
+
readonly ASSIGNED: "assigned";
|
|
8
|
+
readonly STATUS_CHANGED: "statusChanged";
|
|
9
|
+
readonly PRIORITY_CHANGED: "priorityChanged";
|
|
10
|
+
readonly ACCESS_MODE_CHANGED: "accessModeChanged";
|
|
11
|
+
readonly CUSTOM_LIST_CHANGED: "customListChanged";
|
|
12
|
+
readonly ACCEPTED: "accepted";
|
|
13
|
+
readonly REJECTED: "rejected";
|
|
14
|
+
readonly REACTION_ADDED: "reactionAdded";
|
|
15
|
+
readonly REACTION_DELETED: "reactionDeleted";
|
|
16
|
+
readonly SUBSCRIBED: "subscribed";
|
|
17
|
+
readonly UNSUBSCRIBED: "unsubscribed";
|
|
18
|
+
readonly SUGGESTION_ACCEPTED: "suggestionAccepted";
|
|
19
|
+
readonly SUGGESTION_REJECTED: "suggestionRejected";
|
|
20
|
+
};
|
|
21
|
+
export type CommentStatus = (typeof CommentStatus)[keyof typeof CommentStatus];
|
|
22
|
+
export declare const ResolverActions: {
|
|
23
|
+
readonly COMMENT_ANNOTATION_ADD: "comment_annotation.add";
|
|
24
|
+
readonly COMMENT_ANNOTATION_DELETE: "comment_annotation.delete";
|
|
25
|
+
readonly COMMENT_ADD: "comment.add";
|
|
26
|
+
readonly COMMENT_DELETE: "comment.delete";
|
|
27
|
+
readonly COMMENT_UPDATE: "comment.update";
|
|
28
|
+
readonly REACTION_ADD: "reaction.add";
|
|
29
|
+
readonly REACTION_DELETE: "reaction.delete";
|
|
30
|
+
readonly ATTACHMENT_ADD: "attachment.add";
|
|
31
|
+
readonly ATTACHMENT_DELETE: "attachment.delete";
|
|
32
|
+
readonly RECORDER_ANNOTATION_ADD: "recorder_annotation.add";
|
|
33
|
+
readonly RECORDER_ANNOTATION_UPDATE: "recorder_annotation.update";
|
|
34
|
+
readonly RECORDER_ANNOTATION_DELETE: "recorder_annotation.delete";
|
|
35
|
+
readonly ACTIVITY_SAVE: "activity.save";
|
|
36
|
+
};
|
|
37
|
+
export type ResolverActions = (typeof ResolverActions)[keyof typeof ResolverActions];
|
|
36
38
|
/**
|
|
37
39
|
* Opt-in additional (non-core) comment save events for the Comment Annotations Resolver
|
|
38
40
|
* (specs/comment-resolver iteration-2). Values mirror the non-core `CommentActivityActionTypes`
|
|
@@ -42,22 +44,23 @@ export declare enum ResolverActions {
|
|
|
42
44
|
* `ResolverActions`. Kept in enums.ts (a leaf module) to avoid a
|
|
43
45
|
* resolver.data.model ↔ comment-resolver.data.model import cycle.
|
|
44
46
|
*/
|
|
45
|
-
export declare
|
|
46
|
-
STATUS_CHANGE
|
|
47
|
-
PRIORITY_CHANGE
|
|
48
|
-
ASSIGN
|
|
49
|
-
ACCESS_MODE_CHANGE
|
|
50
|
-
CUSTOM_LIST_CHANGE
|
|
51
|
-
APPROVE
|
|
52
|
-
ACCEPT
|
|
53
|
-
REJECT
|
|
54
|
-
SUGGESTION_ACCEPT
|
|
55
|
-
SUGGESTION_REJECT
|
|
56
|
-
REACTION_ADD
|
|
57
|
-
REACTION_DELETE
|
|
58
|
-
SUBSCRIBE
|
|
59
|
-
UNSUBSCRIBE
|
|
60
|
-
}
|
|
47
|
+
export declare const CommentResolverSaveEvent: {
|
|
48
|
+
readonly STATUS_CHANGE: "comment_annotation.status_change";
|
|
49
|
+
readonly PRIORITY_CHANGE: "comment_annotation.priority_change";
|
|
50
|
+
readonly ASSIGN: "comment_annotation.assign";
|
|
51
|
+
readonly ACCESS_MODE_CHANGE: "comment_annotation.access_mode_change";
|
|
52
|
+
readonly CUSTOM_LIST_CHANGE: "comment_annotation.custom_list_change";
|
|
53
|
+
readonly APPROVE: "comment_annotation.approve";
|
|
54
|
+
readonly ACCEPT: "comment.accept";
|
|
55
|
+
readonly REJECT: "comment.reject";
|
|
56
|
+
readonly SUGGESTION_ACCEPT: "comment_annotation.suggestion_accept";
|
|
57
|
+
readonly SUGGESTION_REJECT: "comment_annotation.suggestion_reject";
|
|
58
|
+
readonly REACTION_ADD: "comment.reaction_add";
|
|
59
|
+
readonly REACTION_DELETE: "comment.reaction_delete";
|
|
60
|
+
readonly SUBSCRIBE: "comment_annotation.subscribe";
|
|
61
|
+
readonly UNSUBSCRIBE: "comment_annotation.unsubscribe";
|
|
62
|
+
};
|
|
63
|
+
export type CommentResolverSaveEvent = (typeof CommentResolverSaveEvent)[keyof typeof CommentResolverSaveEvent];
|
|
61
64
|
export declare const CommentEventTypes: {
|
|
62
65
|
readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
|
|
63
66
|
readonly ADD_COMMENT_ANNOTATION_DRAFT: "addCommentAnnotationDraft";
|
|
@@ -204,11 +207,12 @@ export declare enum ArrowStatus {
|
|
|
204
207
|
UPDATED = "updated",
|
|
205
208
|
DELETED = "deleted"
|
|
206
209
|
}
|
|
207
|
-
export declare
|
|
208
|
-
ADDED
|
|
209
|
-
UPDATED
|
|
210
|
-
DELETED
|
|
211
|
-
}
|
|
210
|
+
export declare const AreaStatus: {
|
|
211
|
+
readonly ADDED: "added";
|
|
212
|
+
readonly UPDATED: "updated";
|
|
213
|
+
readonly DELETED: "deleted";
|
|
214
|
+
};
|
|
215
|
+
export type AreaStatus = (typeof AreaStatus)[keyof typeof AreaStatus];
|
|
212
216
|
export declare enum DocumentViewsStatus {
|
|
213
217
|
FIRST_VIEWED = "firstViewed"
|
|
214
218
|
}
|
|
@@ -281,19 +285,21 @@ export declare enum Roles {
|
|
|
281
285
|
ADMIN = "Admin",
|
|
282
286
|
COMMENTER = "Commenter"
|
|
283
287
|
}
|
|
284
|
-
export declare
|
|
285
|
-
PUBLIC
|
|
286
|
-
RESTRICTED
|
|
287
|
-
ORGANIZATION_PRIVATE
|
|
288
|
-
}
|
|
288
|
+
export declare const DocumentAccessType: {
|
|
289
|
+
readonly PUBLIC: "public";
|
|
290
|
+
readonly RESTRICTED: "restricted";
|
|
291
|
+
readonly ORGANIZATION_PRIVATE: "organizationPrivate";
|
|
292
|
+
};
|
|
293
|
+
export type DocumentAccessType = (typeof DocumentAccessType)[keyof typeof DocumentAccessType];
|
|
289
294
|
export declare enum DetectionStrategy {
|
|
290
295
|
DEFAULT = "default",
|
|
291
296
|
DYNAMIC_ID = "dynamicId"
|
|
292
297
|
}
|
|
293
|
-
export declare
|
|
294
|
-
PUBLIC
|
|
295
|
-
PRIVATE
|
|
296
|
-
}
|
|
298
|
+
export declare const CommentAccessMode: {
|
|
299
|
+
readonly PUBLIC: "public";
|
|
300
|
+
readonly PRIVATE: "private";
|
|
301
|
+
};
|
|
302
|
+
export type CommentAccessMode = (typeof CommentAccessMode)[keyof typeof CommentAccessMode];
|
|
297
303
|
export declare enum UnreadIndicatorMode {
|
|
298
304
|
MINIMAL = "minimal",
|
|
299
305
|
VERBOSE = "verbose"
|
|
@@ -306,19 +312,21 @@ export declare enum CommentCountType {
|
|
|
306
312
|
TOTAL = "total",
|
|
307
313
|
UNREAD = "unread"
|
|
308
314
|
}
|
|
309
|
-
export declare
|
|
310
|
-
ONLINE
|
|
311
|
-
OFFLINE
|
|
312
|
-
PENDING_INIT
|
|
313
|
-
PENDING_DATA
|
|
314
|
-
}
|
|
315
|
-
export
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
315
|
+
export declare const ServerConnectionState: {
|
|
316
|
+
readonly ONLINE: "online";
|
|
317
|
+
readonly OFFLINE: "offline";
|
|
318
|
+
readonly PENDING_INIT: "pendingInit";
|
|
319
|
+
readonly PENDING_DATA: "pendingData";
|
|
320
|
+
};
|
|
321
|
+
export type ServerConnectionState = (typeof ServerConnectionState)[keyof typeof ServerConnectionState];
|
|
322
|
+
export declare const ContactListScopeForOrganizationUsers: {
|
|
323
|
+
readonly ALL: "all";
|
|
324
|
+
readonly ORGANIZATION: "organization";
|
|
325
|
+
readonly ORGANIZATION_USER_GROUP: "organizationUserGroup";
|
|
326
|
+
readonly DOCUMENT: "document";
|
|
327
|
+
readonly FOLDER: "folder";
|
|
328
|
+
};
|
|
329
|
+
export type ContactListScopeForOrganizationUsers = (typeof ContactListScopeForOrganizationUsers)[keyof typeof ContactListScopeForOrganizationUsers];
|
|
322
330
|
export type RecorderMode = 'audio' | 'video' | 'screen' | 'all' | string;
|
|
323
331
|
export type RecorderType = 'audio' | 'video' | 'screen';
|
|
324
332
|
export type RecorderFileFormat = 'mp3' | 'mp4' | 'webm';
|
|
@@ -358,10 +366,11 @@ export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFir
|
|
|
358
366
|
export type NotificationPanelMode = 'popover' | 'sidebar';
|
|
359
367
|
export type SidebarActionButtonType = 'default' | 'toggle';
|
|
360
368
|
export type SidebarButtonCountType = 'default' | 'filter';
|
|
361
|
-
export declare
|
|
362
|
-
AND
|
|
363
|
-
OR
|
|
364
|
-
}
|
|
369
|
+
export declare const CommentSidebarSystemFiltersOperator: {
|
|
370
|
+
readonly AND: "and";
|
|
371
|
+
readonly OR: "or";
|
|
372
|
+
};
|
|
373
|
+
export type CommentSidebarSystemFiltersOperator = (typeof CommentSidebarSystemFiltersOperator)[keyof typeof CommentSidebarSystemFiltersOperator];
|
|
365
374
|
/**
|
|
366
375
|
* Type for notification settings accordion types
|
|
367
376
|
*/
|