mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 23:24:21 +00:00
15 lines
404 B
TypeScript
15 lines
404 B
TypeScript
import { Hono } from 'hono'
|
|||
|
|
import type { Prisma } from '@shumai/db'
|
||
|
|
import goalsRoute from './goals'
|
||
|
|
import tasksRoute from './tasks'
|
||
|
|
import commentsRoute from './comments'
|
||
|
|
|
||
|
|
type User = Prisma.UserGetPayload<Record<string, never>>
|
||
|
|
|
||
|
|
const kanbanRoute = new Hono<{ Variables: { user: User } }>()
|
||
|
|
.route('/', goalsRoute)
|
||
|
|
.route('/', tasksRoute)
|
||
|
|
.route('/', commentsRoute)
|
||
|
|
|
||
|
|
export default kanbanRoute
|