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!

212 B
Raw Blame
import { Matches, IsUUID } from 'class-validator'

export class RemoveSubscriberParamsDto {
  @Matches(/^(?!.*--)[a-zA-Z0-9-]{12}$/)
  readonly projectId: string

  @IsUUID('4')
  readonly subscriberId: string
}