Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

296 B
Raw Blame
import { ApiProperty } from '@nestjs/swagger'
import { IsNotEmpty, IsString, MaxLength } from 'class-validator'

export class CreateFeedbackDTO {
  @ApiProperty({
    example: 'I would love to see...',
    required: true,
  })
  @IsString()
  @IsNotEmpty()
  @MaxLength(2000)
  message: string
}