Type Alias: UseMetricViewOptions\<K, M, D\>
UseMetricViewOptions<
K,M,D> =object&MetricViewTimeOptions<K,D>
Type Declaration
Section titled “Type Declaration”autoStart?
Section titled “autoStart?”
optionalautoStart?:boolean
dimensions?
Section titled “dimensions?”
optionaldimensions?:D
filter?
Section titled “filter?”
optionalfilter?:MetricFilter
limit?
Section titled “limit?”
optionallimit?:number
measures
Section titled “measures”measures:
M
orderBy?
Section titled “orderBy?”
optionalorderBy?:ReadonlyArray<MetricOrderBy<M[number] |D[number]>>
Type Parameters
Section titled “Type Parameters”K extends MetricKey = MetricKey
M extends ReadonlyArray<InferMeasureKeys<K>> = ReadonlyArray<InferMeasureKeys<K>>
D extends ReadonlyArray<InferDimensionKeys<K>> = ReadonlyArray<InferDimensionKeys<K>>