extraOptions |
@@ -693,7 +584,7 @@ the backend.
-CreateNoteExtraOptions
+CreateNoteParams
@@ -760,295 +651,7 @@ the backend.
Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
- object contains newly created entities note and branch
-
-
-
-
-
- -
- Type
-
- -
-
-Promise.<{note: Note, branch: Branch}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- createNoteAndRefresh(parentNoteId, title, contentopt, extraOptionsopt) → {Promise.<{note: Note, branch: Branch}>}
-
-
-
-
-
-
-
- Creates new note according to given params and force all connected clients to refresh their tree.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name |
-
-
- Type |
-
-
- Attributes |
-
-
-
- Default |
-
-
- Description |
-
-
-
-
-
-
-
-
- parentNoteId |
-
-
-
-
-
-string
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- |
-
-
- create new note under this parent |
-
-
-
-
-
-
- title |
-
-
-
-
-
-string
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- |
-
-
- |
-
-
-
-
-
-
- content |
-
-
-
-
-
-string
-
-
-
- |
-
-
-
-
- <optional>
-
-
-
-
-
- |
-
-
-
-
-
- ""
-
- |
-
-
- |
-
-
-
-
-
-
- extraOptions |
-
-
-
-
-
-CreateNoteExtraOptions
-
-
-
- |
-
-
-
-
- <optional>
-
-
-
-
-
- |
-
-
-
-
-
- {}
-
- |
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
@@ -1533,7 +1136,7 @@ the backend.
- Source:
@@ -1997,7 +1600,7 @@ the backend.
- Source:
@@ -2765,7 +2368,7 @@ if some action needs to happen on only one specific instance.
- Source:
@@ -3418,7 +3021,7 @@ if some action needs to happen on only one specific instance.
- Source:
@@ -3596,7 +3199,7 @@ if some action needs to happen on only one specific instance.
- Source:
@@ -3751,7 +3354,7 @@ if some action needs to happen on only one specific instance.
- Source:
@@ -3901,7 +3504,7 @@ if some action needs to happen on only one specific instance.
- Source:
@@ -4404,7 +4007,7 @@ This method looks similar to toggleNoteInParent() but differs because we're look
- Source:
@@ -4537,7 +4140,7 @@ This method looks similar to toggleNoteInParent() but differs because we're look
- Source:
@@ -4912,7 +4515,7 @@ transactional by default.
- Source:
diff --git a/docs/backend_api/Branch.html b/docs/backend_api/Branch.html
index bad86000e..dc7fe59aa 100644
--- a/docs/backend_api/Branch.html
+++ b/docs/backend_api/Branch.html
@@ -28,7 +28,7 @@
- Branch(branchId, noteId, parentNoteId, notePosition, prefix, isExpanded, isDeleted, utcDateModified, utcDateCreated)
+ Branch()
Branch represents note's placement in the tree - it's essentially pair of noteId and parentNoteId.
Each note can have multiple (at least one) branches, meaning it can be placed into multiple places in the tree.
@@ -46,7 +46,7 @@ Each note can have multiple (at least one) branches, meaning it can be placed in
- new Branch(branchId, noteId, parentNoteId, notePosition, prefix, isExpanded, isDeleted, utcDateModified, utcDateCreated)
+ new Branch()
@@ -61,10 +61,15 @@ Each note can have multiple (at least one) branches, meaning it can be placed in
- Parameters:
+
+
+
+
+ Properties:
+
-
+
@@ -296,8 +301,6 @@ Each note can have multiple (at least one) branches, meaning it can be placed in
-
-
diff --git a/docs/backend_api/Note.html b/docs/backend_api/Note.html
index 5f8d01cc5..e9a278742 100644
--- a/docs/backend_api/Note.html
+++ b/docs/backend_api/Note.html
@@ -224,6 +224,29 @@
+
+
+ contentLength |
+
+
+
+
+
+int
+
+
+
+ |
+
+
+
+
+
+ length of content |
+
+
+
+
isProtected |
@@ -419,7 +442,7 @@
- Source:
@@ -486,6 +509,108 @@
+ (async) addAttribute() → {Promise.<Attribute>}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Returns:
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise.<Attribute>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
(async) getAttribute(type, name) → {Promise.<Attribute>}
@@ -606,7 +731,7 @@
- Source:
@@ -773,7 +898,7 @@
- Source:
@@ -951,7 +1076,7 @@
- Source:
@@ -1057,7 +1182,7 @@
- Source:
@@ -1159,7 +1284,7 @@
- Source:
@@ -1265,7 +1390,7 @@
- Source:
@@ -1371,7 +1496,7 @@
- Source:
@@ -1473,7 +1598,7 @@
- Source:
@@ -1706,7 +1831,7 @@
- Source:
@@ -1904,7 +2029,7 @@
- Source:
@@ -2102,7 +2227,7 @@
- Source:
@@ -2204,7 +2329,7 @@
- Source:
@@ -2355,7 +2480,7 @@
- Source:
@@ -2522,7 +2647,7 @@
- Source:
@@ -2689,7 +2814,7 @@
- Source:
@@ -2844,7 +2969,7 @@
- Source:
@@ -2956,7 +3081,7 @@
- Source:
@@ -3058,7 +3183,7 @@
- Source:
@@ -3166,7 +3291,7 @@ This method can be significantly faster than the getAttribute()
- Source:
@@ -3274,7 +3399,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -3429,7 +3554,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -3596,7 +3721,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -3763,7 +3888,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -3918,7 +4043,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -4088,7 +4213,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -4239,7 +4364,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -4349,7 +4474,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -4451,7 +4576,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -4557,7 +4682,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -4735,7 +4860,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -4841,7 +4966,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -4996,7 +5121,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -5151,7 +5276,7 @@ This method can be significantly faster than the getAttributes()
- Source:
@@ -5262,7 +5387,7 @@ Cache is note instance scoped.
- Source:
@@ -5346,7 +5471,7 @@ Cache is note instance scoped.
- Source:
@@ -5452,7 +5577,7 @@ Cache is note instance scoped.
- Source:
@@ -5558,7 +5683,7 @@ Cache is note instance scoped.
- Source:
@@ -5664,7 +5789,7 @@ Cache is note instance scoped.
- Source:
@@ -5770,7 +5895,7 @@ Cache is note instance scoped.
- Source:
@@ -5876,7 +6001,7 @@ Cache is note instance scoped.
- Source:
@@ -6105,7 +6230,7 @@ Cache is note instance scoped.
- Source:
@@ -6303,7 +6428,7 @@ Cache is note instance scoped.
- Source:
@@ -6501,7 +6626,7 @@ Cache is note instance scoped.
- Source:
@@ -6730,7 +6855,7 @@ Cache is note instance scoped.
- Source:
@@ -6832,7 +6957,7 @@ Cache is note instance scoped.
- Source:
@@ -6934,7 +7059,7 @@ Cache is note instance scoped.
- Source:
@@ -7132,7 +7257,7 @@ Cache is note instance scoped.
- Source:
@@ -7330,7 +7455,7 @@ Cache is note instance scoped.
- Source:
@@ -7590,7 +7715,7 @@ Cache is note instance scoped.
- Source:
@@ -7819,7 +7944,7 @@ Cache is note instance scoped.
- Source:
@@ -8048,7 +8173,7 @@ Cache is note instance scoped.
- Source:
diff --git a/docs/backend_api/NoteRevision.html b/docs/backend_api/NoteRevision.html
index 7143be4fb..232710773 100644
--- a/docs/backend_api/NoteRevision.html
+++ b/docs/backend_api/NoteRevision.html
@@ -28,7 +28,7 @@
|