(plan: PlanType)
| 37 | }; |
| 38 | |
| 39 | function planTitleKey(plan: PlanType) { |
| 40 | return `subscription.plan.${planLabelKey[plan] ?? "enterprise"}.title`; |
| 41 | } |
| 42 | |
| 43 | function planFeatureFromKey(key: string): PlanFeature { |
| 44 | const feature = PlanFeature[key as keyof typeof PlanFeature]; |
no outgoing calls
no test coverage detected