mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	API docs update
This commit is contained in:
		| @@ -123,15 +123,16 @@ class Note extends Entity { | ||||
|                     this.content = ""; | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             if (this.isStringNote()) { | ||||
|                 this.content = this.content === null | ||||
|                     ? "" | ||||
|                     : this.content.toString("UTF-8"); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         return this.content; | ||||
|         if (this.isStringNote()) { | ||||
|             return this.content === null | ||||
|                 ? "" | ||||
|                 : this.content.toString("UTF-8"); | ||||
|         } | ||||
|         else { | ||||
|             return this.content; | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     /** @returns {Promise<*>} */ | ||||
| @@ -838,11 +839,9 @@ class Note extends Entity { | ||||
|             SELECT *  | ||||
|             FROM attributes  | ||||
|             WHERE noteId = ? AND  | ||||
|                   isDeleted = 0 AND  | ||||
|                   ((type = 'relation' AND  | ||||
|                     name IN ('internalLink', 'imageLink', 'relationMapLink', 'includeNoteLink')) | ||||
|                   OR | ||||
|                    (type = 'label' AND name = 'externalLink'))`, [this.noteId]); | ||||
|                   isDeleted = 0 AND | ||||
|                   type = 'relation' AND | ||||
|                   name IN ('internalLink', 'imageLink', 'relationMapLink', 'includeNoteLink')`, [this.noteId]); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
| @@ -991,7 +990,7 @@ module.exports = Note;</code></pre> | ||||
| <br class="clear"> | ||||
|  | ||||
| <footer> | ||||
|     Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.3</a> | ||||
|     Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.4</a> | ||||
| </footer> | ||||
|  | ||||
| <script> prettyPrint(); </script> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user