Datasources: Add support for getDetDefaultQuery in variable editor (#62026)
+Cloudwatch implementation
This commit is contained in:
1 parent
ae8c61c0b2
commit
a9d44aa795
5 files changed
+72
-3
No files matched your search
@@ -35,6 +35,11 @@ export abstract class VariableSupportBase<
|
||||
TOptions extends DataSourceJsonData = DataSourceOptionsType<DSType>
|
||||
> {
|
||||
abstract getType(): VariableSupportType;
|
||||
|
||||
/**
|
||||
* Define this method in the config if you want to pre-populate the editor with a default query.
|
||||
*/
|
||||
getDefaultQuery?(): Partial<TQuery>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user