1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
export interface FileEntry { name: string path: string is_dir: boolean children?: FileEntry[] } export interface Tab { id: string path: string name: string language: string content: string modified: boolean } export type Language = | 'typescript' | 'javascript' | 'rust' | 'json' | 'markdown' | 'html' | 'css' | 'python' | 'plaintext'