mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 00:35:50 +01:00
jsdoc comments on entities
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
const utils = require('../services/utils');
|
||||
|
||||
class Entity {
|
||||
/**
|
||||
* @param {object} [row] - database row representing given entity
|
||||
*/
|
||||
constructor(row = {}) {
|
||||
for (const key in row) {
|
||||
this[key] = row[key];
|
||||
|
||||
Reference in New Issue
Block a user