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:
@@ -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
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user