import { Definition, Display, UnknownSpec } from '../common'; import { HTTPProxy } from './proxy/http'; import { SQLProxy } from './proxy/sql'; export interface DatasourceSpec { display?: Display; default: boolean; plugin: Definition; } /** * A selector for pointing at a specific Datasource. */ export interface DatasourceSelector { /** * Kind of the datasource. */ kind: string; /** * Name of the datasource. * If omitted, it's assumed that you target the default datasource for the specified kind (and group, if set) */ name?: string; } export interface HTTPDatasourceSpec { directUrl?: string; proxy?: HTTPProxy; } export interface SQLDatasourceSpec { proxy: SQLProxy; } //# sourceMappingURL=datasource.d.ts.map