@veltdev/types-dev 4.0.0-beta.131 → 4.0.0-beta.132
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.
|
@@ -38,7 +38,7 @@ export declare class Snippyly {
|
|
|
38
38
|
* Tell us who the currently logged in user is.
|
|
39
39
|
*
|
|
40
40
|
* Call whenever the user is updated: signs in, signs out, signs up etc.
|
|
41
|
-
* @deprecated This method is deprecated
|
|
41
|
+
* @deprecated This method is deprecated.
|
|
42
42
|
*/
|
|
43
43
|
updateUser: (user: User) => void;
|
|
44
44
|
/**
|
|
@@ -50,7 +50,7 @@ export declare class Snippyly {
|
|
|
50
50
|
/**
|
|
51
51
|
* Tell us the unique ID of the current document/resource on which you want to enable collaboration.
|
|
52
52
|
* @param id unique document ID
|
|
53
|
-
* @deprecated This method is deprecated
|
|
53
|
+
* @deprecated This method is deprecated. Use `setDocuments` method instead.
|
|
54
54
|
*/
|
|
55
55
|
setDocumentId: (id: string) => void;
|
|
56
56
|
/**
|
|
@@ -59,7 +59,7 @@ export declare class Snippyly {
|
|
|
59
59
|
setDocuments: (documents: Document[], options?: SetDocumentsRequestOptions) => void;
|
|
60
60
|
/**
|
|
61
61
|
* To unset the document id
|
|
62
|
-
* @deprecated This method is deprecated
|
|
62
|
+
* @deprecated This method is deprecated. Use `unsetDocuments` method instead.
|
|
63
63
|
*/
|
|
64
64
|
unsetDocumentId: () => void;
|
|
65
65
|
/**
|
|
@@ -193,6 +193,12 @@ export declare class Snippyly {
|
|
|
193
193
|
* @param features List of features
|
|
194
194
|
*/
|
|
195
195
|
disableFeatures: (features: Array<FeatureType>) => void;
|
|
196
|
+
/**
|
|
197
|
+
* Add location to show comments, tags, recorders etc. for provided location also.
|
|
198
|
+
* @param location Location object
|
|
199
|
+
* @deprecated This method is deprecated and will be removed in next release. Use `setLocation` method with `appendLocation: true` instead.
|
|
200
|
+
*/
|
|
201
|
+
addLocation: (location: any) => any;
|
|
196
202
|
/**
|
|
197
203
|
* To set the dark mode of Velt components.
|
|
198
204
|
* @param value {boolean} true/false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.132",
|
|
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": [
|