grafana/public/app/core/services
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
..
__mocks__ Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
echo JS Agent: remove user email and add session id (#55767) 2022-09-27 08:59:32 -03:00
backend_srv.ts BackendSrv: Make it possible to pass options to .get|post|patch... methods (#51316) 2022-10-04 10:40:21 +02:00
context_srv.ts PluginDetails: Make plugin details page look good in topnav (#55571) 2022-09-26 15:04:07 +02:00
FetchQueue.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
FetchQueue.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
FetchQueueWorker.test.ts remove exported test globals from test/lib/common (#50256) 2022-06-06 15:38:37 +01:00
FetchQueueWorker.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
impression_srv.ts Search: Migrated impressions to use dashboardUID (#53090) 2022-08-08 11:13:19 +02:00
keybindingSrv.ts TopNav: KioskMode rewrite move to AppChrome responsibility and make it a global feature (#55149) 2022-09-15 14:04:58 +02:00
ModalManager.ts I18n: Wrap event-based modals with I18nProvider (#52720) 2022-07-25 08:44:11 -04:00
PreferencesService.ts Query History: Implement RemoteStorage methods: settings (#49320) 2022-05-23 13:42:12 +02:00
ResponseQueue.test.ts remove exported test globals from test/lib/common (#50256) 2022-06-06 15:38:37 +01:00
ResponseQueue.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
search_srv.ts SearchSrv: stop using IDs (#54296) 2022-08-26 15:41:47 +02:00
StateManagerBase.ts SupportSnapshots: improved iframe support (#55059) 2022-09-14 12:54:09 -07:00
toggleTheme.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
withFocusedPanelId.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00