All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
16 lines
306 B
TypeScript
16 lines
306 B
TypeScript
import { Type } from "class-transformer";
|
|
import { IsInt, IsOptional, IsString, Max, Min } from "class-validator";
|
|
|
|
export class GetMissionControlMessagesQueryDto {
|
|
@IsOptional()
|
|
@Type(() => Number)
|
|
@IsInt()
|
|
@Min(1)
|
|
@Max(200)
|
|
limit?: number;
|
|
|
|
@IsOptional()
|
|
@IsString()
|
|
before?: string;
|
|
}
|