Files
grafana/public/app/features/variables/shared/testing/textboxVariableBuilder.ts
kay delaney cadc551a3c Chore: Remove deprecated re-exported template variable types (#87459)
Chore: Remove deprecated re-exported template varible types
2024-05-10 12:00:41 +01:00

11 lines
334 B
TypeScript

import { TextBoxVariableModel } from '@grafana/data';
import { OptionsVariableBuilder } from './optionsVariableBuilder';
export class TextBoxVariableBuilder<T extends TextBoxVariableModel> extends OptionsVariableBuilder<T> {
withOriginalQuery(original: string) {
this.variable.originalQuery = original;
return this;
}
}