mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* fix some more any/type assertions * more any/type assertion fixes * implement review comments
22 lines
427 B
TypeScript
22 lines
427 B
TypeScript
import { CSVWave, PulseWaveQuery, TestData, TestDataQueryType } from './dataquery.gen';
|
|
|
|
export const defaultPulseQuery: PulseWaveQuery = {
|
|
timeStep: 60,
|
|
onCount: 3,
|
|
onValue: 2,
|
|
offCount: 3,
|
|
offValue: 1,
|
|
};
|
|
|
|
export const defaultCSVWaveQuery: CSVWave[] = [
|
|
{
|
|
timeStep: 60,
|
|
valuesCSV: '0,0,2,2,1,1',
|
|
},
|
|
];
|
|
|
|
export const defaultQuery: TestData = {
|
|
scenarioId: TestDataQueryType.RandomWalk,
|
|
refId: '',
|
|
};
|