Skip to content

Commit

Permalink
Merge pull request #23 from Green-Software-Foundation/granular-aggreg…
Browse files Browse the repository at this point in the history
…ation

Add support for granular aggregation
  • Loading branch information
manushak authored Sep 10, 2024
2 parents 5c42f2a + cb9d5af commit 864c60b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};

Expand Down

0 comments on commit 864c60b

Please sign in to comment.