📈 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
add dto
Maksim Mrug355628c6f7e1
diff --git a/apps/production/src/analytics/dto/get-filters.dto.ts b/apps/production/src/analytics/dto/get-filters.dto.tsnew file mode 100644index 000000000..408bf0fc5--- /dev/null+++ b/apps/production/src/analytics/dto/get-filters.dto.ts@@ -0,0 +1,20 @@+import { ApiProperty } from '@nestjs/swagger'+import { IsNotEmpty } from 'class-validator'++export class GetFiltersDto {+ @ApiProperty({+ example: 'aUn1quEid-3',+ required: true,+ description: 'The project ID',+ })+ @IsNotEmpty()+ pid: string++ @ApiProperty({+ example: 'br',+ required: true,+ description: 'Params type. Example: br, os, cc, etc.',+ })+ @IsNotEmpty()+ type: string+}