UNPKG

501 BTypeScriptView Raw
1import type { RequiredDeep } from 'type-fest';
2import type mindmapDb from './mindmapDb.js';
3export interface MindmapNode {
4 id: number;
5 nodeId: string;
6 level: number;
7 descr: string;
8 type: number;
9 children: MindmapNode[];
10 width: number;
11 padding: number;
12 section?: number;
13 height?: number;
14 class?: string;
15 icon?: string;
16 x?: number;
17 y?: number;
18}
19export type FilledMindMapNode = RequiredDeep<MindmapNode>;
20export type MindmapDB = typeof mindmapDb;