feat(engagement): Update EngagementQuery DTO to support additional query parameters and modify response structure

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-04-06 14:21:43 -07:00
parent dd50408432
commit 4516ffb282

View file

@ -41,7 +41,7 @@ export class EngagementQueryDto {
@Type(() => Number)
@IsInt()
@Min(1)
@Max(100)
@Max(500)
limit?: number = 20;
}
@ -102,3 +102,21 @@ export class UserFlowQueryDto {
@Max(50)
limit?: number = 10;
}
export class NavigationFlowsQueryDto {
@IsString()
from!: string;
@IsDateString()
startDate!: string;
@IsDateString()
endDate!: string;
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(1)
@Max(50)
limit?: number = 10;
}