rename API .createNote() to .createNewNote() to allow future backwards compatibility

This commit is contained in:
zadam
2019-11-28 22:35:55 +01:00
parent 2953f1bdb8
commit 6c561b5764
5 changed files with 204 additions and 203 deletions

View File

@@ -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"> &rarr; {Promise.&lt;{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"> &rarr; {Promise.&lt;{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>