mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	jsdoc comments on entities
This commit is contained in:
		@@ -5,6 +5,22 @@ const repository = require('../services/repository');
 | 
			
		||||
const dateUtils = require('../services/date_utils');
 | 
			
		||||
const sql = require('../services/sql');
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Attribute is key value pair owned by a note.
 | 
			
		||||
 *
 | 
			
		||||
 * @param {string} attributeId
 | 
			
		||||
 * @param {string} noteId
 | 
			
		||||
 * @param {string} type
 | 
			
		||||
 * @param {string} name
 | 
			
		||||
 * @param {string} value
 | 
			
		||||
 * @param {int} position
 | 
			
		||||
 * @param {boolean} isInheritable
 | 
			
		||||
 * @param {boolean} isDeleted
 | 
			
		||||
 * @param {string} dateCreated
 | 
			
		||||
 * @param {string} dateModified
 | 
			
		||||
 *
 | 
			
		||||
 * @extends Entity
 | 
			
		||||
 */
 | 
			
		||||
class Attribute extends Entity {
 | 
			
		||||
    static get entityName() { return "attributes"; }
 | 
			
		||||
    static get primaryKeyName() { return "attributeId"; }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user