mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Variables: Fix for changing readonly query property (#35992)
* Variables: Fix for changing readonly query property * Docs: adds release * Docs: adds release
This commit is contained in:
@@ -2,14 +2,23 @@ export type StringSelector = string;
|
||||
export type FunctionSelector = (id: string) => string;
|
||||
export type CssSelector = () => string;
|
||||
|
||||
/**
|
||||
* @alpha
|
||||
*/
|
||||
export interface Selectors {
|
||||
[key: string]: StringSelector | FunctionSelector | CssSelector | UrlSelector | Selectors;
|
||||
}
|
||||
|
||||
/**
|
||||
* @alpha
|
||||
*/
|
||||
export type E2ESelectors<S extends Selectors> = {
|
||||
[P in keyof S]: S[P];
|
||||
};
|
||||
|
||||
/**
|
||||
* @alpha
|
||||
*/
|
||||
export interface UrlSelector extends Selectors {
|
||||
url: string | FunctionSelector;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user