mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 22:52:45 +08:00

* chore(typescript): enable isolatedModules * chore(frontend): fix ts errors related to isolated modules
25 lines
815 B
TypeScript
25 lines
815 B
TypeScript
import {
|
|
QueryEditorOperatorExpression as QueryEditorOperatorExpressionBase,
|
|
QueryEditorOperator as QueryEditorOperatorBase,
|
|
QueryEditorOperatorValueType,
|
|
} from './dataquery.gen';
|
|
export {
|
|
QueryEditorPropertyType,
|
|
type QueryEditorProperty,
|
|
type QueryEditorPropertyExpression,
|
|
type QueryEditorGroupByExpression,
|
|
type QueryEditorFunctionExpression,
|
|
type QueryEditorFunctionParameterExpression,
|
|
type QueryEditorArrayExpression,
|
|
QueryEditorExpressionType,
|
|
type QueryEditorExpression,
|
|
} from './dataquery.gen';
|
|
|
|
export interface QueryEditorOperator<T extends QueryEditorOperatorValueType> extends QueryEditorOperatorBase {
|
|
value?: T;
|
|
}
|
|
|
|
export interface QueryEditorOperatorExpression extends QueryEditorOperatorExpressionBase {
|
|
operator: QueryEditorOperator<QueryEditorOperatorValueType>;
|
|
}
|