NestedFolderPicker: Migrate to app platform API (#106926)

* Add /children endpoint

* Update folder client

* Add comment

* Add feature toggle

* Add new version of useFoldersQuery

* Error handling

* Format

* Rename feature toggle

* Remove options and move root folder constant

* Fix feature toggle merge

* Add feature toggle again

* Rename useFoldersQuery files

* Update API spec

* Fix test

* Add test

* Better typings

---------

Co-authored-by: Clarity-89 <homes89@ukr.net>
This commit is contained in:
Andrej Ocenas
2025-07-03 16:15:23 +02:00
committed by GitHub
parent 185ce90a4b
commit e76f470b44
18 changed files with 1102 additions and 193 deletions

View File

@ -57,7 +57,6 @@ const config: ConfigFile = {
'../public/app/api/clients/folder/v1beta1/endpoints.gen.ts': {
apiFile: '../public/app/api/clients/folder/v1beta1/baseAPI.ts',
schemaFile: '../data/openapi/folder.grafana.app-v1beta1.json',
filterEndpoints: ['getFolder'],
tag: true,
},
'../public/app/api/clients/advisor/v0alpha1/endpoints.gen.ts': {