@veltdev/types-dev 5.0.2-beta.109 → 5.0.2-beta.11
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 +1 -34
- package/app/models/data/attachment-resolver.data.model.d.ts +2 -2
- package/app/models/data/attachment.model.d.ts +0 -1
- package/app/models/data/autocomplete.data.model.d.ts +3 -4
- package/app/models/data/base-metadata.data.model.d.ts +0 -3
- package/app/models/data/comment-actions.data.model.d.ts +0 -12
- package/app/models/data/comment-annotation.data.model.d.ts +0 -52
- package/app/models/data/comment-events.data.model.d.ts +0 -24
- package/app/models/data/comment-resolver.data.model.d.ts +3 -3
- package/app/models/data/comment-sidebar-config.model.d.ts +0 -2
- package/app/models/data/config.data.model.d.ts +0 -26
- package/app/models/data/core-events.data.model.d.ts +0 -72
- package/app/models/data/crdt.data.model.d.ts +0 -51
- package/app/models/data/document-paths.data.model.d.ts +0 -1
- package/app/models/data/document.data.model.d.ts +0 -2
- package/app/models/data/live-state-events.data.model.d.ts +0 -6
- package/app/models/data/notification.model.d.ts +0 -24
- package/app/models/data/page-info.model.d.ts +0 -9
- package/app/models/data/presence-user.data.model.d.ts +0 -5
- package/app/models/data/provider.data.model.d.ts +0 -6
- package/app/models/data/reaction-resolver.data.model.d.ts +3 -3
- package/app/models/data/recorder-annotation.data.model.d.ts +0 -11
- package/app/models/data/recorder-events.data.model.d.ts +0 -3
- package/app/models/data/resolver.data.model.d.ts +0 -1
- package/app/models/data/user-resolver.data.model.d.ts +0 -2
- package/app/models/data/user.data.model.d.ts +1 -50
- package/app/models/element/comment-element.model.d.ts +0 -44
- package/app/models/element/crdt-element.model.d.ts +1 -88
- package/app/models/element/notification-element.model.d.ts +1 -15
- package/app/models/element/presence-element.model.d.ts +0 -25
- package/app/models/element/rewriter-element.model.d.ts +0 -20
- package/app/utils/constants.d.ts +0 -226
- package/app/utils/enums.d.ts +7 -40
- package/models.d.ts +0 -8
- package/package.json +1 -1
- package/types.d.ts +0 -3
- package/app/models/data/activity-resolver.data.model.d.ts +0 -27
- package/app/models/data/activity.data.model.d.ts +0 -181
- package/app/models/data/agent-suggestion.data.model.d.ts +0 -57
- package/app/models/data/notification-resolver.data.model.d.ts +0 -39
- package/app/models/data/recorder-resolver.data.model.d.ts +0 -58
- package/app/models/data/rewriter-events.data.model.d.ts +0 -44
- package/app/models/data/suggestion-events.data.model.d.ts +0 -57
- package/app/models/data/suggestion.data.model.d.ts +0 -267
- package/app/models/element/activity-element.model.d.ts +0 -33
- package/app/models/element/suggestion-element.model.d.ts +0 -180
- package/app/utils/console.d.ts +0 -25
- package/app/utils/page-info-store.d.ts +0 -29
|
@@ -150,17 +150,6 @@ export declare class RecorderAnnotation {
|
|
|
150
150
|
chunkUrls?: {
|
|
151
151
|
[key: number]: string;
|
|
152
152
|
};
|
|
153
|
-
/**
|
|
154
|
-
* Whether the recorder resolver is used for this annotation.
|
|
155
|
-
* Used by UI components to show loading states while resolver data is being fetched.
|
|
156
|
-
*/
|
|
157
|
-
isRecorderResolverUsed?: boolean;
|
|
158
|
-
/**
|
|
159
|
-
* Whether the real recording URL is available.
|
|
160
|
-
* Set to false when the annotation is first saved (URL is still a local blob),
|
|
161
|
-
* and true once the actual URL from storage is available after the async upload completes.
|
|
162
|
-
*/
|
|
163
|
-
isUrlAvailable?: boolean;
|
|
164
153
|
}
|
|
165
154
|
export interface RecorderAnnotationEditVersion {
|
|
166
155
|
from?: User;
|
|
@@ -4,8 +4,6 @@ export interface TranscriptionDoneEvent extends RecorderData {
|
|
|
4
4
|
}
|
|
5
5
|
export interface RecordingDoneEvent extends RecorderData {
|
|
6
6
|
}
|
|
7
|
-
export interface RecordingDoneLocalEvent extends RecorderData {
|
|
8
|
-
}
|
|
9
7
|
export interface RecordingDeleteEvent extends RecorderData {
|
|
10
8
|
}
|
|
11
9
|
export interface RecordingEditDoneEvent extends RecorderData {
|
|
@@ -37,7 +35,6 @@ export interface RecordingSaveInitiatedEvent {
|
|
|
37
35
|
export type RecorderEventTypesMap = {
|
|
38
36
|
[RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
|
|
39
37
|
[RecorderEventTypes.RECORDING_DONE]: RecordingDoneEvent;
|
|
40
|
-
[RecorderEventTypes.RECORDING_DONE_LOCAL]: RecordingDoneLocalEvent;
|
|
41
38
|
[RecorderEventTypes.RECORDING_EDIT_DONE]: RecordingEditDoneEvent;
|
|
42
39
|
[RecorderEventTypes.DELETE_RECORDING]: RecordingDeleteEvent;
|
|
43
40
|
[RecorderEventTypes.RECORDING_STARTED]: RecordingStartedEvent;
|
|
@@ -9,7 +9,6 @@ export interface ResolverConfig {
|
|
|
9
9
|
getRetryConfig?: RetryConfig;
|
|
10
10
|
resolveUsersConfig?: ResolveUsersConfig;
|
|
11
11
|
fieldsToRemove?: string[];
|
|
12
|
-
additionalFields?: string[];
|
|
13
12
|
getConfig?: ResolverEndpointConfig;
|
|
14
13
|
saveConfig?: ResolverEndpointConfig;
|
|
15
14
|
deleteConfig?: ResolverEndpointConfig;
|
|
@@ -33,7 +33,6 @@ export interface GetUserPermissionsResponse {
|
|
|
33
33
|
folders?: {
|
|
34
34
|
[folderId: string]: {
|
|
35
35
|
accessRole?: UserPermissionAccessRole;
|
|
36
|
-
accessType?: string;
|
|
37
36
|
expiresAt?: number;
|
|
38
37
|
error?: string;
|
|
39
38
|
errorCode?: UserPermissionAccessRoleResult;
|
|
@@ -50,7 +49,6 @@ export interface GetUserPermissionsResponse {
|
|
|
50
49
|
documents?: {
|
|
51
50
|
[documentId: string]: {
|
|
52
51
|
accessRole?: UserPermissionAccessRole;
|
|
53
|
-
accessType?: string;
|
|
54
52
|
expiresAt?: number;
|
|
55
53
|
error?: string;
|
|
56
54
|
errorCode?: UserPermissionAccessRoleResult;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SetDocumentsContext } from "./document.data.model";
|
|
2
|
-
import { ResolverEndpointConfig, ResolverResponse } from "./resolver.data.model";
|
|
3
2
|
import { UserContact } from "./user-contact.data.model";
|
|
4
3
|
import { UserPermissionAccessRole } from "./user-resolver.data.model";
|
|
5
4
|
export declare class User {
|
|
@@ -13,8 +12,6 @@ export declare class User {
|
|
|
13
12
|
* Default: Random avatar name.
|
|
14
13
|
*/
|
|
15
14
|
name?: string;
|
|
16
|
-
email_lowercase?: string;
|
|
17
|
-
name_lowercase?: string;
|
|
18
15
|
clientUserName?: string;
|
|
19
16
|
/**
|
|
20
17
|
* Your user's display picture URL.
|
|
@@ -113,7 +110,7 @@ export interface AuthRetryConfig {
|
|
|
113
110
|
retryDelay?: number;
|
|
114
111
|
}
|
|
115
112
|
export interface Context {
|
|
116
|
-
access
|
|
113
|
+
access: {
|
|
117
114
|
[key: string]: string | number;
|
|
118
115
|
};
|
|
119
116
|
accessFields?: Array<string>;
|
|
@@ -146,51 +143,6 @@ export interface VeltPermissionProvider {
|
|
|
146
143
|
isContextEnabled?: boolean;
|
|
147
144
|
revokeAccessOn?: RevokeAccessOn[];
|
|
148
145
|
forceRefresh?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* LOCAL-DEV ONLY. When `true`, the SDK resolves permissions in the browser
|
|
151
|
-
* (via {@link endpointConfig} or {@link resolvePermissions}) and relays the
|
|
152
|
-
* results to the backend, instead of relying on the server-to-server
|
|
153
|
-
* Real-Time Permission Provider. This lets a `localhost` permission endpoint
|
|
154
|
-
* be reached without an ngrok/Cloudflare tunnel during development.
|
|
155
|
-
*
|
|
156
|
-
* This flag is an ergonomic switch only — it is NOT a security boundary.
|
|
157
|
-
* The backend independently gates browser-resolved results to dev/test API
|
|
158
|
-
* keys; production keys always ignore them and fall back to the server-side
|
|
159
|
-
* provider. MUST NOT be relied on in production.
|
|
160
|
-
*/
|
|
161
|
-
dev?: boolean;
|
|
162
|
-
/**
|
|
163
|
-
* URL-based client-side resolver. When set (and {@link dev} is `true`), the
|
|
164
|
-
* browser POSTs `{ data: { requests } }` to `url` — byte-for-byte identical
|
|
165
|
-
* to what the server-side permission provider sends — and expects the same
|
|
166
|
-
* `{ data: PermissionResult[], success, statusCode }` response. Takes
|
|
167
|
-
* precedence over {@link resolvePermissions} when both are provided.
|
|
168
|
-
*/
|
|
169
|
-
endpointConfig?: ResolverEndpointConfig;
|
|
170
|
-
/**
|
|
171
|
-
* Callback-based client-side resolver. When set (and {@link dev} is `true`,
|
|
172
|
-
* and no {@link endpointConfig} URL is provided), it is invoked with the
|
|
173
|
-
* same `{ data: { requests } }` envelope and may return either a bare
|
|
174
|
-
* `PermissionResult[]` or a `ResolverResponse<PermissionResult[]>`.
|
|
175
|
-
*/
|
|
176
|
-
resolvePermissions?: (request: PermissionResolverRequest) => Promise<PermissionResult[] | ResolverResponse<PermissionResult[]>>;
|
|
177
|
-
/**
|
|
178
|
-
* Optional per-call timeout (ms) for the client-side resolver. When the
|
|
179
|
-
* resolver does not settle within this window the check fails closed (deny).
|
|
180
|
-
*/
|
|
181
|
-
resolveTimeout?: number;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* The request envelope handed to a client-side permission resolver
|
|
185
|
-
* ({@link VeltPermissionProvider.endpointConfig} URL body or
|
|
186
|
-
* {@link VeltPermissionProvider.resolvePermissions} callback argument). The
|
|
187
|
-
* shape mirrors the server-side permission provider request byte-for-byte so a
|
|
188
|
-
* customer's existing handler works unchanged.
|
|
189
|
-
*/
|
|
190
|
-
export interface PermissionResolverRequest {
|
|
191
|
-
data: {
|
|
192
|
-
requests: PermissionQuery[];
|
|
193
|
-
};
|
|
194
146
|
}
|
|
195
147
|
export declare enum PermissionResourceType {
|
|
196
148
|
FOLDER = "folder",
|
|
@@ -206,7 +158,6 @@ export interface PermissionQuery {
|
|
|
206
158
|
source: PermissionSource;
|
|
207
159
|
organizationId: string;
|
|
208
160
|
context?: Context | SetDocumentsContext;
|
|
209
|
-
parentFolderId?: string;
|
|
210
161
|
};
|
|
211
162
|
}
|
|
212
163
|
export interface PermissionResult {
|
|
@@ -503,16 +503,6 @@ export declare class CommentElement {
|
|
|
503
503
|
*/
|
|
504
504
|
public disableReactions: () => void;
|
|
505
505
|
|
|
506
|
-
/**
|
|
507
|
-
* To enable anonymous email mentions in comments
|
|
508
|
-
*/
|
|
509
|
-
public enableAnonymousEmail: () => void;
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* To disable anonymous email mentions in comments
|
|
513
|
-
*/
|
|
514
|
-
public disableAnonymousEmail: () => void;
|
|
515
|
-
|
|
516
506
|
/**
|
|
517
507
|
* To set allowed recordings in comments
|
|
518
508
|
* @param allowedRecordings "all", "none" or "audio", "video", "screen"
|
|
@@ -946,8 +936,6 @@ export declare class CommentElement {
|
|
|
946
936
|
* To disable collapsed comment
|
|
947
937
|
*/
|
|
948
938
|
public disableCollapsedComments: () => void;
|
|
949
|
-
public enableCollapsedRepliesPreview: () => void;
|
|
950
|
-
public disableCollapsedRepliesPreview: () => void;
|
|
951
939
|
|
|
952
940
|
/**
|
|
953
941
|
* To enable query params comments
|
|
@@ -1402,16 +1390,6 @@ export declare class CommentElement {
|
|
|
1402
1390
|
*/
|
|
1403
1391
|
public getComposerData: (request: GetComposerDataRequest) => ComposerTextChangeEvent | null;
|
|
1404
1392
|
|
|
1405
|
-
/**
|
|
1406
|
-
* To enable pin drag
|
|
1407
|
-
*/
|
|
1408
|
-
public enablePinDrag: () => void;
|
|
1409
|
-
|
|
1410
|
-
/**
|
|
1411
|
-
* To disable pin drag
|
|
1412
|
-
*/
|
|
1413
|
-
public disablePinDrag: () => void;
|
|
1414
|
-
|
|
1415
1393
|
constructor();
|
|
1416
1394
|
/**
|
|
1417
1395
|
* Subscribe to comments on the current document.
|
|
@@ -1861,16 +1839,6 @@ export declare class CommentElement {
|
|
|
1861
1839
|
*/
|
|
1862
1840
|
private _disableReactions;
|
|
1863
1841
|
|
|
1864
|
-
/**
|
|
1865
|
-
* To enable anonymous email mentions in comments
|
|
1866
|
-
*/
|
|
1867
|
-
private _enableAnonymousEmail;
|
|
1868
|
-
|
|
1869
|
-
/**
|
|
1870
|
-
* To disable anonymous email mentions in comments
|
|
1871
|
-
*/
|
|
1872
|
-
private _disableAnonymousEmail;
|
|
1873
|
-
|
|
1874
1842
|
/**
|
|
1875
1843
|
* To set allowed recordings in comments
|
|
1876
1844
|
* @param allowedRecordings "all", "none" or "audio", "video", "screen"
|
|
@@ -2301,8 +2269,6 @@ export declare class CommentElement {
|
|
|
2301
2269
|
* To disable collapsed comment
|
|
2302
2270
|
*/
|
|
2303
2271
|
private _disableCollapsedComments;
|
|
2304
|
-
private _enableCollapsedRepliesPreview;
|
|
2305
|
-
private _disableCollapsedRepliesPreview;
|
|
2306
2272
|
|
|
2307
2273
|
/**
|
|
2308
2274
|
* To enable query params comments
|
|
@@ -2785,14 +2751,4 @@ export declare class CommentElement {
|
|
|
2785
2751
|
* @param type 'dropdown' | 'checkbox'
|
|
2786
2752
|
*/
|
|
2787
2753
|
private _setAssignToType;
|
|
2788
|
-
|
|
2789
|
-
/**
|
|
2790
|
-
* To enable pin drag
|
|
2791
|
-
*/
|
|
2792
|
-
private _enablePinDrag;
|
|
2793
|
-
|
|
2794
|
-
/**
|
|
2795
|
-
* To disable pin drag
|
|
2796
|
-
*/
|
|
2797
|
-
private _disablePinDrag;
|
|
2798
2754
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { CrdtGetDataQuery,
|
|
2
|
+
import { CrdtGetDataQuery, CrdtGetVersionQuery, CrdtOnDataChangeQuery, CrdtOnPresenceChangeQuery, CrdtOnRegisteredUserChangeQuery, CrdtOnStateChangeQuery, CrdtRegisterSyncUserQuery, CrdtSetPresenceQuery, CrdtSaveVersionQuery, CrdtUpdateDataQuery, CrdtUpdateStateQuery } from "../data/crdt.data.model";
|
|
3
3
|
import { CrdtEventTypesMap } from "../data/crdt-events.data.model";
|
|
4
4
|
|
|
5
5
|
export declare class CrdtElement {
|
|
@@ -80,12 +80,6 @@ export declare class CrdtElement {
|
|
|
80
80
|
*/
|
|
81
81
|
getVersion: (getVersionQuery: CrdtGetVersionQuery) => Promise<any>;
|
|
82
82
|
|
|
83
|
-
/**
|
|
84
|
-
* Get all versions of a specific CRDT document
|
|
85
|
-
* @param id Document ID
|
|
86
|
-
*/
|
|
87
|
-
getVersions: (getVersionsQuery: CrdtGetVersionsQuery) => Promise<any>;
|
|
88
|
-
|
|
89
83
|
/**
|
|
90
84
|
* Enable webhook
|
|
91
85
|
*/
|
|
@@ -102,51 +96,6 @@ export declare class CrdtElement {
|
|
|
102
96
|
*/
|
|
103
97
|
setWebhookDebounceTime: (time: number) => void;
|
|
104
98
|
|
|
105
|
-
/**
|
|
106
|
-
* Push a lib0-encoded message to the unified message stream.
|
|
107
|
-
* Uses Firebase push() for chronologically-ordered keys.
|
|
108
|
-
* Carries both sync (type 0) and awareness (type 1) messages.
|
|
109
|
-
* @param pushMessageQuery - contains id, data (encoded bytes), yjsClientId (Y.Doc client ID), optional messageType and eventData
|
|
110
|
-
*/
|
|
111
|
-
pushMessage: (pushMessageQuery: CrdtPushMessageQuery) => Promise<void>;
|
|
112
|
-
/**
|
|
113
|
-
* Subscribe to the unified message stream for real-time sync.
|
|
114
|
-
* Emits each new message individually as it arrives (streaming pattern).
|
|
115
|
-
* Returns an unsubscribe function.
|
|
116
|
-
* @param onMessageQuery - contains id, callback, and optional afterTs for filtering
|
|
117
|
-
*/
|
|
118
|
-
onMessage: (onMessageQuery: CrdtOnMessageQuery) => () => void;
|
|
119
|
-
/**
|
|
120
|
-
* Fetch all messages after a given timestamp (one-time read).
|
|
121
|
-
* Used for message replay during initial load (y-redis pattern).
|
|
122
|
-
* @param getMessagesQuery - contains id and optional afterTs
|
|
123
|
-
*/
|
|
124
|
-
getMessages: (getMessagesQuery: CrdtGetMessagesQuery) => Promise<CrdtMessageData[]>;
|
|
125
|
-
/**
|
|
126
|
-
* Get the latest full-state snapshot for a document.
|
|
127
|
-
* Used as the baseline for message replay during initial load.
|
|
128
|
-
* @param getSnapshotQuery - contains id
|
|
129
|
-
*/
|
|
130
|
-
getSnapshot: (getSnapshotQuery: CrdtGetSnapshotQuery) => Promise<CrdtSnapshotData | null>;
|
|
131
|
-
/**
|
|
132
|
-
* Save a full-state snapshot (state + vector) for fast initial load.
|
|
133
|
-
* Called periodically to create checkpoints, enabling message pruning.
|
|
134
|
-
* @param saveSnapshotQuery - contains id, state (Y.Doc update), and vector (state vector)
|
|
135
|
-
*/
|
|
136
|
-
saveSnapshot: (saveSnapshotQuery: CrdtSaveSnapshotQuery) => Promise<void>;
|
|
137
|
-
/**
|
|
138
|
-
* Remove messages older than the given timestamp from the message stream.
|
|
139
|
-
* Called after saving a snapshot to keep the message stream bounded.
|
|
140
|
-
* @param pruneMessagesQuery - contains id and beforeTs
|
|
141
|
-
*/
|
|
142
|
-
pruneMessages: (pruneMessagesQuery: CrdtPruneMessagesQuery) => Promise<void>;
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* To set activity debounce time for batching CRDT edits (Default value is 10 minutes)
|
|
146
|
-
* @param time debounce time in milliseconds (minimum: 10 seconds)
|
|
147
|
-
*/
|
|
148
|
-
setActivityDebounceTime: (time: number) => void;
|
|
149
|
-
|
|
150
99
|
/**
|
|
151
100
|
* Subscribe to crdt actions
|
|
152
101
|
* @param action Action to subscribe to
|
|
@@ -239,36 +188,6 @@ export declare class CrdtElement {
|
|
|
239
188
|
*/
|
|
240
189
|
private _getVersions;
|
|
241
190
|
|
|
242
|
-
/**
|
|
243
|
-
* Push a message to the unified message stream
|
|
244
|
-
*/
|
|
245
|
-
private _pushMessage;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Subscribe to the unified message stream
|
|
249
|
-
*/
|
|
250
|
-
private _onMessage;
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Fetch all messages after a given timestamp
|
|
254
|
-
*/
|
|
255
|
-
private _getMessages;
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* Get the latest snapshot for a document
|
|
259
|
-
*/
|
|
260
|
-
private _getSnapshot;
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Save a full-state snapshot
|
|
264
|
-
*/
|
|
265
|
-
private _saveSnapshot;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Remove messages older than a given timestamp
|
|
269
|
-
*/
|
|
270
|
-
private _pruneMessages;
|
|
271
|
-
|
|
272
191
|
/**
|
|
273
192
|
* Enable webhook
|
|
274
193
|
*/
|
|
@@ -285,12 +204,6 @@ export declare class CrdtElement {
|
|
|
285
204
|
*/
|
|
286
205
|
private _setWebhookDebounceTime;
|
|
287
206
|
|
|
288
|
-
/**
|
|
289
|
-
* Set activity debounce time for batching CRDT edits
|
|
290
|
-
* @param time debounce time in milliseconds (minimum: 10 seconds)
|
|
291
|
-
*/
|
|
292
|
-
private _setActivityDebounceTime;
|
|
293
|
-
|
|
294
207
|
/**
|
|
295
208
|
* Subscribe to crdt actions
|
|
296
209
|
* @param action Action to subscribe to
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { GetNotificationsDataQuery, Notification, NotificationInitialSettingsConfig, NotificationSettingsConfig, NotificationTabConfig } from "../data/notification.model";
|
|
4
4
|
|
|
5
5
|
export declare class NotificationElement {
|
|
6
6
|
/**
|
|
@@ -128,16 +128,6 @@ export declare class NotificationElement {
|
|
|
128
128
|
*/
|
|
129
129
|
disableCurrentDocumentOnly: () => void;
|
|
130
130
|
|
|
131
|
-
/**
|
|
132
|
-
* Opt in to cross-organization "For You" notifications.
|
|
133
|
-
*/
|
|
134
|
-
enableCrossOrganization: (config?: CrossOrganizationConfig | null) => void;
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Opt out of cross-organization "For You" notifications.
|
|
138
|
-
*/
|
|
139
|
-
disableCrossOrganization: () => void;
|
|
140
|
-
|
|
141
131
|
constructor();
|
|
142
132
|
|
|
143
133
|
/**
|
|
@@ -264,8 +254,4 @@ export declare class NotificationElement {
|
|
|
264
254
|
* To disable current document only
|
|
265
255
|
*/
|
|
266
256
|
private _disableCurrentDocumentOnly;
|
|
267
|
-
|
|
268
|
-
private _enableCrossOrganization;
|
|
269
|
-
|
|
270
|
-
private _disableCrossOrganization;
|
|
271
257
|
}
|
|
@@ -50,21 +50,6 @@ export declare class PresenceElement {
|
|
|
50
50
|
* Subscribe to presence events
|
|
51
51
|
*/
|
|
52
52
|
on: <T extends keyof PresenceEventTypesMap>(action: T) => Observable<PresenceEventTypesMap[T]>;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Add a custom user to the presence list (e.g., an AI agent).
|
|
56
|
-
* The user will appear in presence alongside real users.
|
|
57
|
-
* @param request Object containing user data with at least userId required.
|
|
58
|
-
*/
|
|
59
|
-
addUser: (request: { user: Partial<PresenceUser>, localOnly?: boolean }) => void;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Remove a previously added custom user from the presence list.
|
|
63
|
-
* @param request Object containing user data with at least userId required, and optional localOnly flag.
|
|
64
|
-
* @param request.localOnly If true, user is only removed locally (not removed from DB). Default: false.
|
|
65
|
-
*/
|
|
66
|
-
removeUser: (request: { user: Partial<PresenceUser>, localOnly?: boolean }) => void;
|
|
67
|
-
|
|
68
53
|
constructor();
|
|
69
54
|
/**
|
|
70
55
|
* Subscribe to a list of all online users who are either active or inactive on the current document.
|
|
@@ -110,14 +95,4 @@ export declare class PresenceElement {
|
|
|
110
95
|
* Subscribe to presence events
|
|
111
96
|
*/
|
|
112
97
|
private _on;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Add a custom user to the presence list
|
|
116
|
-
*/
|
|
117
|
-
private _addUser;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Remove a custom user from the presence list
|
|
121
|
-
*/
|
|
122
|
-
private _removeUser;
|
|
123
98
|
}
|
|
@@ -9,16 +9,6 @@ export declare class RewriterElement {
|
|
|
9
9
|
* To disable rewriter feature
|
|
10
10
|
*/
|
|
11
11
|
disableRewriter: () => void;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* To enable the default rewriter UI on text selection
|
|
15
|
-
*/
|
|
16
|
-
enableDefaultUI: () => void;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* To disable the default rewriter UI on text selection
|
|
20
|
-
*/
|
|
21
|
-
disableDefaultUI: () => void;
|
|
22
12
|
constructor();
|
|
23
13
|
|
|
24
14
|
/**
|
|
@@ -30,14 +20,4 @@ export declare class RewriterElement {
|
|
|
30
20
|
* To disable rewriter feature
|
|
31
21
|
*/
|
|
32
22
|
private _disableRewriter;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* To enable the default rewriter UI on text selection
|
|
36
|
-
*/
|
|
37
|
-
private _enableDefaultUI;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* To disable the default rewriter UI on text selection
|
|
41
|
-
*/
|
|
42
|
-
private _disableDefaultUI;
|
|
43
23
|
}
|