From acc17bf29166c04cbedb8aa3108055d63c262dc3 Mon Sep 17 00:00:00 2001 From: enlineawork Date: Sat, 5 Sep 2026 20:20:16 -0300 Subject: [PATCH] =?UTF-8?q?F2.2:=20agregar=20DTO=20de=20refresh=20m=C3=B3v?= =?UTF-8?q?il?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-v3/src/auth/dto/mobile-refresh.dto.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 api-v3/src/auth/dto/mobile-refresh.dto.ts diff --git a/api-v3/src/auth/dto/mobile-refresh.dto.ts b/api-v3/src/auth/dto/mobile-refresh.dto.ts new file mode 100644 index 0000000..a3794e7 --- /dev/null +++ b/api-v3/src/auth/dto/mobile-refresh.dto.ts @@ -0,0 +1,8 @@ +import { IsString, MaxLength, MinLength } from 'class-validator'; + +export class MobileRefreshDto { + @IsString() + @MinLength(32) + @MaxLength(256) + refreshToken!: string; +}