\n
\n Type\n \n \n\n {type === QueryTypeValue.CLI && (\n <>\n Command\n \n >\n )}\n {type && type !== QueryTypeValue.CLI && (\n <>\n Command\n \n >\n )}\n
\n\n {type !== QueryTypeValue.CLI && command && (\n
\n {CommandParameters.key.includes(command) && (\n \n )}\n\n {CommandParameters.filter.includes(command) && (\n \n )}\n\n {CommandParameters.field.includes(command) && (\n \n )}\n\n {CommandParameters.legend.includes(command) && (\n \n )}\n\n {CommandParameters.legendLabel.includes(command) && (\n \n )}\n\n {CommandParameters.valueLabel.includes(command) && (\n \n )}\n
\n )}\n\n {type === QueryTypeValue.COMMAND && command && CommandParameters.section.includes(command) && (\n
\n Section\n \n
\n )}\n\n {type === QueryTypeValue.TIMESERIES && command && CommandParameters.aggregation.includes(command) && (\n
\n Aggregation\n \n {aggregation && (\n \n )}\n
\n )}\n\n
\n
\n );\n }\n}\n","import { DataSourcePlugin } from '@grafana/data';\nimport { ConfigEditor } from './ConfigEditor';\nimport { DataSource } from './DataSource';\nimport { QueryEditor } from './QueryEditor';\nimport { RedisDataSourceOptions, RedisQuery } from './types';\n\n/**\n * Data Source plugin\n */\nexport const plugin = new DataSourcePlugin