mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-09 19:52:44 +00:00
app: file type filter on desktop + multiple files (#18403)
This commit is contained in:
parent
27a70ad70f
commit
d0a57305ef
9 changed files with 120 additions and 60 deletions
|
|
@ -5,7 +5,7 @@ import { ServerConnection } from "./server"
|
|||
|
||||
type PickerPaths = string | string[] | null
|
||||
type OpenDirectoryPickerOptions = { title?: string; multiple?: boolean }
|
||||
type OpenFilePickerOptions = { title?: string; multiple?: boolean }
|
||||
type OpenFilePickerOptions = { title?: string; multiple?: boolean; accept?: string[]; extensions?: string[] }
|
||||
type SaveFilePickerOptions = { title?: string; defaultPath?: string }
|
||||
type UpdateInfo = { updateAvailable: boolean; version?: string }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue