📈 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 { ApiProperty } from '@nestjs/swagger'
import { IsBoolean, IsEmail, IsString } from 'class-validator'
export class UserGithubDTO {
@ApiProperty({ example: 12345, required: true })
@IsString()
githubId: number
@ApiProperty({ required: true })
@IsBoolean()
registeredWithGithub: boolean
@ApiProperty({ example: '[email protected]', required: false })
@IsEmail()
email?: string
@ApiProperty({ example: 1, required: false })
emailRequests: number
@ApiProperty({ example: true, required: false })
isActive: boolean
}