Fix type error

This commit is contained in:
Louis Knight-Webb
2025-06-17 11:09:50 -04:00
parent ff1ee5e2d5
commit 7c5604a81b
2 changed files with 21 additions and 1 deletions

View File

@@ -43,4 +43,12 @@ export type UpdateUser = { email: string | null, password: string | null, is_adm
export type User = { id: string, email: string, is_admin: boolean, created_at: Date, updated_at: Date, };
export type DirectoryEntry = { name: string, path: string, is_directory: boolean, is_git_repo: boolean, };
export type DirectoryEntry = { name: string, path: string, is_directory: boolean, is_git_repo: boolean, };
export type DiffChunkType = "Equal" | "Insert" | "Delete";
export type DiffChunk = { chunk_type: DiffChunkType, content: string, };
export type FileDiff = { path: string, chunks: Array<DiffChunk>, };
export type WorktreeDiff = { files: Array<FileDiff>, };