mirror of
https://github.com/get-drexa/drive.git
synced 2025-12-01 22:11:39 +00:00
12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
import { Hono } from "hono"
|
|
import type { ApiKeyContextVariable } from "./auth"
|
|
import type { ConvexContextVariables } from "./convex"
|
|
|
|
type ContextVariables = ConvexContextVariables & ApiKeyContextVariable
|
|
|
|
export function newRouter() {
|
|
return new Hono<{
|
|
Variables: ContextVariables
|
|
}>()
|
|
}
|