Files
stack/apps/orchestrator/src/api/agents/dto/get-messages-query.dto.ts
Jason Woltje e0b28c91c3
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
feat(orchestrator): MS23 per-agent message history and SSE stream (#702)
Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
2026-03-07 17:15:30 +00:00

18 lines
300 B
TypeScript

import { Type } from "class-transformer";
import { IsInt, IsOptional, Max, Min } from "class-validator";
export class GetMessagesQueryDto {
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(1)
@Max(200)
limit = 50;
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(0)
skip = 0;
}