grafana/public/app/features/manage-dashboards
Levente Balogh cc6fae18db
BackendSrv: Make it possible to pass options to .get|post|patch... methods (#51316)
* feat: make it possible to pass in `options` to `.get()`, `.post()`, etc methods

* feat(Datasource): make it possible to specify `optinos` for `getResource()` and `postResource()`

* fix(BackendSrv): use partial `BackendSrvRequest`

* feat(Datasource): make it possible to set `options` for resource requests

* refactor(BackendSrv): remove internal usage of `.request()`

* fix(GettingStarted): remove unnecessary import

* fix: fix type issues by typing the delete dashboard response

* refactor: use more strict types for `params`

By reusing the type of `BackendSrvRequest.params`

* refactor: make the options paramater partial

* fix: extract `data` from the fetch response

* docs: update the deprecation notice or `BackendSrv.request()`

* refactor: use `.request()` as if it was private

* refactor: remove unnecessary change
2022-10-04 10:40:21 +02:00
..
components Export: Fix export/import of dash with library panels (#49319) 2022-06-29 16:18:27 +01:00
services Angular: More isolation and removing of unused components (#41630) 2021-11-15 15:12:45 +01:00
state BackendSrv: Make it possible to pass options to .get|post|patch... methods (#51316) 2022-10-04 10:40:21 +02:00
utils Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
DashboardImportPage.tsx TopNav: Fix pages import dashboard and create new folder (#56182) 2022-10-03 17:30:53 +02:00
SnapshotListPage.tsx PageLayouts: Updates dashboard section routes with navId (#52175) 2022-07-20 17:26:52 +02:00
types.ts BackendSrv: Make it possible to pass options to .get|post|patch... methods (#51316) 2022-10-04 10:40:21 +02:00