targo-backend/src/identity-and-account/identity-and-account.module.ts
2025-11-13 15:23:17 -05:00

36 lines
1.6 KiB
TypeScript

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 { EmployeesModule } from "src/identity-and-account/employees/employees.module";
import { EmployeesArchivalService } from "src/identity-and-account/employees/services/employees-archival.service";
import { EmployeesService } from "src/identity-and-account/employees/services/employees.service";
import { PreferencesController } from "src/identity-and-account/preferences/controllers/preferences.controller";
import { PreferencesModule } from "src/identity-and-account/preferences/preferences.module";
import { PreferencesService } from "src/identity-and-account/preferences/services/preferences.service";
import { UsersService } from "src/identity-and-account/users-management/services/users.service";
import { UsersModule } from "src/identity-and-account/users-management/users.module";
@Module({
imports: [
UsersModule,
EmployeesModule,
PreferencesModule,
AuthModuleOptions,
],
controllers: [
AuthController,
EmployeesController,
PreferencesController,
],
providers: [
AuthentikAuthService,
EmployeesArchivalService,
EmployeesService,
PreferencesService,
UsersService,
],
})
export class IdentityAndAccountModule { };