(type: 'pro' | 'team', credits: number)
| 110 | * @example buildPlanName('pro', 6000) => 'pro_6000' |
| 111 | */ |
| 112 | export function buildPlanName(type: 'pro' | 'team', credits: number): string { |
| 113 | return `${type}_${credits}` |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Get the list of valid plan names for a given category. |
no outgoing calls
no test coverage detected