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:
2024-12-02 17:29:07 +07:00
parent 174290c9fb
commit b10d0cdde7
13 changed files with 444 additions and 2656 deletions

View File

@@ -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 {}