auth graph

This commit is contained in:
2025-11-21 16:27:49 +03:30
parent 89593d0f2e
commit 7505c29c78
16 changed files with 1356 additions and 205 deletions
@@ -0,0 +1,11 @@
import { Field, InputType } from '@nestjs/graphql';
import { IsNotEmpty, IsString } from 'class-validator';
@InputType()
export class RefreshTokenInput {
@Field(() => String, { description: 'Refresh token' })
@IsString({ message: 'Refresh token must be a string' })
@IsNotEmpty({ message: 'Refresh token is required' })
refreshToken: string;
}