refresh token

This commit is contained in:
2025-11-11 09:50:18 +03:30
parent 4c274c3118
commit e34b93aa83
8 changed files with 51 additions and 7 deletions
+9
View File
@@ -0,0 +1,9 @@
import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, IsString } from 'class-validator';
export class RefreshTokenDto {
@ApiProperty({ description: 'Refresh token' })
@IsString({ message: 'Refresh token must be a string' })
@IsNotEmpty({ message: 'Refresh token is required' })
refreshToken: string;
}