mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
7 lines
263 B
TypeScript
7 lines
263 B
TypeScript
import { DataSourceInstanceSettings, DataSourceJsonData } from '@grafana/data';
|
|
import { config } from '@grafana/runtime';
|
|
|
|
export function getAllDataSources(): Array<DataSourceInstanceSettings<DataSourceJsonData>> {
|
|
return Object.values(config.datasources);
|
|
}
|