Interface MockDataReferenceFields

Fields allowed in the dataReference of metrics using the MockDataProvider.

Hierarchy

  • MockDataReferenceFields

Properties

delayMs?: number

A delay (in milliseconds) to pause before returning data. Used to simulate a network delay.

endDate?: string

End date for generated timeseries data.

error?: string

An error message to return instead of fetching / returning any data. Used to test component error handling.

maxValue?: number

A maximum value for the generated mock data.

minValue?: number

A minimum value for the generated mock data.

startDate?: string

Start date for generated timeseries data.

Generated using TypeDoc