mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 09:01:19 +00:00
Replace tRPC location.update mutation with POST /api/location using Hono route + requireSession middleware. Extract auth types (AuthUser, AuthToken) into auth/session.ts. Inject sessionManager via Hono context local to location handlers. Co-authored-by: Ona <no-reply@ona.com>
5 lines
156 B
TypeScript
5 lines
156 B
TypeScript
import type { auth } from "./index.ts"
|
|
|
|
export type AuthUser = typeof auth.$Infer.Session.user
|
|
export type AuthSession = typeof auth.$Infer.Session.session
|