@veltdev/types-dev 4.7.1-beta.9 → 5.0.0-beta.1
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 +0 -5
- package/app/models/data/custom-filter.data.model.d.ts +2 -0
- package/app/models/element/comment-element.model.d.ts +0 -20
- package/app/models/element/crdt-element.model.d.ts +0 -47
- package/app/models/element/selection-element.model.d.ts +0 -12
- package/app/utils/constants.d.ts +0 -10
- package/package.json +1 -1
|
@@ -305,11 +305,6 @@ export declare class Snippyly {
|
|
|
305
305
|
*/
|
|
306
306
|
getUserPermissions: (request?: GetUserPermissionsRequest) => Promise<GetUserPermissionsResponse>;
|
|
307
307
|
|
|
308
|
-
/**
|
|
309
|
-
* To get current user permissions.
|
|
310
|
-
*/
|
|
311
|
-
getCurrentUserPermissions: () => Observable<GetUserPermissionsResponse | null>;
|
|
312
|
-
|
|
313
308
|
/**
|
|
314
309
|
* To check if plan is expired or not.
|
|
315
310
|
*/
|
|
@@ -1269,16 +1269,6 @@ export declare class CommentElement {
|
|
|
1269
1269
|
*/
|
|
1270
1270
|
public disableScreenshot: () => void;
|
|
1271
1271
|
|
|
1272
|
-
/**
|
|
1273
|
-
* To enable paginated contact list
|
|
1274
|
-
*/
|
|
1275
|
-
public enablePaginatedContactList: () => void;
|
|
1276
|
-
|
|
1277
|
-
/**
|
|
1278
|
-
* To disable paginated contact list
|
|
1279
|
-
*/
|
|
1280
|
-
public disablePaginatedContactList: () => void;
|
|
1281
|
-
|
|
1282
1272
|
constructor();
|
|
1283
1273
|
/**
|
|
1284
1274
|
* Subscribe to comments on the current document.
|
|
@@ -2526,14 +2516,4 @@ export declare class CommentElement {
|
|
|
2526
2516
|
* To disable screenshot
|
|
2527
2517
|
*/
|
|
2528
2518
|
private _disableScreenshot;
|
|
2529
|
-
|
|
2530
|
-
/**
|
|
2531
|
-
* To enable paginated contact list
|
|
2532
|
-
*/
|
|
2533
|
-
private _enablePaginatedContactList;
|
|
2534
|
-
|
|
2535
|
-
/**
|
|
2536
|
-
* To disable paginated contact list
|
|
2537
|
-
*/
|
|
2538
|
-
private _disablePaginatedContactList;
|
|
2539
2519
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { CrdtGetDataQuery, CrdtGetVersionQuery, CrdtOnDataChangeQuery, CrdtOnPresenceChangeQuery, CrdtOnRegisteredUserChangeQuery, CrdtOnStateChangeQuery, CrdtRegisterSyncUserQuery, CrdtSetPresenceQuery, CrdtSaveVersionQuery, CrdtUpdateDataQuery, CrdtUpdateStateQuery } from "../data/crdt.data.model";
|
|
3
|
-
import { CrdtEventTypesMap } from "../data/crdt-events.data.model";
|
|
4
3
|
|
|
5
4
|
export declare class CrdtElement {
|
|
6
5
|
/**
|
|
@@ -80,29 +79,6 @@ export declare class CrdtElement {
|
|
|
80
79
|
*/
|
|
81
80
|
getVersion: (getVersionQuery: CrdtGetVersionQuery) => Promise<any>;
|
|
82
81
|
|
|
83
|
-
/**
|
|
84
|
-
* Enable webhook
|
|
85
|
-
*/
|
|
86
|
-
enableWebhook: () => void;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Disable webhook
|
|
90
|
-
*/
|
|
91
|
-
disableWebhook: () => void;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Set webhook debounce time
|
|
95
|
-
* @param time debounce time in milliseconds
|
|
96
|
-
*/
|
|
97
|
-
setWebhookDebounceTime: (time: number) => void;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Subscribe to crdt actions
|
|
101
|
-
* @param action Action to subscribe to
|
|
102
|
-
* @returns Observable of the action
|
|
103
|
-
*/
|
|
104
|
-
on: <T extends keyof CrdtEventTypesMap>(action: T) => Observable<CrdtEventTypesMap[T]>;
|
|
105
|
-
|
|
106
82
|
constructor();
|
|
107
83
|
|
|
108
84
|
/**
|
|
@@ -187,27 +163,4 @@ export declare class CrdtElement {
|
|
|
187
163
|
* @param id Document ID
|
|
188
164
|
*/
|
|
189
165
|
private _getVersions;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Enable webhook
|
|
193
|
-
*/
|
|
194
|
-
private _enableWebhook;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Disable webhook
|
|
198
|
-
*/
|
|
199
|
-
private _disableWebhook;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Set webhook debounce time
|
|
203
|
-
* @param time debounce time in milliseconds
|
|
204
|
-
*/
|
|
205
|
-
private _setWebhookDebounceTime;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Subscribe to crdt actions
|
|
209
|
-
* @param action Action to subscribe to
|
|
210
|
-
* @returns Observable of the action
|
|
211
|
-
*/
|
|
212
|
-
private _on;
|
|
213
166
|
}
|
|
@@ -56,12 +56,6 @@ export declare class SelectionElement {
|
|
|
56
56
|
*/
|
|
57
57
|
getLiveSelectionData: () => Observable<LiveSelectionData | null>;
|
|
58
58
|
|
|
59
|
-
/**
|
|
60
|
-
* To set inactivity time (Default value is 5 minutes)
|
|
61
|
-
* @param time inactivity time in milliseconds
|
|
62
|
-
*/
|
|
63
|
-
setInactivityTime: (time: number) => void;
|
|
64
|
-
|
|
65
59
|
constructor();
|
|
66
60
|
|
|
67
61
|
/**
|
|
@@ -118,10 +112,4 @@ export declare class SelectionElement {
|
|
|
118
112
|
* To get live selection data
|
|
119
113
|
*/
|
|
120
114
|
private _getLiveSelectionData;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* To set inactivity time (Default value is 5 minutes)
|
|
124
|
-
* @param time inactivity time in milliseconds
|
|
125
|
-
*/
|
|
126
|
-
private _setInactivityTime;
|
|
127
115
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -244,16 +244,6 @@ export declare class Constants {
|
|
|
244
244
|
VELT_WIREFRAME: string;
|
|
245
245
|
VELT_AUTOCOMPLETE: string;
|
|
246
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
247
|
VELT_COMMENT_COMPOSER: string;
|
|
258
248
|
VELT_SKELETON_LOADER: string;
|
|
259
249
|
VELT_SHADOW_DOM_INTERNAL: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-beta.1",
|
|
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": [
|