refactor: update LiveKit integration and clean up unused services
- 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.
This commit is contained in:
@@ -2,10 +2,9 @@ import { Module } from '@nestjs/common'
|
||||
import { DocumentService } from './document.service'
|
||||
import { DocumentSchema } from './document.schema'
|
||||
import { OpenaiModule } from 'src/OpenAI/openai.module'
|
||||
import { JSDOM } from 'jsdom'
|
||||
@Module({
|
||||
imports: [OpenaiModule],
|
||||
providers: [JSDOM, DocumentService, DocumentSchema],
|
||||
providers: [DocumentService, DocumentSchema],
|
||||
exports: [DocumentService, DocumentSchema],
|
||||
})
|
||||
export class DocumentModule {}
|
||||
|
||||
Reference in New Issue
Block a user