fix(app): binary file handling in file view (#11312)

This commit is contained in:
Alex Yaroshuk 2026-02-01 23:40:33 +08:00 committed by GitHub
commit 23c803707d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 221 additions and 24 deletions

View file

@ -1554,7 +1554,7 @@ export type FileNode = {
}
export type FileContent = {
type: "text"
type: "text" | "binary"
content: string
diff?: string
patch?: {

View file

@ -2042,7 +2042,7 @@ export type FileNode = {
}
export type FileContent = {
type: "text"
type: "text" | "binary"
content: string
diff?: string
patch?: {