diff --git a/src/types/index.ts b/src/types/index.ts index aacff82..88f9746 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -79,11 +79,16 @@ export type ExecutePlugin = { export type AggregationMethodTypes = (typeof AGGREGATION_METHODS)[number]; +export type AggregationOptions = { + time: AggregationMethodTypes, + component: AggregationMethodTypes +} + export type ParameterMetadata = { [key: string]: { description: string; unit: string; - 'aggregation-method': AggregationMethodTypes; + 'aggregation-method': AggregationOptions; }; };