mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 08:46:43 +01:00
rename API .createNote() to .createNewNote() to allow future backwards compatibility
This commit is contained in:
@@ -543,7 +543,7 @@ the backend.
|
||||
|
||||
<div class="description">
|
||||
Create data note - data in this context means object serializable to JSON. Created note will be of type 'code' and
|
||||
JSON MIME type. See also createNote() for more options.
|
||||
JSON MIME type. See also createNewNote() for more options.
|
||||
</div>
|
||||
|
||||
|
||||
@@ -736,7 +736,7 @@ JSON MIME type. See also createNote() for more options.
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="createNote"><span class="type-signature"></span>createNote<span class="signature">(params<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<{note: <a href="Note.html">Note</a>, branch: <a href="Branch.html">Branch</a>}>}</span></h4>
|
||||
<h4 class="name" id="createNewNote"><span class="type-signature"></span>createNewNote<span class="signature">(params<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<{note: <a href="Note.html">Note</a>, branch: <a href="Branch.html">Branch</a>}>}</span></h4>
|
||||
|
||||
|
||||
|
||||
@@ -784,7 +784,7 @@ JSON MIME type. See also createNote() for more options.
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type"><a href="global.html#CreateNoteParams">CreateNoteParams</a></span>
|
||||
<span class="param-type"><a href="global.html#CreateNewNoteParams">CreateNewNoteParams</a></span>
|
||||
|
||||
|
||||
|
||||
@@ -911,7 +911,7 @@ JSON MIME type. See also createNote() for more options.
|
||||
|
||||
|
||||
<div class="description">
|
||||
Create text note. See also createNote() for more options.
|
||||
Create text note. See also createNewNote() for more options.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user