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; +}