first commit

This commit is contained in:
2025-09-27 18:13:02 -04:00
commit 6e1b5407b7
253 changed files with 289900 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
export type { FileMetadata } from './types/file-metadata.model';
export interface Note {
id: string;
title: string;
content: string;
tags: string[];
frontmatter: { [key: string]: any };
backlinks: string[];
mtime: number; // last modified time
fileName: string;
filePath: string;
originalPath: string;
createdAt?: string;
updatedAt?: string;
}
export interface VaultFile {
type: 'file';
name: string;
path: string;
id: string;
}
export interface VaultFolder {
type: 'folder';
name: string;
path: string;
children: VaultNode[];
isOpen: boolean;
}
export type VaultNode = VaultFile | VaultFolder;
export interface GraphNode {
id: string;
label: string;
}
export interface GraphEdge {
source: string;
target: string;
}
export interface GraphData {
nodes: GraphNode[];
edges: GraphEdge[];
}
export interface TagInfo {
name: string;
count: number;
}