mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
improvements in API docs generation
This commit is contained in:
@@ -9,7 +9,7 @@ const htmlSanitizer = require('../html_sanitizer');
|
||||
* @param {TaskContext} taskContext
|
||||
* @param {Buffer} fileBuffer
|
||||
* @param {BNote} parentNote
|
||||
* @return {Promise<*[]|*>}
|
||||
* @returns {Promise<*[]|*>}
|
||||
*/
|
||||
async function importOpml(taskContext, fileBuffer, parentNote) {
|
||||
const xml = await new Promise(function(resolve, reject)
|
||||
|
||||
@@ -19,7 +19,7 @@ const becca = require("../../becca/becca");
|
||||
* @param {TaskContext} taskContext
|
||||
* @param {Buffer} fileBuffer
|
||||
* @param {BNote} importRootNote
|
||||
* @return {Promise<*>}
|
||||
* @returns {Promise<*>}
|
||||
*/
|
||||
async function importZip(taskContext, fileBuffer, importRootNote) {
|
||||
// maps from original noteId (in ZIP file) to newly generated noteId
|
||||
|
||||
Reference in New Issue
Block a user