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
@@ -7,11 +7,13 @@ import {
UseGuards,
} from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';
import { Response } from 'express';
import { GoogleRequest } from '../strategies/google.auth.strategy';
import { UserService } from '../../user/user.service';
import { TokenService } from '../services/token.service';
import { GoogleProviderEnabledGuard } from '../guards/google-provider-enabled.guard';
import { GoogleRequest } from 'src/core/auth/strategies/google.auth.strategy';
import { UserService } from 'src/core/user/user.service';
import { TokenService } from 'src/core/auth/services/token.service';
import { GoogleProviderEnabledGuard } from 'src/core/auth/guards/google-provider-enabled.guard';
@Controller('auth/google')
export class GoogleAuthController {
@@ -1,7 +1,9 @@
import { Test, TestingModule } from '@nestjs/testing';
import { AuthService } from 'src/core/auth/services/auth.service';
import { TokenService } from 'src/core/auth/services/token.service';
import { VerifyAuthController } from './verify-auth.controller';
import { AuthService } from '../services/auth.service';
import { TokenService } from '../services/token.service';
describe('VerifyAuthController', () => {
let controller: VerifyAuthController;
@@ -1,8 +1,9 @@
import { Body, Controller, Post } from '@nestjs/common';
import { AuthService } from '../services/auth.service';
import { VerifyInput } from '../dto/verify.input';
import { Verify } from '../dto/verify.entity';
import { TokenService } from '../services/token.service';
import { AuthService } from 'src/core/auth/services/auth.service';
import { VerifyInput } from 'src/core/auth/dto/verify.input';
import { Verify } from 'src/core/auth/dto/verify.entity';
import { TokenService } from 'src/core/auth/services/token.service';
@Controller('auth/verify')
export class VerifyAuthController {