clean(imports): module import cleaning
This commit is contained in:
parent
292013a846
commit
7968359bfe
|
|
@ -15,6 +15,48 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"/auth/v1/login": {
|
||||||
|
"get": {
|
||||||
|
"operationId": "AuthController_login",
|
||||||
|
"parameters": [],
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tags": [
|
||||||
|
"Auth"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"/auth/callback": {
|
||||||
|
"get": {
|
||||||
|
"operationId": "AuthController_loginCallback",
|
||||||
|
"parameters": [],
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tags": [
|
||||||
|
"Auth"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"/auth/me": {
|
||||||
|
"get": {
|
||||||
|
"operationId": "AuthController_getProfile",
|
||||||
|
"parameters": [],
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tags": [
|
||||||
|
"Auth"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"/notifications/summary": {
|
"/notifications/summary": {
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "NotificationsController_summary",
|
"operationId": "NotificationsController_summary",
|
||||||
|
|
@ -521,48 +563,6 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/auth/v1/login": {
|
|
||||||
"get": {
|
|
||||||
"operationId": "AuthController_login",
|
|
||||||
"parameters": [],
|
|
||||||
"responses": {
|
|
||||||
"200": {
|
|
||||||
"description": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tags": [
|
|
||||||
"Auth"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"/auth/callback": {
|
|
||||||
"get": {
|
|
||||||
"operationId": "AuthController_loginCallback",
|
|
||||||
"parameters": [],
|
|
||||||
"responses": {
|
|
||||||
"200": {
|
|
||||||
"description": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tags": [
|
|
||||||
"Auth"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"/auth/me": {
|
|
||||||
"get": {
|
|
||||||
"operationId": "AuthController_getProfile",
|
|
||||||
"parameters": [],
|
|
||||||
"responses": {
|
|
||||||
"200": {
|
|
||||||
"description": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tags": [
|
|
||||||
"Auth"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"/employees/profile": {
|
"/employees/profile": {
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "EmployeesController_findOneProfile",
|
"operationId": "EmployeesController_findOneProfile",
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,12 @@ import { APP_FILTER, APP_PIPE } from '@nestjs/core';
|
||||||
import { HttpExceptionFilter } from './common/filters/http-exception.filter';
|
import { HttpExceptionFilter } from './common/filters/http-exception.filter';
|
||||||
import { ValidationError } from 'class-validator';
|
import { ValidationError } from 'class-validator';
|
||||||
import { TimeAndAttendanceModule } from 'src/time-and-attendance/time-and-attendance.module';
|
import { TimeAndAttendanceModule } from 'src/time-and-attendance/time-and-attendance.module';
|
||||||
|
import { AuthenticationModule } from 'src/identity-and-account/authentication/auth.module';
|
||||||
import { IdentityAndAccountModule } from 'src/identity-and-account/identity-and-account.module';
|
import { IdentityAndAccountModule } from 'src/identity-and-account/identity-and-account.module';
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [
|
imports: [
|
||||||
|
AuthenticationModule,
|
||||||
ConfigModule.forRoot({ isGlobal: true }),
|
ConfigModule.forRoot({ isGlobal: true }),
|
||||||
ScheduleModule.forRoot(), //cronjobs
|
ScheduleModule.forRoot(), //cronjobs
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
import { Module } from "@nestjs/common";
|
import { Module } from "@nestjs/common";
|
||||||
import { AuthModuleOptions } from "@nestjs/passport";
|
|
||||||
import { AuthController } from "src/identity-and-account/authentication/controllers/auth.controller";
|
|
||||||
import { AuthentikAuthService } from "src/identity-and-account/authentication/services/authentik-auth.service";
|
|
||||||
import { EmployeesController } from "src/identity-and-account/employees/controllers/employees.controller";
|
import { EmployeesController } from "src/identity-and-account/employees/controllers/employees.controller";
|
||||||
import { EmployeesModule } from "src/identity-and-account/employees/employees.module";
|
import { EmployeesModule } from "src/identity-and-account/employees/employees.module";
|
||||||
import { EmployeesArchivalService } from "src/identity-and-account/employees/services/employees-archival.service";
|
import { EmployeesArchivalService } from "src/identity-and-account/employees/services/employees-archival.service";
|
||||||
|
|
@ -17,15 +14,12 @@ import { UsersModule } from "src/identity-and-account/users-management/users.mod
|
||||||
UsersModule,
|
UsersModule,
|
||||||
EmployeesModule,
|
EmployeesModule,
|
||||||
PreferencesModule,
|
PreferencesModule,
|
||||||
AuthModuleOptions,
|
|
||||||
],
|
],
|
||||||
controllers: [
|
controllers: [
|
||||||
AuthController,
|
|
||||||
EmployeesController,
|
EmployeesController,
|
||||||
PreferencesController,
|
PreferencesController,
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
AuthentikAuthService,
|
|
||||||
EmployeesArchivalService,
|
EmployeesArchivalService,
|
||||||
EmployeesService,
|
EmployeesService,
|
||||||
PreferencesService,
|
PreferencesService,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user