📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
import { PickType, ApiProperty } from '@nestjs/swagger'
import { Type } from 'class-transformer'
import { IsInt, Min, Max } from 'class-validator'
import { GetDataDto } from './getData.dto'
export class GetErrorsDto extends PickType(GetDataDto, [
'pid',
'period',
'from',
'to',
'filters',
'timezone',
] as const) {
@Type(() => Number)
@IsInt()
@Min(0)
@Max(150)
take: number
@Type(() => Number)
@IsInt()
@Min(0)
skip: number
@ApiProperty({
example: {
showResolved: true,
},
description: 'Errors list options',
})
options?: string
}