@imbricate/core 3.1.1 → 3.1.2
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/document/interface.d.ts +4 -6
- package/package.json +1 -1
package/document/interface.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export interface IImbricateDocument {
|
|
|
10
10
|
* Unique identifier of the database
|
|
11
11
|
*/
|
|
12
12
|
readonly uniqueIdentifier: string;
|
|
13
|
+
/**
|
|
14
|
+
* Properties of the document
|
|
15
|
+
*/
|
|
16
|
+
readonly properties: DocumentProperties;
|
|
13
17
|
/**
|
|
14
18
|
* Update a property from the document
|
|
15
19
|
*
|
|
@@ -35,12 +39,6 @@ export interface IImbricateDocument {
|
|
|
35
39
|
* Call `addEditRecords` to add the edit records manually.
|
|
36
40
|
*/
|
|
37
41
|
putProperties(properties: DocumentProperties, noEditRecord?: boolean): PromiseLike<DocumentEditRecord[]>;
|
|
38
|
-
/**
|
|
39
|
-
* Get properties from the document
|
|
40
|
-
*
|
|
41
|
-
* @returns a promise of the properties of the document
|
|
42
|
-
*/
|
|
43
|
-
getProperties(): PromiseLike<DocumentProperties>;
|
|
44
42
|
/**
|
|
45
43
|
* Add edit records to the document, optional
|
|
46
44
|
* This method is optional, if not implemented, means the origin
|