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,11 +2,10 @@ import { Module } from '@nestjs/common'
|
||||
import { CollaborationSessionSchema } from './collaborationsession.schema'
|
||||
import { LiveKitModule } from 'src/LiveKit/livekit.module'
|
||||
import { LiveKitService } from 'src/LiveKit/livekit.service'
|
||||
import { LiveKitParticipantService } from 'src/LiveKit/livekit.participant.service'
|
||||
import { LiveKitRoomService } from 'src/LiveKit/livekit.room.service'
|
||||
|
||||
@Module({
|
||||
imports: [LiveKitModule],
|
||||
providers: [CollaborationSessionSchema, LiveKitService, LiveKitParticipantService, LiveKitRoomService],
|
||||
providers: [CollaborationSessionSchema, LiveKitService],
|
||||
exports: [CollaborationSessionSchema],
|
||||
})
|
||||
export class CollaborationSessionModule {}
|
||||
|
||||
Reference in New Issue
Block a user