mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-25 12:28:53 +02:00
fix: move the new file picker api as v2
This commit is contained in:
@@ -60,7 +60,8 @@ export interface FilePickerRes {
|
||||
export interface ServerAPI {
|
||||
routerHook: RouterHook;
|
||||
toaster: Toaster;
|
||||
openFilePicker(
|
||||
openFilePicker(startPath: string, includeFiles?: boolean, regex?: RegExp): Promise<FilePickerRes>;
|
||||
openFilePickerV2(
|
||||
startPath: string,
|
||||
includeFiles?: boolean,
|
||||
filter?: RegExp | ((file: File) => boolean),
|
||||
|
||||
Reference in New Issue
Block a user