mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
27 lines
718 B
TypeScript
27 lines
718 B
TypeScript
import AttachmentMeta from "./attachment_meta.js";
|
|
import AttributeMeta from "./attribute_meta.js";
|
|
|
|
interface NoteMeta {
|
|
noteId?: string;
|
|
notePath?: string[];
|
|
isClone?: boolean;
|
|
title?: string;
|
|
notePosition?: number;
|
|
prefix?: string | null;
|
|
isExpanded?: boolean;
|
|
type?: string;
|
|
mime?: string;
|
|
/** 'html' or 'markdown', applicable to text notes only */
|
|
format?: "html" | "markdown";
|
|
dataFileName: string;
|
|
dirFileName?: string;
|
|
/** this file should not be imported (e.g., HTML navigation) */
|
|
noImport?: boolean;
|
|
isImportRoot?: boolean;
|
|
attributes?: AttributeMeta[];
|
|
attachments?: AttachmentMeta[];
|
|
children?: NoteMeta[];
|
|
}
|
|
|
|
export = NoteMeta;
|