- Changed the base image in Dockerfile to use a lighter node:alpine version. - Removed unused dependencies from package-lock.json and package.json, including @turbodocx/html-to-docx and jsdom. - Simplified LiveKit module by removing unnecessary services (LiveKitParticipantService, LiveKitRoomService) and adjusting related schemas and services for better maintainability. - Updated CollaborationSessionSchema to streamline access token creation and room management. - Commented out unused imports and services in various modules to enhance code clarity and reduce complexity.
11 lines
365 B
TypeScript
11 lines
365 B
TypeScript
import { Module } from '@nestjs/common'
|
|
import { DocumentService } from './document.service'
|
|
import { DocumentSchema } from './document.schema'
|
|
import { OpenaiModule } from 'src/OpenAI/openai.module'
|
|
@Module({
|
|
imports: [OpenaiModule],
|
|
providers: [DocumentService, DocumentSchema],
|
|
exports: [DocumentService, DocumentSchema],
|
|
})
|
|
export class DocumentModule {}
|