UsageStatistic: Partial<Record<BillingService, number>> & {
    time: Date;
}

Type for a single usage statistic with timestamp.

Not all of the services will be present for every statistic, only if for the usage period the service was used.

Type declaration

  • time: Date

    Timestamp for the usage statistic.