@veltdev/types-dev 4.5.4-beta.1 → 4.5.4-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/models/data/attachment.model.d.ts +5 -0
- package/app/models/data/button.data.model.d.ts +1 -0
- package/app/models/data/heartbeat.data.model.d.ts +1 -1
- package/app/models/data/live-state-data-map.data.model.d.ts +7 -6
- package/app/models/element/comment-element.model.d.ts +21 -0
- package/app/models/element/live-state-sync-element.model.d.ts +20 -0
- package/app/models/element/notification-element.model.d.ts +20 -0
- package/app/models/element/recorder-element.model.d.ts +20 -0
- package/package.json +1 -1
|
@@ -11,11 +11,12 @@ export declare class LiveStateDataMap {
|
|
|
11
11
|
*/
|
|
12
12
|
default?: {
|
|
13
13
|
singleEditor?: SingleEditorLiveStateData;
|
|
14
|
-
autoSyncState?:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
autoSyncState?: LiveStateAutoSyncState;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare class LiveStateAutoSyncState {
|
|
18
|
+
current?: LiveStateData;
|
|
19
|
+
history?: {
|
|
20
|
+
[liveStateDataId: string]: LiveStateData;
|
|
20
21
|
};
|
|
21
22
|
}
|
|
@@ -10,6 +10,7 @@ export { ReactionMap } from '../data/reaction-annotation.data.model';
|
|
|
10
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, PublishCommentAnnotationRequest } 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
|
+
import { UploadFileData } from "../data/attachment.model";
|
|
13
14
|
|
|
14
15
|
export declare class CommentElement {
|
|
15
16
|
/**
|
|
@@ -1228,6 +1229,16 @@ export declare class CommentElement {
|
|
|
1228
1229
|
*/
|
|
1229
1230
|
public disableFullScreenInSidebar: () => void;
|
|
1230
1231
|
|
|
1232
|
+
/**
|
|
1233
|
+
* To set composer file attachments
|
|
1234
|
+
*/
|
|
1235
|
+
public setComposerFileAttachments: (data: UploadFileData) => void;
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* To set allowed file types
|
|
1239
|
+
*/
|
|
1240
|
+
public setAllowedFileTypes: (allowedFileTypes: string[]) => void;
|
|
1241
|
+
|
|
1231
1242
|
constructor();
|
|
1232
1243
|
/**
|
|
1233
1244
|
* Subscribe to comments on the current document.
|
|
@@ -2435,4 +2446,14 @@ export declare class CommentElement {
|
|
|
2435
2446
|
* To disable full screen in sidebar
|
|
2436
2447
|
*/
|
|
2437
2448
|
private _disableFullScreenInSidebar;
|
|
2449
|
+
|
|
2450
|
+
/**
|
|
2451
|
+
* To set composer file attachments
|
|
2452
|
+
*/
|
|
2453
|
+
private _setComposerFileAttachments;
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
* To set allowed file types
|
|
2457
|
+
*/
|
|
2458
|
+
private _setAllowedFileTypes;
|
|
2438
2459
|
}
|
|
@@ -147,6 +147,16 @@ export declare class LiveStateSyncElement {
|
|
|
147
147
|
*/
|
|
148
148
|
updateUserPresence: (userPresence: LiveStateSingleEditorExternalUserPresence) => void;
|
|
149
149
|
|
|
150
|
+
/**
|
|
151
|
+
* To enable heartbeat
|
|
152
|
+
*/
|
|
153
|
+
enableHeartbeat: () => void;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* To disable heartbeat
|
|
157
|
+
*/
|
|
158
|
+
disableHeartbeat: () => void;
|
|
159
|
+
|
|
150
160
|
/**
|
|
151
161
|
* Subscribe to live state events
|
|
152
162
|
*/
|
|
@@ -295,6 +305,16 @@ export declare class LiveStateSyncElement {
|
|
|
295
305
|
*/
|
|
296
306
|
private _updateUserPresence;
|
|
297
307
|
|
|
308
|
+
/**
|
|
309
|
+
* To enable heartbeat
|
|
310
|
+
*/
|
|
311
|
+
private _enableHeartbeat;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* To disable heartbeat
|
|
315
|
+
*/
|
|
316
|
+
private _disableHeartbeat;
|
|
317
|
+
|
|
298
318
|
/**
|
|
299
319
|
* Subscribe to live state events
|
|
300
320
|
*/
|
|
@@ -108,6 +108,16 @@ export declare class NotificationElement {
|
|
|
108
108
|
*/
|
|
109
109
|
closeNotificationsPanel: () => void;
|
|
110
110
|
|
|
111
|
+
/**
|
|
112
|
+
* To enable current document only
|
|
113
|
+
*/
|
|
114
|
+
enableCurrentDocumentOnly: () => void;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* To disable current document only
|
|
118
|
+
*/
|
|
119
|
+
disableCurrentDocumentOnly: () => void;
|
|
120
|
+
|
|
111
121
|
constructor();
|
|
112
122
|
|
|
113
123
|
/**
|
|
@@ -214,4 +224,14 @@ export declare class NotificationElement {
|
|
|
214
224
|
* To close notifications panel
|
|
215
225
|
*/
|
|
216
226
|
private _closeNotificationsPanel;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* To enable current document only
|
|
230
|
+
*/
|
|
231
|
+
private _enableCurrentDocumentOnly;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* To disable current document only
|
|
235
|
+
*/
|
|
236
|
+
private _disableCurrentDocumentOnly;
|
|
217
237
|
}
|
|
@@ -154,6 +154,16 @@ export declare class RecorderElement {
|
|
|
154
154
|
*/
|
|
155
155
|
disablePictureInPicture: () => void;
|
|
156
156
|
|
|
157
|
+
/**
|
|
158
|
+
* To enable playback on preview click
|
|
159
|
+
*/
|
|
160
|
+
enablePlaybackOnPreviewClick: () => void;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* To disable playback on preview click
|
|
164
|
+
*/
|
|
165
|
+
disablePlaybackOnPreviewClick: () => void;
|
|
166
|
+
|
|
157
167
|
constructor();
|
|
158
168
|
|
|
159
169
|
private _initRecording;
|
|
@@ -303,4 +313,14 @@ export declare class RecorderElement {
|
|
|
303
313
|
* To disable picture in picture
|
|
304
314
|
*/
|
|
305
315
|
private _disablePictureInPicture;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* To enable playback on preview click
|
|
319
|
+
*/
|
|
320
|
+
private _enablePlaybackOnPreviewClick;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* To disable playback on preview click
|
|
324
|
+
*/
|
|
325
|
+
private _disablePlaybackOnPreviewClick;
|
|
306
326
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "4.5.4-beta.
|
|
3
|
+
"version": "4.5.4-beta.11",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|