import { ApiProperty } from "@nestjs/swagger";
import { IsString, Length } from "class-validator";

export class RefreshDto {
  @ApiProperty({ description: "Refresh token devuelto por /admin/auth/login." })
  @IsString()
  @Length(20, 2048)
  refreshToken!: string;
}
