prevision / apps /prevision-api /src /subscriptions /dto /create-checkout.dto.ts
github-actions[bot]
Automated Deploy: 23110475c742a5d4f03930b55bca09042215c1dd
1fe7075
Raw History Blame Contribute Delete
191 Bytes
import { IsIn } from 'class-validator';
import type { PlanId } from '../../config/app-config.interface.js';
export class CreateCheckoutDto {
@IsIn(['starter', 'growth'])
plan: PlanId;
}