app: file type filter on desktop + multiple files (#18403)

This commit is contained in:
Brendan Allan 2026-03-20 23:02:07 +08:00 committed by GitHub
parent 27a70ad70f
commit d0a57305ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 120 additions and 60 deletions

View file

@ -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 }