Format import statements consistently
Refactored `import` statements in multiple files for consistent formatting. Grouped similar statements together and ensured single import per line for better readability.
This commit is contained in:
parent
84c66bcf05
commit
6600c6310a
@ -6,10 +6,11 @@ import {
|
|||||||
Param,
|
Param,
|
||||||
ParseIntPipe,
|
ParseIntPipe,
|
||||||
Post,
|
Post,
|
||||||
Query, UseGuards
|
Query,
|
||||||
} from '@nestjs/common';
|
UseGuards,
|
||||||
|
} from "@nestjs/common";
|
||||||
|
import { AdminGuard } from "apps/backend/src/app/auth/auth.guard";
|
||||||
import { AuthorsService } from "apps/backend/src/app/authors/authors.service";
|
import { AuthorsService } from "apps/backend/src/app/authors/authors.service";
|
||||||
import { AdminGuard } from 'apps/backend/src/app/auth/auth.guard';
|
|
||||||
|
|
||||||
@Controller("authors")
|
@Controller("authors")
|
||||||
export class AuthorsController {
|
export class AuthorsController {
|
||||||
|
@ -7,12 +7,13 @@ import {
|
|||||||
Param,
|
Param,
|
||||||
ParseIntPipe,
|
ParseIntPipe,
|
||||||
Post,
|
Post,
|
||||||
Query, UseGuards
|
Query,
|
||||||
} from '@nestjs/common';
|
UseGuards,
|
||||||
|
} from "@nestjs/common";
|
||||||
|
import { AdminGuard } from "apps/backend/src/app/auth/auth.guard";
|
||||||
import { CreateGroupDto } from "apps/backend/src/app/groups/groups.dto";
|
import { CreateGroupDto } from "apps/backend/src/app/groups/groups.dto";
|
||||||
import { ISearchQuery } from "apps/backend/src/app/groups/groups.types";
|
import { ISearchQuery } from "apps/backend/src/app/groups/groups.types";
|
||||||
import { GroupsService } from "./groups.service";
|
import { GroupsService } from "./groups.service";
|
||||||
import { AdminGuard } from 'apps/backend/src/app/auth/auth.guard';
|
|
||||||
|
|
||||||
@Controller("groups")
|
@Controller("groups")
|
||||||
export class GroupsController {
|
export class GroupsController {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { Module } from "@nestjs/common";
|
import { Module } from "@nestjs/common";
|
||||||
|
import { CredentialsModule } from "apps/backend/src/app/credentials/credentials.module";
|
||||||
import { DbModule } from "apps/backend/src/app/db/db.module";
|
import { DbModule } from "apps/backend/src/app/db/db.module";
|
||||||
import { MachinesController } from "apps/backend/src/app/machines/machines.controller";
|
import { MachinesController } from "apps/backend/src/app/machines/machines.controller";
|
||||||
import { MachinesService } from "apps/backend/src/app/machines/machines.service";
|
import { MachinesService } from "apps/backend/src/app/machines/machines.service";
|
||||||
import { CredentialsModule } from 'apps/backend/src/app/credentials/credentials.module';
|
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [DbModule, CredentialsModule],
|
imports: [DbModule, CredentialsModule],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user