aboutsummaryrefslogtreecommitdiff
path: root/src/types/index.ts
diff options
context:
space:
mode:
authorzwlucas <lucas.fariamo08@gmail.com>2026-06-05 20:52:54 +0000
committerzwlucas <lucas.fariamo08@gmail.com>2026-06-05 20:52:54 +0000
commit09f964451d7d92e9891430ec4595c1276d486aab (patch)
tree28da4483f5c28924a8c47fceb648b1baebe88224 /src/types/index.ts
downloadyace-09f964451d7d92e9891430ec4595c1276d486aab.tar.gz
yace-09f964451d7d92e9891430ec4595c1276d486aab.zip
feat: uploadHEADmaster
Signed-off-by: zwlucas <lucas.fariamo08@gmail.com>
Diffstat (limited to 'src/types/index.ts')
-rw-r--r--src/types/index.ts26
1 files changed, 26 insertions, 0 deletions
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'