mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
added data source type type
This commit is contained in:
@@ -17,9 +17,15 @@ export interface DataSource {
|
||||
readOnly: false;
|
||||
}
|
||||
|
||||
export interface DataSourceType {
|
||||
name: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface DataSourcesState {
|
||||
dataSources: DataSource[];
|
||||
searchQuery: string;
|
||||
layoutMode: LayoutMode;
|
||||
dataSourcesCount: number;
|
||||
dataSourceTypes: DataSourceType[];
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import { DashboardState } from './dashboard';
|
||||
import { DashboardAcl, OrgRole, PermissionLevel } from './acl';
|
||||
import { ApiKey, ApiKeysState, NewApiKey } from './apiKeys';
|
||||
import { User } from './user';
|
||||
import { DataSource, DataSourcesState } from './datasources';
|
||||
import { DataSource, DataSourcesState, DataSourceType } from './datasources';
|
||||
import { PluginMeta, Plugin, PluginsState } from './plugins';
|
||||
|
||||
export {
|
||||
@@ -42,6 +42,7 @@ export {
|
||||
Plugin,
|
||||
PluginsState,
|
||||
DataSourcesState,
|
||||
DataSourceType,
|
||||
};
|
||||
|
||||
export interface StoreState {
|
||||
|
||||
Reference in New Issue
Block a user