import { ApiProperty } from "@nestjs/swagger"; export class CaptchaResponseDto { @ApiProperty({ description: "Captcha challenge id — send back with POST /actor/login.", example: "f47ac10b-58cc-4372-a567-0e02b2c3d479", }) captchaId: string; @ApiProperty({ description: "Sample text", example: "sb20xe" }) text: string @ApiProperty({ description: "SVG captcha as a data URI — use as `` in the frontend.", example: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iLi4u", }) image: string; @ApiProperty({ description: "Unix timestamp (ms) when this captcha expires.", example: 1710000000000, }) expiresAt: number; }