17 lines
770 B
TypeScript
17 lines
770 B
TypeScript
|
|
import { Module } from '@nestjs/common';
|
||
|
|
import { WorkspaceController } from './workspace.controller';
|
||
|
|
import { WorkspaceService } from './workspace.service';
|
||
|
|
import { WorkspaceRepository } from './workspace.repository';
|
||
|
|
import { PrismaService } from '../../infrastructure/database/prisma.service';
|
||
|
|
import { EventBusModule } from '../../common/event-bus/event-bus.module';
|
||
|
|
import { RedisModule } from '../../infrastructure/redis/redis.module';
|
||
|
|
import { ContentSafetyModule } from '../content-safety/content-safety.module';
|
||
|
|
|
||
|
|
@Module({
|
||
|
|
imports: [EventBusModule, RedisModule, ContentSafetyModule],
|
||
|
|
controllers: [WorkspaceController],
|
||
|
|
providers: [WorkspaceService, WorkspaceRepository, PrismaService],
|
||
|
|
exports: [WorkspaceService],
|
||
|
|
})
|
||
|
|
export class WorkspaceModule {}
|