Options
All
  • Public
  • Public/Protected
  • All
Menu

Module shared/aggregatorModel.class

Index

Type aliases

AggregatorDatapoint

AggregatorDatapoint: { date: Date; value: number }

Capsulates the input made and adds a timestamp.

Type declaration

  • date: Date

    A date that tells when this point was added.

  • value: number

    A literal that mathematic operations are performed on

AggregatorMethod

AggregatorMethod: { operation: AggregatorOperation; setting: AggregatorSetting }

Capsulates [AggregatorOperation] and [AggregatorSetting].

Type declaration

AggregatorSetting

AggregatorSetting: { pointsToConsider?: number; secondsToConsider?: number }

This is part of the applied operation. Defines the window of operation.

Type declaration

  • Optional pointsToConsider?: number
  • Optional secondsToConsider?: number

Generated using TypeDoc