Folders: Use app platform search endpoint and update tests (#108814)

* Update test utils package with mock folder + search endpoints

* Add dashboards v0alpha1 api client

* Update hook to use app platform search API

* Update tests and fixtures
This commit is contained in:
Tom Ratcliffe
2025-08-01 13:34:33 +01:00
committed by GitHub
parent 1130f69ef7
commit 4f30a3b62b
20 changed files with 539 additions and 373 deletions
+11
View File
@@ -79,6 +79,17 @@ const config: ConfigFile = {
filterEndpoints: ['listPlaylist', 'getPlaylist', 'createPlaylist', 'deletePlaylist', 'replacePlaylist'],
tag: true,
},
'../public/app/api/clients/dashboard/v0alpha1/endpoints.gen.ts': {
apiFile: '../public/app/api/clients/dashboard/v0alpha1/baseAPI.ts',
schemaFile: '../data/openapi/dashboard.grafana.app-v0alpha1.json',
filterEndpoints: [
// Do not use any other endpoints from this version
// If other endpoints are required, they must be used from a newer version of the dashboard API
'getSearch',
],
tag: true,
},
// PLOP_INJECT_API_CLIENT - Used by the API client generator
},
};