mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Variables: Add new format id (#66793)
This commit is contained in:
@@ -771,6 +771,7 @@ export enum VariableFormatID {
|
||||
SQLString = 'sqlstring',
|
||||
SingleQuote = 'singlequote',
|
||||
Text = 'text',
|
||||
UriEncode = 'uriencode',
|
||||
}
|
||||
|
||||
export interface DataSourceRef {
|
||||
|
||||
@@ -21,6 +21,8 @@ VariableFormatID:
|
||||
"json" |
|
||||
// Percent encode
|
||||
"percentencode" |
|
||||
// Uri encode
|
||||
"uriencode" |
|
||||
// Single quote
|
||||
"singlequote" |
|
||||
// Double quote
|
||||
@@ -34,4 +36,4 @@ VariableFormatID:
|
||||
// Format variables in their text representation. Example in multi-variable scenario A + B + C.
|
||||
"text" |
|
||||
// Format variables as URL parameters. Example in multi-variable scenario A + B + C => var-foo=A&var-foo=B&var-foo=C.
|
||||
"queryparam" @cuetsy(kind="enum",memberNames="Lucene|Raw|Regex|Pipe|Distributed|CSV|HTML|JSON|PercentEncode|SingleQuote|DoubleQuote|SQLString|Date|Glob|Text|QueryParam")
|
||||
"queryparam" @cuetsy(kind="enum",memberNames="Lucene|Raw|Regex|Pipe|Distributed|CSV|HTML|JSON|PercentEncode|UriEncode|SingleQuote|DoubleQuote|SQLString|Date|Glob|Text|QueryParam")
|
||||
|
||||
Reference in New Issue
Block a user