mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
37 lines
841 B
JavaScript
37 lines
841 B
JavaScript
class NoteMeta {
|
|
/** @type {string} */
|
|
noteId;
|
|
/** @type {string} */
|
|
notePath;
|
|
/** @type {boolean} */
|
|
isClone;
|
|
/** @type {string} */
|
|
title;
|
|
/** @type {int} */
|
|
notePosition;
|
|
/** @type {string} */
|
|
prefix;
|
|
/** @type {boolean} */
|
|
isExpanded;
|
|
/** @type {string} */
|
|
type;
|
|
/** @type {string} */
|
|
mime;
|
|
/** @type {string} - 'html' or 'markdown', applicable to text notes only */
|
|
format;
|
|
/** @type {string} */
|
|
dataFileName;
|
|
/** @type {string} */
|
|
dirFileName;
|
|
/** @type {boolean} - this file should not be imported (e.g., HTML navigation) */
|
|
noImport = false;
|
|
/** @type {AttributeMeta[]} */
|
|
attributes;
|
|
/** @type {AttachmentMeta[]} */
|
|
attachments;
|
|
/** @type {NoteMeta[]|undefined} */
|
|
children;
|
|
}
|
|
|
|
module.exports = NoteMeta;
|