update subscription module

This commit is contained in:
root
2026-05-25 04:58:56 -04:00
parent 1606ea0053
commit 8d0b7a5ceb
17 changed files with 4394 additions and 157 deletions
+23
View File
@@ -35,6 +35,29 @@ export const PLAN_PRICES: Record<string, Record<string, Record<string, number>>>
},
}
export const PLAN_FEATURES: Record<string, string[]> = {
STARTER: [
'Up to 10 vehicles',
'1 user account',
'Basic analytics',
'Marketplace listing',
],
GROWTH: [
'Up to 50 vehicles',
'5 user accounts',
'Full analytics',
'Priority marketplace placement',
'Custom branding',
],
PRO: [
'Unlimited vehicles',
'Unlimited user accounts',
'Advanced reports',
'API access',
'Dedicated support',
],
}
export type Locale = 'en' | 'fr' | 'ar'
export type SupportedCurrency = 'MAD'