fix notifications
Build & Push / Pipeline Tests (push) Failing after 1m8s
Build & Push / Build & Push Docker Image (push) Has been skipped
Test / Type Check (all packages) (push) Successful in 53s
Test / API Unit Tests (push) Failing after 52s
Test / Homepage Unit Tests (push) Successful in 46s
Test / Carplace Unit Tests (push) Successful in 43s
Test / Admin Unit Tests (push) Successful in 43s
Test / Dashboard Unit Tests (push) Successful in 46s
Test / API Integration Tests (push) Successful in 1m7s

This commit is contained in:
root
2026-07-22 22:31:39 -04:00
parent bcabd17220
commit f6fcd7ce54
26 changed files with 1171 additions and 361 deletions
+14
View File
@@ -41,6 +41,7 @@ export const PLAN_FEATURES: Record<string, string[]> = {
'1 user account',
'Basic analytics',
'Carplace listing',
'Notification management',
],
GROWTH: [
'Up to 50 vehicles',
@@ -58,6 +59,19 @@ export const PLAN_FEATURES: Record<string, string[]> = {
],
}
export const SUBSCRIPTION_CAPABILITIES = {
NOTIFICATION_MANAGEMENT: 'NOTIFICATION_MANAGEMENT',
} as const
export type SubscriptionCapability =
(typeof SUBSCRIPTION_CAPABILITIES)[keyof typeof SUBSCRIPTION_CAPABILITIES]
export const PLAN_CAPABILITIES: Record<string, SubscriptionCapability[]> = {
STARTER: [SUBSCRIPTION_CAPABILITIES.NOTIFICATION_MANAGEMENT],
GROWTH: [SUBSCRIPTION_CAPABILITIES.NOTIFICATION_MANAGEMENT],
PRO: [SUBSCRIPTION_CAPABILITIES.NOTIFICATION_MANAGEMENT],
}
export type Locale = 'en' | 'fr' | 'ar'
export type SupportedCurrency = 'MAD'