mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DataSourceWithBackend: remove unused function (#25727)
This commit is contained in:
parent
05ed781184
commit
0c61ff7672
@ -6,7 +6,6 @@ import {
|
|||||||
DataQuery,
|
DataQuery,
|
||||||
DataSourceJsonData,
|
DataSourceJsonData,
|
||||||
ScopedVars,
|
ScopedVars,
|
||||||
DataFrame,
|
|
||||||
} from '@grafana/data';
|
} from '@grafana/data';
|
||||||
import { Observable, from, of } from 'rxjs';
|
import { Observable, from, of } from 'rxjs';
|
||||||
import { config } from '..';
|
import { config } from '..';
|
||||||
@ -133,11 +132,6 @@ export class DataSourceWithBackend<
|
|||||||
*/
|
*/
|
||||||
processResponse?(res: DataQueryResponse): Promise<DataQueryResponse>;
|
processResponse?(res: DataQueryResponse): Promise<DataQueryResponse>;
|
||||||
|
|
||||||
/**
|
|
||||||
* Optionally process the results for display
|
|
||||||
*/
|
|
||||||
processDataFrameResult?(frame: DataFrame, idx: number): Promise<DataFrame>;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override to skip executing a query
|
* Override to skip executing a query
|
||||||
*
|
*
|
||||||
@ -146,7 +140,11 @@ export class DataSourceWithBackend<
|
|||||||
filterQuery?(query: TQuery): boolean;
|
filterQuery?(query: TQuery): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override to apply template variables
|
* Override to apply template variables. The result is usually also `TQuery`, but sometimes this can
|
||||||
|
* be used to modify the query structure before sending to the backend.
|
||||||
|
*
|
||||||
|
* NOTE: if you do modify the structure or use template variables, alerting queries may not work
|
||||||
|
* as expected
|
||||||
*
|
*
|
||||||
* @virtual
|
* @virtual
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user