Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 18x 6x | import { forwardRef, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import {
Session,
Project,
ContextTemplate,
SystemPrompt,
SessionInput,
AIAction,
ExecutionLog,
} from '../core-entities';
import { SessionsService } from './sessions.service';
import { SessionsController } from './sessions.controller';
import { MulterModule } from '@nestjs/platform-express';
import { SessionTransferModule } from '../session-transfer/session-transfer.module';
import { SessionFollowupModule } from '../session-followup/session-followup.module';
import { ApplicationStateModule } from '../application-state/application-state.module';
import { MessageBusModule } from '../message-bus/message-bus.module';
@Module({
imports: [
TypeOrmModule.forFeature([
Session,
Project,
ContextTemplate,
SystemPrompt,
SessionInput,
AIAction,
ExecutionLog,
]),
MulterModule.register({
limits: {
fileSize: 50 * 1024 * 1024, // 50MB
},
}),
SessionTransferModule,
forwardRef(() => SessionFollowupModule),
ApplicationStateModule,
MessageBusModule,
],
controllers: [SessionsController],
providers: [SessionsService],
exports: [SessionsService],
})
export class SessionsModule {}
|