File size: 322 Bytes
1fe7075
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import type { AllowancePlan } from '../interfaces/allowance.interface.js';

/** Generations used against the current allowance. `limit` and `remaining` are null when unlimited. */
export class UsageDto {
  plan: AllowancePlan;
  limit: number | null;
  used: number;
  remaining: number | null;
  renewsAt: Date | null;
}