mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 01:12:22 +08:00
Chore: Change VariableModel to TypedVariableModel in most places (#76690)
This commit is contained in:
@ -1,6 +1,15 @@
|
||||
import { isArray, isEqual } from 'lodash';
|
||||
|
||||
import { LegacyMetricFindQueryOptions, ScopedVars, UrlQueryMap, UrlQueryValue, VariableType } from '@grafana/data';
|
||||
import {
|
||||
LegacyMetricFindQueryOptions,
|
||||
ScopedVars,
|
||||
UrlQueryMap,
|
||||
UrlQueryValue,
|
||||
VariableType,
|
||||
VariableRefresh,
|
||||
VariableWithOptions,
|
||||
QueryVariableModel,
|
||||
} from '@grafana/data';
|
||||
import { getTemplateSrv } from '@grafana/runtime';
|
||||
import { safeStringifyValue } from 'app/core/utils/explore';
|
||||
|
||||
@ -12,7 +21,7 @@ import { variableAdapters } from './adapters';
|
||||
import { ALL_VARIABLE_TEXT, ALL_VARIABLE_VALUE, VARIABLE_PREFIX } from './constants';
|
||||
import { getVariablesState } from './state/selectors';
|
||||
import { KeyedVariableIdentifier, VariableIdentifier, VariablePayload } from './state/types';
|
||||
import { QueryVariableModel, TransactionStatus, VariableModel, VariableRefresh, VariableWithOptions } from './types';
|
||||
import { TransactionStatus, VariableModel } from './types';
|
||||
|
||||
/*
|
||||
* This regex matches 3 types of variable reference with an optional format specifier
|
||||
|
Reference in New Issue
Block a user