Compare commits

..

5 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
semantic-release-bot
a7761321bc chore(release): 3.21.3 [CI SKIP] 2023-06-22 08:41:58 +00:00
Marco Rodolfi
979a630f2b fix: total is not needed as a return value to plugins 2023-06-22 10:41:09 +02:00
Marco Rodolfi
a4d1fcf086 Merge pull request #86 from SteamDeckHomebrew/file_picker_call
chore: add new interface for openfilepicker
2023-06-22 10:13:39 +02:00
3 changed files with 30 additions and 16 deletions

View File

@@ -1,3 +1,17 @@
## [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)
### Bug Fixes
* total is not needed as a return value to plugins ([979a630](https://github.com/SteamDeckHomebrew/decky-frontend-lib/commit/979a630f2b02ac4a1ac19e38002244f9dfe97177))
## [3.21.2](https://github.com/SteamDeckHomebrew/decky-frontend-lib/compare/v3.21.1...v3.21.2) (2023-06-18)

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",
@@ -41,26 +41,26 @@
}
},
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@commitlint/cz-commitlint": "^17.5.0",
"@semantic-release/changelog": "^6.0.3",
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@commitlint/cz-commitlint": "^17.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^27.5.2",
"@types/jest": "^27.4.1",
"@types/react": "16.14.0",
"@types/react-router": "5.1.18",
"commitizen": "^4.3.0",
"husky": "^8.0.3",
"commitizen": "^4.2.4",
"husky": "^8.0.1",
"import-sort-style-module": "^6.0.0",
"jest": "^27.5.1",
"minimist": "^1.2.8",
"prettier": "^2.8.8",
"minimist": "^1.2.6",
"prettier": "^2.7.1",
"prettier-plugin-import-sort": "^0.0.7",
"semantic-release": "^19.0.5",
"semantic-release": "^19.0.3",
"shx": "^0.3.4",
"ts-jest": "^27.1.5",
"typedoc": "^0.23.28",
"typedoc-plugin-mdn-links": "^2.0.2",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.24",
"typedoc-plugin-mdn-links": "^2.0.0",
"typedoc-plugin-missing-exports": "^1.0.0",
"typedoc-wikijs-theme": "^1.0.5",
"typescript": "^4.9.5"

View File

@@ -55,13 +55,13 @@ export interface Toaster {
export interface FilePickerRes {
path: string;
realpath: string;
total: number;
}
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),