mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 14:55:50 +01:00
server-ts: Port services/meta/*
This commit is contained in:
24
src/services/meta/note_meta.ts
Normal file
24
src/services/meta/note_meta.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import AttributeMeta = require("./attribute_meta");
|
||||
|
||||
interface NoteMeta {
|
||||
noteId: string;
|
||||
notePath: string;
|
||||
isClone: boolean;
|
||||
title: string;
|
||||
notePosition: number;
|
||||
prefix: string;
|
||||
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;
|
||||
attributes: AttributeMeta[];
|
||||
attachments: AttributeMeta[];
|
||||
children?: NoteMeta[];
|
||||
}
|
||||
|
||||
export = NoteMeta;
|
||||
Reference in New Issue
Block a user