Uecko_ERP/apps/server/src/contexts/auth/application/index.ts
2025-02-01 22:48:13 +01:00

12 lines
601 B
TypeScript

export * from "./auth-service.interface";
import { ITransactionManager } from "@common/infrastructure/database";
import { SequelizeTransactionManager } from "@common/infrastructure/sequelize/sequelize-transaction-manager";
import { AuthenticatedUserRepository } from "../infraestructure";
import { AuthService } from "./auth.service";
const transactionManager: ITransactionManager = new SequelizeTransactionManager();
const authenticatedUserRepository = new AuthenticatedUserRepository();
const authService = new AuthService(authenticatedUserRepository, transactionManager);
export { authService };