prevision / apps /prevision-api /src /generations /interfaces /allowance.interface.ts
github-actions[bot]
Automated Deploy: 23110475c742a5d4f03930b55bca09042215c1dd
1fe7075
Raw History Blame Contribute Delete
359 Bytes
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;
}