- chatRoutes factory with 7 REST endpoints for conversations and messages - All routes gated by assertBoard; company-scoped routes also use assertCompanyAccess - Mounted as api.use(chatRoutes(db)) after activityRoutes in app.ts - Export createConversationSchema/updateConversationSchema/createMessageSchema from @paperclipai/shared (were missing from main package index) - 11 vitest route tests passing |
||
|---|---|---|
| .. | ||
| src | ||
| CHANGELOG.md | ||
| package.json | ||
| tsconfig.json | ||