diff --git a/docs/backend_api/Note.html b/docs/backend_api/Note.html index 23a38a14c..5163824c8 100644 --- a/docs/backend_api/Note.html +++ b/docs/backend_api/Note.html @@ -1252,6 +1252,152 @@ + + + + + + +

cloneTo(parentNoteId) → {Object}

+ + + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
parentNoteId + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Object + + +
+
+ + + + + + + @@ -1404,7 +1550,7 @@
Source:
@@ -9807,7 +9953,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '
Source:
diff --git a/docs/backend_api/becca_entities_note.js.html b/docs/backend_api/becca_entities_note.js.html index b81585f36..734e64a45 100644 --- a/docs/backend_api/becca_entities_note.js.html +++ b/docs/backend_api/becca_entities_note.js.html @@ -1200,6 +1200,10 @@ class Note extends AbstractEntity { return this.searchNotesInSubtree(searchString)[0]; } + /** + * @param parentNoteId + * @returns {{success: boolean, message: string}} + */ cloneTo(parentNoteId) { const cloningService = require("../../services/cloning"); diff --git a/src/becca/entities/note.js b/src/becca/entities/note.js index 19772159e..40d16bc7e 100644 --- a/src/becca/entities/note.js +++ b/src/becca/entities/note.js @@ -1172,6 +1172,10 @@ class Note extends AbstractEntity { return this.searchNotesInSubtree(searchString)[0]; } + /** + * @param parentNoteId + * @returns {{success: boolean, message: string}} + */ cloneTo(parentNoteId) { const cloningService = require("../../services/cloning");