feat: global block library tree + grouping tool — 19 files, 588 tests green
This commit is contained in:
@@ -66,6 +66,7 @@ export async function createServer(opts: ServerOptions) {
|
||||
const { registerAIRoutes } = await import('./routes/ai.js');
|
||||
const { registerNotificationRoutes } = await import('./routes/notifications.js');
|
||||
const { registerShareRoutes } = await import('./routes/shares.js');
|
||||
const { registerGlobalBlockRoutes } = await import('./routes/globalBlocks.js');
|
||||
|
||||
const authService = new AuthService(opts.db);
|
||||
|
||||
@@ -100,6 +101,7 @@ export async function createServer(opts: ServerOptions) {
|
||||
registerAIRoutes(fastify, authService);
|
||||
registerNotificationRoutes(fastify, opts.db, authService);
|
||||
registerShareRoutes(fastify, opts.db, authService);
|
||||
registerGlobalBlockRoutes(fastify, opts.db, authService);
|
||||
|
||||
// Yjs collaboration WebSocket
|
||||
registerYjsWebSocket(fastify, authService);
|
||||
|
||||
Reference in New Issue
Block a user