File size: 191 Bytes
1fe7075
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import { IsIn } from 'class-validator';
import type { PlanId } from '../../config/app-config.interface.js';

export class CreateCheckoutDto {
  @IsIn(['starter', 'growth'])
  plan: PlanId;
}