added yearly plan

This commit is contained in:
Daniel
2023-09-11 00:20:31 -04:00
parent 8fd108c74e
commit 5583fd82f3
5 changed files with 77 additions and 14 deletions
+2 -2
View File
@@ -20,11 +20,11 @@ declare global {
NEXT_PUBLIC_STRIPE_IS_ACTIVE?: string;
STRIPE_SECRET_KEY?: string;
PRICE_ID?: string;
MONTHLY_PRICE_ID?: string;
YEARLY_PRICE_ID?: string;
NEXT_PUBLIC_STRIPE_BILLING_PORTAL_URL?: string;
NEXT_PUBLIC_TRIAL_PERIOD_DAYS?: string;
BASE_URL?: string;
NEXT_PUBLIC_PRICING?: string;
}
}
}
+5
View File
@@ -85,3 +85,8 @@ interface CollectionIncludingLinks extends Collection {
export interface Backup extends Omit<User, "password" | "id" | "image"> {
collections: CollectionIncludingLinks[];
}
export enum Plan {
monthly,
yearly,
}