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!

489 B
Raw Blame
import { IsOptional, IsString } from 'class-validator'

export class GetKeywordsDto {
  @IsString()
  pid: string

  @IsString()
  period: string

  @IsOptional()
  @IsString()
  from?: string

  @IsOptional()
  @IsString()
  to?: string

  @IsOptional()
  @IsString()
  timezone?: string

  @IsOptional()
  @IsString()
  timeBucket?: string

  @IsOptional()
  @IsString()
  filters?: string

  @IsOptional()
  @IsString()
  page?: string

  @IsOptional()
  @IsString()
  query?: string
}