File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ export type PlanId = 'free' | 'pro' | 'team' | 'enterprise'
2+
13export interface PricingInformation {
24 id : string
5+ planId : PlanId
36 name : string
47 nameBadge ?: string
58 costUnit ?: string
@@ -18,6 +21,7 @@ export interface PricingInformation {
1821export const plans : PricingInformation [ ] = [
1922 {
2023 id : 'tier_free' ,
24+ planId : 'free' ,
2125 name : 'Free' ,
2226 nameBadge : '' ,
2327 costUnit : '/ month' ,
@@ -63,6 +67,7 @@ export const plans: PricingInformation[] = [
6367 } ,
6468 {
6569 id : 'tier_pro' ,
70+ planId : 'pro' ,
6671 name : 'Pro' ,
6772 nameBadge : 'Most Popular' ,
6873 costUnit : '/ month' ,
@@ -100,6 +105,7 @@ export const plans: PricingInformation[] = [
100105 } ,
101106 {
102107 id : 'tier_team' ,
108+ planId : 'team' ,
103109 name : 'Team' ,
104110 nameBadge : '' ,
105111 costUnit : '/ month' ,
@@ -127,6 +133,7 @@ export const plans: PricingInformation[] = [
127133 } ,
128134 {
129135 id : 'tier_enterprise' ,
136+ planId : 'enterprise' ,
130137 name : 'Enterprise' ,
131138 href : 'https://forms.supabase.com/enterprise' ,
132139 description : 'For large-scale applications running Internet scale workloads.' ,
@@ -148,7 +155,7 @@ export const plans: PricingInformation[] = [
148155 preface : '' ,
149156 cta : 'Contact Us' ,
150157 } ,
151- ]
158+ ] as const
152159
153160export function pickFeatures ( plan : PricingInformation , billingPartner : string = '' ) {
154161 return (
You can’t perform that action at this time.
0 commit comments