File size: 359 Bytes
1fe7075
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
export type AllowancePlan = 'free' | 'starter' | 'growth' | 'unlimited';

export interface Allowance {
  plan: AllowancePlan;
  /** null = unlimited. */
  limit: number | null;
  /** Generations since this date count against the limit (null = all time). */
  countFrom: Date | null;
  /** When a subscription's allowance renews. */
  renewsAt: Date | null;
}