@veltdev/sdk-staging 2.0.65 → 2.0.66
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.
|
@@ -22,6 +22,7 @@ import { AutocompleteElement } from "../models/element/autocomplete-element.mode
|
|
|
22
22
|
import { TagElement } from "../models/element/tag-element.model";
|
|
23
23
|
import { FeatureType } from "../utils/enums";
|
|
24
24
|
import { UserContact } from "../models/data/user-contact.data.model";
|
|
25
|
+
import { DocumentMetadata } from "../models/data/document-metadata.model";
|
|
25
26
|
|
|
26
27
|
export declare class Snippyly {
|
|
27
28
|
constructor();
|
|
@@ -34,6 +35,12 @@ export declare class Snippyly {
|
|
|
34
35
|
* @deprecated This method is deprecated and will be removed in next release.
|
|
35
36
|
*/
|
|
36
37
|
updateUser: (user: User) => void;
|
|
38
|
+
/**
|
|
39
|
+
* Tell us the unique ID of the current document/resource on which you want to enable collaboration.
|
|
40
|
+
* @param id unique document ID
|
|
41
|
+
* @param documentMetadata Document Metadata
|
|
42
|
+
*/
|
|
43
|
+
setDocument: (id: string, documentMetadata?: DocumentMetadata) => void;
|
|
37
44
|
/**
|
|
38
45
|
* Tell us the unique ID of the current document/resource on which you want to enable collaboration.
|
|
39
46
|
* @param id unique document ID
|
|
@@ -10,6 +10,10 @@ export declare class DocumentMetadata {
|
|
|
10
10
|
* Document id provided by client
|
|
11
11
|
*/
|
|
12
12
|
clientDocumentId?: string | number;
|
|
13
|
+
/**
|
|
14
|
+
* Document name
|
|
15
|
+
*/
|
|
16
|
+
documentName?: string;
|
|
13
17
|
/**
|
|
14
18
|
* Page metadata
|
|
15
19
|
*/
|
|
@@ -24,4 +28,5 @@ export declare class DocumentMetadata {
|
|
|
24
28
|
* Document creator
|
|
25
29
|
*/
|
|
26
30
|
creator?: User;
|
|
31
|
+
[key: string]: any;
|
|
27
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.66",
|
|
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": [
|