Compare commits

...

2 Commits

Author SHA1 Message Date
semantic-release-bot
2b31473614 chore(release): 3.21.4 [CI SKIP] 2023-06-22 09:39:28 +00:00
Marco Rodolfi
8bfeae4b35 fix: move the new file picker api as v2 2023-06-22 11:38:45 +02:00
3 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
## [3.21.4](https://github.com/SteamDeckHomebrew/decky-frontend-lib/compare/v3.21.3...v3.21.4) (2023-06-22)
### Bug Fixes
* move the new file picker api as v2 ([8bfeae4](https://github.com/SteamDeckHomebrew/decky-frontend-lib/commit/8bfeae4b3593b2efa0aa075a0d9e0b5926cdf169))
## [3.21.3](https://github.com/SteamDeckHomebrew/decky-frontend-lib/compare/v3.21.2...v3.21.3) (2023-06-22)

View File

@@ -1,6 +1,6 @@
{
"name": "decky-frontend-lib",
"version": "3.21.3",
"version": "3.21.4",
"description": "A library for building decky plugins",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -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),