mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 09:42:53 +00:00
18 lines
672 B
TypeScript
18 lines
672 B
TypeScript
import { Module } from "@nestjs/common";
|
|
import { TypeOrmModule } from "@nestjs/typeorm";
|
|
|
|
import { Role } from "@tria-plc/iamapi-common/entities/iam/user/role.entity";
|
|
import { UserRole } from "@tria-plc/iamapi-common/entities/iam/user/user-role.entity";
|
|
import { User } from "@tria-plc/iamapi-common/entities/iam/user/user.entity";
|
|
|
|
import { BackofficeController } from "./backoffice.controller";
|
|
import { BackofficeService } from "./backoffice.service";
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Role, UserRole, User])],
|
|
controllers: [BackofficeController],
|
|
providers: [BackofficeService],
|
|
exports: [BackofficeService],
|
|
})
|
|
export class BackofficeModule {}
|