grafana/public/app/plugins/datasource/testdata/constants.ts
Ashley Harrison 2a34293689
Chore: more type fixes (#62952)
* fix some more any/type assertions

* more any/type assertion fixes

* implement review comments
2023-02-09 09:03:13 +00:00

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: '',
};