@veltdev/types-dev 4.5.0-beta.186 → 4.5.0-beta.19
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 +8 -62
- package/app/models/data/button.data.model.d.ts +0 -2
- package/app/models/data/comment-actions.data.model.d.ts +0 -7
- package/app/models/data/comment-annotation.data.model.d.ts +0 -10
- package/app/models/data/comment-events.data.model.d.ts +0 -5
- package/app/models/data/comment-resolver.data.model.d.ts +0 -19
- package/app/models/data/comment-sidebar-config.model.d.ts +0 -26
- package/app/models/data/comment.data.model.d.ts +0 -1
- package/app/models/data/core-events.data.model.d.ts +0 -9
- package/app/models/data/custom-filter.data.model.d.ts +0 -8
- package/app/models/data/document-paths.data.model.d.ts +0 -13
- package/app/models/data/document.data.model.d.ts +0 -2
- package/app/models/data/location.model.d.ts +0 -10
- package/app/models/data/media-preview-config.data.model.d.ts +0 -2
- package/app/models/data/multi-thread.data.model.d.ts +0 -2
- package/app/models/data/notification.model.d.ts +1 -23
- package/app/models/data/presence-events.data.model.d.ts +0 -8
- package/app/models/data/reaction-resolver.data.model.d.ts +2 -4
- package/app/models/data/recorder-annotation.data.model.d.ts +0 -3
- package/app/models/data/recorder-events.data.model.d.ts +0 -29
- package/app/models/data/recorder.model.d.ts +8 -10
- package/app/models/data/resolver.data.model.d.ts +0 -7
- package/app/models/data/user-iam.data.model.d.ts +0 -6
- package/app/models/data/user-resolver.data.model.d.ts +0 -2
- package/app/models/data/user.data.model.d.ts +0 -10
- package/app/models/element/comment-element.model.d.ts +13 -148
- package/app/models/element/notification-element.model.d.ts +3 -103
- package/app/models/element/presence-element.model.d.ts +1 -15
- package/app/models/element/recorder-element.model.d.ts +159 -239
- package/app/utils/constants.d.ts +1 -45
- package/app/utils/enums.d.ts +2 -26
- package/models.d.ts +0 -4
- package/package.json +1 -1
- package/types.d.ts +0 -1
- package/app/models/data/crdt.data.model.d.ts +0 -59
- package/app/models/data/encryption-provider.data.model.d.ts +0 -12
- package/app/models/data/notifications-events.data.model.d.ts +0 -9
- package/app/models/data/presence-actions.data.model.d.ts +0 -5
- package/app/models/element/crdt-element.model.d.ts +0 -166
|
@@ -99,13 +99,3 @@ export declare class Options {
|
|
|
99
99
|
*/
|
|
100
100
|
forceReset?: boolean;
|
|
101
101
|
}
|
|
102
|
-
export interface AuthRetryConfig {
|
|
103
|
-
retryCount?: number;
|
|
104
|
-
retryDelay?: number;
|
|
105
|
-
}
|
|
106
|
-
export interface VeltAuthProvider {
|
|
107
|
-
user: User;
|
|
108
|
-
options?: Options;
|
|
109
|
-
retryConfig?: AuthRetryConfig;
|
|
110
|
-
generateToken?: () => Promise<string>;
|
|
111
|
-
}
|
|
@@ -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, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, GetLinkEvent, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent, GetCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, FetchCommentAnnotationsResponse
|
|
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, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, CommentRequestQuery, CommentRequestQuery, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, GetAttachmentRequest, GetCommentRequest, GetLinkRequest, GetRecordingRequest, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationRequest, ToggleReactionRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest, FetchCommentAnnotationsRequest
|
|
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 { CommentSidebarSystemFiltersOperator
|
|
12
|
+
import { CommentSidebarSystemFiltersOperator } from "../../utils/enums";
|
|
13
13
|
|
|
14
14
|
export declare class CommentElement {
|
|
15
15
|
/**
|
|
@@ -126,7 +126,7 @@ export declare class CommentElement {
|
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* Subscribe to comment mode change.
|
|
129
|
-
*
|
|
129
|
+
*
|
|
130
130
|
* Returns Observable<boolean>.
|
|
131
131
|
*/
|
|
132
132
|
onCommentModeChange: () => Observable<boolean>;
|
|
@@ -278,7 +278,7 @@ export declare class CommentElement {
|
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* @description Sets custom status filters
|
|
281
|
-
* @param statuses
|
|
281
|
+
* @param statuses
|
|
282
282
|
*/
|
|
283
283
|
setCustomStatus: (statuses: CustomStatus[]) => void;
|
|
284
284
|
|
|
@@ -326,7 +326,7 @@ export declare class CommentElement {
|
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* @description Sets the comment context provider
|
|
329
|
-
* @param provider
|
|
329
|
+
* @param provider
|
|
330
330
|
*/
|
|
331
331
|
public setContextProvider: (provider: (documentId: string, location?: any) => any) => void;
|
|
332
332
|
|
|
@@ -397,14 +397,14 @@ export declare class CommentElement {
|
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
399
|
* To get documentId, location and set context data when comment is added.
|
|
400
|
-
*
|
|
400
|
+
*
|
|
401
401
|
* @legacy Use `AddCommentAnnotationEvent` instead
|
|
402
402
|
*/
|
|
403
403
|
public onCommentAdd: () => Observable<CommentAddEventData>;
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
406
|
* To get data when comment is updated.
|
|
407
|
-
*
|
|
407
|
+
*
|
|
408
408
|
* @legacy Use action specific events instead
|
|
409
409
|
*/
|
|
410
410
|
public onCommentUpdate: () => Observable<CommentUpdateEventData>;
|
|
@@ -791,28 +791,6 @@ export declare class CommentElement {
|
|
|
791
791
|
*/
|
|
792
792
|
public disableMultiThread: () => void;
|
|
793
793
|
|
|
794
|
-
/**
|
|
795
|
-
* To enable group multiple match
|
|
796
|
-
* @deprecated Use enableGroupMatchedComments instead
|
|
797
|
-
*/
|
|
798
|
-
public enableGroupMultipleMatch: () => void;
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* To disable group multiple match
|
|
802
|
-
* @deprecated Use disableGroupMatchedComments instead
|
|
803
|
-
*/
|
|
804
|
-
public disableGroupMultipleMatch: () => void;
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* To enable group matched comments
|
|
808
|
-
*/
|
|
809
|
-
public enableGroupMatchedComments: () => void;
|
|
810
|
-
|
|
811
|
-
/**
|
|
812
|
-
* To disable group matched comments
|
|
813
|
-
*/
|
|
814
|
-
public disableGroupMatchedComments: () => void;
|
|
815
|
-
|
|
816
794
|
/**
|
|
817
795
|
* To update context of comment annotation
|
|
818
796
|
* @param annotationId Comment annotation id
|
|
@@ -953,11 +931,6 @@ export declare class CommentElement {
|
|
|
953
931
|
*/
|
|
954
932
|
public addCommentAnnotation: (request: AddCommentAnnotationRequest) => Promise<AddCommentAnnotationEvent | null>;
|
|
955
933
|
|
|
956
|
-
/**
|
|
957
|
-
* To publish comment annotation
|
|
958
|
-
*/
|
|
959
|
-
public publishCommentAnnotation: (request: PublishCommentAnnotationRequest) => Promise<PublishCommentAnnotationEvent | null>;
|
|
960
|
-
|
|
961
934
|
/**
|
|
962
935
|
* To approve comment annotation
|
|
963
936
|
*/
|
|
@@ -1167,47 +1140,6 @@ export declare class CommentElement {
|
|
|
1167
1140
|
* To disable draft mode
|
|
1168
1141
|
*/
|
|
1169
1142
|
public disableDraftMode: () => void;
|
|
1170
|
-
|
|
1171
|
-
/**
|
|
1172
|
-
* To enable filter comments on dom
|
|
1173
|
-
*/
|
|
1174
|
-
public enableFilterCommentsOnDom: () => void;
|
|
1175
|
-
|
|
1176
|
-
/**
|
|
1177
|
-
* To disable filter comments on dom
|
|
1178
|
-
*/
|
|
1179
|
-
public disableFilterCommentsOnDom: () => void;
|
|
1180
|
-
|
|
1181
|
-
/**
|
|
1182
|
-
* To enable reply avatars
|
|
1183
|
-
*/
|
|
1184
|
-
public enableReplyAvatars: () => void;
|
|
1185
|
-
|
|
1186
|
-
/**
|
|
1187
|
-
* To disable reply avatars
|
|
1188
|
-
*/
|
|
1189
|
-
public disableReplyAvatars: () => void;
|
|
1190
|
-
|
|
1191
|
-
/**
|
|
1192
|
-
* To set max reply avatars
|
|
1193
|
-
*/
|
|
1194
|
-
public setMaxReplyAvatars: (maxReplyAvatars: number) => void;
|
|
1195
|
-
|
|
1196
|
-
/**
|
|
1197
|
-
* To set sidebar button count type
|
|
1198
|
-
*/
|
|
1199
|
-
public setSidebarButtonCountType: (type: SidebarButtonCountType) => void;
|
|
1200
|
-
|
|
1201
|
-
/**
|
|
1202
|
-
* To enable filter ghost comments in sidebar
|
|
1203
|
-
*/
|
|
1204
|
-
public enableFilterGhostCommentsInSidebar: () => void;
|
|
1205
|
-
|
|
1206
|
-
/**
|
|
1207
|
-
* To disable filter ghost comments in sidebar
|
|
1208
|
-
*/
|
|
1209
|
-
public disableFilterGhostCommentsInSidebar: () => void;
|
|
1210
|
-
|
|
1211
1143
|
constructor();
|
|
1212
1144
|
/**
|
|
1213
1145
|
* Subscribe to comments on the current document.
|
|
@@ -1323,7 +1255,7 @@ export declare class CommentElement {
|
|
|
1323
1255
|
|
|
1324
1256
|
/**
|
|
1325
1257
|
* Subscribe to comment mode change.
|
|
1326
|
-
*
|
|
1258
|
+
*
|
|
1327
1259
|
* Returns Observable<boolean>.
|
|
1328
1260
|
*/
|
|
1329
1261
|
private _onCommentModeChange;
|
|
@@ -1470,7 +1402,7 @@ export declare class CommentElement {
|
|
|
1470
1402
|
|
|
1471
1403
|
/**
|
|
1472
1404
|
* @description Sets custom status filters
|
|
1473
|
-
* @param statuses
|
|
1405
|
+
* @param statuses
|
|
1474
1406
|
*/
|
|
1475
1407
|
private _setCustomStatus;
|
|
1476
1408
|
|
|
@@ -1518,7 +1450,7 @@ export declare class CommentElement {
|
|
|
1518
1450
|
|
|
1519
1451
|
/**
|
|
1520
1452
|
* @description Sets the comment context provider
|
|
1521
|
-
* @param provider
|
|
1453
|
+
* @param provider
|
|
1522
1454
|
*/
|
|
1523
1455
|
private _setContextProvider;
|
|
1524
1456
|
|
|
@@ -1763,7 +1695,7 @@ export declare class CommentElement {
|
|
|
1763
1695
|
*/
|
|
1764
1696
|
private _disableRecordingSummary;
|
|
1765
1697
|
|
|
1766
|
-
/**
|
|
1698
|
+
/**
|
|
1767
1699
|
* To enable recording transcription
|
|
1768
1700
|
*/
|
|
1769
1701
|
private _enableRecordingTranscription;
|
|
@@ -1978,28 +1910,6 @@ export declare class CommentElement {
|
|
|
1978
1910
|
*/
|
|
1979
1911
|
private _disableMultiThread;
|
|
1980
1912
|
|
|
1981
|
-
/**
|
|
1982
|
-
* To enable group multiple match
|
|
1983
|
-
* @deprecated Use enableGroupMatchedComments instead
|
|
1984
|
-
*/
|
|
1985
|
-
private _enableGroupMultipleMatch;
|
|
1986
|
-
|
|
1987
|
-
/**
|
|
1988
|
-
* To disable group multiple match
|
|
1989
|
-
* @deprecated Use disableGroupMatchedComments instead
|
|
1990
|
-
*/
|
|
1991
|
-
private _disableGroupMultipleMatch;
|
|
1992
|
-
|
|
1993
|
-
/**
|
|
1994
|
-
* To enable group matched comments
|
|
1995
|
-
*/
|
|
1996
|
-
private _enableGroupMatchedComments;
|
|
1997
|
-
|
|
1998
|
-
/**
|
|
1999
|
-
* To disable group matched comments
|
|
2000
|
-
*/
|
|
2001
|
-
private _disableGroupMatchedComments;
|
|
2002
|
-
|
|
2003
1913
|
/**
|
|
2004
1914
|
* To update context of comment annotation
|
|
2005
1915
|
* @param annotationId Comment annotation id
|
|
@@ -2058,7 +1968,7 @@ export declare class CommentElement {
|
|
|
2058
1968
|
*/
|
|
2059
1969
|
private _disableQueryParamsComments;
|
|
2060
1970
|
|
|
2061
|
-
/**
|
|
1971
|
+
/**
|
|
2062
1972
|
* To enable comment sidebar action button click
|
|
2063
1973
|
*/
|
|
2064
1974
|
private _onCommentSidebarActionButtonClick;
|
|
@@ -2141,11 +2051,6 @@ export declare class CommentElement {
|
|
|
2141
2051
|
*/
|
|
2142
2052
|
private _addCommentAnnotation;
|
|
2143
2053
|
|
|
2144
|
-
/**
|
|
2145
|
-
* To publish comment annotation
|
|
2146
|
-
*/
|
|
2147
|
-
private _publishCommentAnnotation;
|
|
2148
|
-
|
|
2149
2054
|
/**
|
|
2150
2055
|
* To approve comment annotation
|
|
2151
2056
|
*/
|
|
@@ -2355,44 +2260,4 @@ export declare class CommentElement {
|
|
|
2355
2260
|
* To disable draft mode
|
|
2356
2261
|
*/
|
|
2357
2262
|
private _disableDraftMode;
|
|
2358
|
-
|
|
2359
|
-
/**
|
|
2360
|
-
* To enable filter comments on dom
|
|
2361
|
-
*/
|
|
2362
|
-
private _enableFilterCommentsOnDom;
|
|
2363
|
-
|
|
2364
|
-
/**
|
|
2365
|
-
* To disable filter comments on dom
|
|
2366
|
-
*/
|
|
2367
|
-
private _disableFilterCommentsOnDom;
|
|
2368
|
-
|
|
2369
|
-
/**
|
|
2370
|
-
* To enable reply avatars
|
|
2371
|
-
*/
|
|
2372
|
-
private _enableReplyAvatars;
|
|
2373
|
-
|
|
2374
|
-
/**
|
|
2375
|
-
* To disable reply avatars
|
|
2376
|
-
*/
|
|
2377
|
-
private _disableReplyAvatars;
|
|
2378
|
-
|
|
2379
|
-
/**
|
|
2380
|
-
* To set max reply avatars
|
|
2381
|
-
*/
|
|
2382
|
-
private _setMaxReplyAvatars;
|
|
2383
|
-
|
|
2384
|
-
/**
|
|
2385
|
-
* To set sidebar button count type
|
|
2386
|
-
*/
|
|
2387
|
-
private _setSidebarButtonCountType;
|
|
2388
|
-
|
|
2389
|
-
/**
|
|
2390
|
-
* To enable filter ghost comments in sidebar
|
|
2391
|
-
*/
|
|
2392
|
-
private _enableFilterGhostCommentsInSidebar;
|
|
2393
|
-
|
|
2394
|
-
/**
|
|
2395
|
-
* To disable filter ghost comments in sidebar
|
|
2396
|
-
*/
|
|
2397
|
-
private _disableFilterGhostCommentsInSidebar;
|
|
2398
2263
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Notification, NotificationTabConfig } from "../data/notification.model";
|
|
4
4
|
|
|
5
5
|
export declare class NotificationElement {
|
|
6
6
|
/**
|
|
@@ -21,7 +21,7 @@ export declare class NotificationElement {
|
|
|
21
21
|
/**
|
|
22
22
|
* To get notifications data
|
|
23
23
|
*/
|
|
24
|
-
getNotificationsData: (
|
|
24
|
+
getNotificationsData: () => Observable<Notification[] | null>;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* To set max days for notification history
|
|
@@ -58,56 +58,6 @@ export declare class NotificationElement {
|
|
|
58
58
|
*/
|
|
59
59
|
markNotificationAsReadById: (notificationId: string) => void;
|
|
60
60
|
|
|
61
|
-
/**
|
|
62
|
-
* To set settings
|
|
63
|
-
*/
|
|
64
|
-
setSettings: (config: NotificationSettingsConfig) => void;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* To get settings
|
|
68
|
-
*/
|
|
69
|
-
getSettings: () => Observable<NotificationSettingsConfig | null>;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* To mute all notifications
|
|
73
|
-
*/
|
|
74
|
-
muteAllNotifications: () => void;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* To enable settings
|
|
78
|
-
*/
|
|
79
|
-
enableSettings: () => void;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* To disable settings
|
|
83
|
-
*/
|
|
84
|
-
disableSettings: () => void;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* To enable self notifications
|
|
88
|
-
*/
|
|
89
|
-
enableSelfNotifications: () => void;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* To disable self notifications
|
|
93
|
-
*/
|
|
94
|
-
disableSelfNotifications: () => void;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* To set settings initial config
|
|
98
|
-
*/
|
|
99
|
-
setSettingsInitialConfig: (settings: NotificationInitialSettingsConfig[]) => void;
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* To open notifications panel
|
|
103
|
-
*/
|
|
104
|
-
openNotificationsPanel: () => void;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* To close notifications panel
|
|
108
|
-
*/
|
|
109
|
-
closeNotificationsPanel: () => void;
|
|
110
|
-
|
|
111
61
|
constructor();
|
|
112
62
|
|
|
113
63
|
/**
|
|
@@ -164,54 +114,4 @@ export declare class NotificationElement {
|
|
|
164
114
|
* To mark notification as read by id
|
|
165
115
|
*/
|
|
166
116
|
private _markNotificationAsReadById;
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* To set settings
|
|
170
|
-
*/
|
|
171
|
-
private _setSettings;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* To get settings
|
|
175
|
-
*/
|
|
176
|
-
private _getSettings;
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* To mute all notifications
|
|
180
|
-
*/
|
|
181
|
-
private _muteAllNotifications;
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* To enable settings
|
|
185
|
-
*/
|
|
186
|
-
private _enableSettings;
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* To disable settings
|
|
190
|
-
*/
|
|
191
|
-
private _disableSettings;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* To enable self notifications
|
|
195
|
-
*/
|
|
196
|
-
private _enableSelfNotifications;
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* To disable self notifications
|
|
200
|
-
*/
|
|
201
|
-
private _disableSelfNotifications;
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* To set settings initial config
|
|
205
|
-
*/
|
|
206
|
-
private _setSettingsInitialConfig;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* To open notifications panel
|
|
210
|
-
*/
|
|
211
|
-
private _openNotificationsPanel;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* To close notifications panel
|
|
215
|
-
*/
|
|
216
|
-
private _closeNotificationsPanel;
|
|
217
|
-
}
|
|
117
|
+
}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PresenceUser } from "../data/presence-user.data.model";
|
|
4
|
-
import {
|
|
5
|
-
import { PresenceRequestQuery } from "../data/presence-actions.data.model";
|
|
6
|
-
|
|
4
|
+
import { PresenceEventTypesMap } from "../data/presence-events.data.model";
|
|
7
5
|
export declare class PresenceElement {
|
|
8
6
|
|
|
9
7
|
/**
|
|
10
8
|
* Subscribe to a list of all online users who are either active or inactive on the current document.
|
|
11
9
|
*
|
|
12
10
|
* Returns Observable<PresenceUser[] | null>.
|
|
13
|
-
* @deprecated This method is deprecated. Use `getData` method instead.
|
|
14
11
|
*/
|
|
15
12
|
getOnlineUsersOnCurrentDocument: () => Observable<PresenceUser[] | null>;
|
|
16
13
|
|
|
@@ -41,11 +38,6 @@ export declare class PresenceElement {
|
|
|
41
38
|
*/
|
|
42
39
|
disableSelf: () => void;
|
|
43
40
|
|
|
44
|
-
/**
|
|
45
|
-
* To get the presence data
|
|
46
|
-
*/
|
|
47
|
-
getData: (query?: PresenceRequestQuery) => Observable<GetPresenceDataResponse>;
|
|
48
|
-
|
|
49
41
|
/**
|
|
50
42
|
* Subscribe to presence events
|
|
51
43
|
*/
|
|
@@ -55,7 +47,6 @@ export declare class PresenceElement {
|
|
|
55
47
|
* Subscribe to a list of all online users who are either active or inactive on the current document.
|
|
56
48
|
*
|
|
57
49
|
* Returns Observable<PresenceUser[] | null>.
|
|
58
|
-
* @deprecated This method is deprecated. Use `getData` method instead.
|
|
59
50
|
*/
|
|
60
51
|
private _getOnlineUsersOnCurrentDocument;
|
|
61
52
|
|
|
@@ -86,11 +77,6 @@ export declare class PresenceElement {
|
|
|
86
77
|
*/
|
|
87
78
|
private _disableSelf;
|
|
88
79
|
|
|
89
|
-
/**
|
|
90
|
-
* To get the presence data
|
|
91
|
-
*/
|
|
92
|
-
private _getData;
|
|
93
|
-
|
|
94
80
|
/**
|
|
95
81
|
* Subscribe to presence events
|
|
96
82
|
*/
|