2023-05-06 14:38:45 +02:00
|
|
|
class NoteMeta {
|
|
|
|
/** @type {string} */
|
|
|
|
noteId;
|
|
|
|
/** @type {string} */
|
|
|
|
notePath;
|
|
|
|
/** @type {boolean} */
|
|
|
|
isClone;
|
|
|
|
/** @type {string} */
|
|
|
|
title;
|
|
|
|
/** @type {integer} */
|
|
|
|
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;
|
2023-05-06 15:07:38 +02:00
|
|
|
/** @type {boolean} - this file should not be imported (e.g., HTML navigation) */
|
|
|
|
noImport = false;
|
2023-05-06 14:38:45 +02:00
|
|
|
/** @type {AttributeMeta[]} */
|
|
|
|
attributes;
|
|
|
|
/** @type {AttachmentMeta[]} */
|
|
|
|
attachments;
|
|
|
|
/** @type {NoteMeta[]|undefined} */
|
|
|
|
children;
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = NoteMeta;
|