dto-response
Installation
SKILL.md
DTO and Response Class Guide
Use this skill when creating or modifying DTO files in the dto/ folder.
Input DTO (Request)
import { IsDateString, IsEnum, IsNotEmpty, IsOptional, IsString, Length } from 'class-validator';
import { IsE164 } from 'src/app.utils';
import { EntityEnum } from '../entity.enums';
export class CreateEntityDto {
@IsNotEmpty()
@IsString()
requiredField!: string;