mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-14 00:26:51 +08:00
c41d613b6e
#### PR Dependency Tree * **PR #15146** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **Refactor** * Reworked real-time backend wiring to centralize workspace, comments, and Copilot embedding handlers under a unified server setup. * Updated Copilot embedding real-time handling to use context configuration when publishing updates. * **New Features** * Added automatic startup validation to ensure all required real-time request/topic handlers are registered (for applicable server flavors). * **Bug Fixes** * Workspace real-time access now determines team status from quota state. * Improved Copilot embedding progress publishing (including completion events). * **Tests** * Expanded real-time registry completeness and Copilot embedding provider coverage. * Added quota-state restoration coverage after clearing stale expiry. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
19 lines
451 B
TypeScript
19 lines
451 B
TypeScript
import { Module } from '@nestjs/common';
|
|
|
|
import { CommentRealtimeModule } from './core/comment';
|
|
import { WorkspaceRealtimeModule } from './core/workspaces';
|
|
import {
|
|
CopilotEmbeddingRealtimeModule,
|
|
CopilotRealtimeModule,
|
|
} from './plugins/copilot';
|
|
|
|
@Module({
|
|
imports: [
|
|
WorkspaceRealtimeModule,
|
|
CommentRealtimeModule,
|
|
CopilotEmbeddingRealtimeModule,
|
|
CopilotRealtimeModule,
|
|
],
|
|
})
|
|
export class ServerRealtimeHandlersModule {}
|