From 09f964451d7d92e9891430ec4595c1276d486aab Mon Sep 17 00:00:00 2001 From: zwlucas Date: Fri, 5 Jun 2026 17:52:54 -0300 Subject: feat: upload Signed-off-by: zwlucas --- src/types/index.ts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/types/index.ts (limited to 'src/types/index.ts') diff --git a/src/types/index.ts b/src/types/index.ts new file mode 100644 index 0000000..3a822ae --- /dev/null +++ b/src/types/index.ts @@ -0,0 +1,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' -- cgit v1.2.3