mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 16:57:59 +08:00
Registry: add a reusable function registry (#17047)
This commit is contained in:
@ -13,8 +13,7 @@ import { Help } from './Help';
|
||||
import { StackdriverQuery, MetricDescriptor } from '../types';
|
||||
import { getAlignmentPickerData } from '../functions';
|
||||
import StackdriverDatasource from '../datasource';
|
||||
import { SelectOptionItem } from '@grafana/ui';
|
||||
import { TimeSeries } from '@grafana/data';
|
||||
import { TimeSeries, SelectableValue } from '@grafana/data';
|
||||
|
||||
export interface Props {
|
||||
onQueryChange: (target: StackdriverQuery) => void;
|
||||
@ -26,7 +25,7 @@ export interface Props {
|
||||
}
|
||||
|
||||
interface State extends StackdriverQuery {
|
||||
alignOptions: Array<SelectOptionItem<string>>;
|
||||
alignOptions: Array<SelectableValue<string>>;
|
||||
lastQuery: string;
|
||||
lastQueryError: string;
|
||||
[key: string]: any;
|
||||
|
Reference in New Issue
Block a user