@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.
@@ -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
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imbricate/core",
3
3
  "main": "index.js",
4
- "version": "3.1.1",
4
+ "version": "3.1.2",
5
5
  "description": "Imbricate Core, Notebook for Engineers",
6
6
  "repository": {
7
7
  "type": "git",