feat: server lint import & order (#750)

This commit is contained in:
Jérémy M
2023-07-19 14:01:32 +02:00
committed by GitHub
parent 8af88d1ab3
commit ce3e023a00
155 changed files with 1165 additions and 304 deletions

View File

@ -1,4 +1,5 @@
import { ArgsType, Field } from '@nestjs/graphql';
import { IsEmail, IsNotEmpty, IsString } from 'class-validator';
@ArgsType()

View File

@ -1,4 +1,5 @@
import { Field, ObjectType } from '@nestjs/graphql';
import { AuthToken } from './token.entity';
@ObjectType()

View File

@ -1,4 +1,5 @@
import { ArgsType, Field } from '@nestjs/graphql';
import { IsNotEmpty, IsString } from 'class-validator';
@ArgsType()

View File

@ -1,4 +1,5 @@
import { ArgsType, Field } from '@nestjs/graphql';
import { IsEmail, IsNotEmpty, IsOptional, IsString } from 'class-validator';
@ArgsType()

View File

@ -1,4 +1,5 @@
import { ArgsType, Field } from '@nestjs/graphql';
import { IsNotEmpty, IsString } from 'class-validator';
@ArgsType()

View File

@ -1,7 +1,9 @@
import { Field, ObjectType } from '@nestjs/graphql';
import { AuthTokens } from './token.entity';
import { User } from 'src/core/@generated/user/user.model';
import { AuthTokens } from './token.entity';
@ObjectType()
export class Verify extends AuthTokens {
@Field(() => User)

View File

@ -1,4 +1,5 @@
import { ArgsType, Field } from '@nestjs/graphql';
import { IsNotEmpty, IsString } from 'class-validator';
@ArgsType()

View File

@ -1,4 +1,5 @@
import { ArgsType, Field } from '@nestjs/graphql';
import { IsNotEmpty, IsString, MinLength } from 'class-validator';
@ArgsType()