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>
25 lines
516 B
JSON
25 lines
516 B
JSON
{
|
|
"name": "@aris/backend",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"main": "src/server.ts",
|
|
"scripts": {
|
|
"dev": "bun run --watch src/server.ts",
|
|
"start": "bun run src/server.ts",
|
|
"test": "bun test src/"
|
|
},
|
|
"dependencies": {
|
|
"@aris/core": "workspace:*",
|
|
"@aris/source-location": "workspace:*",
|
|
"@aris/source-tfl": "workspace:*",
|
|
"@aris/source-weatherkit": "workspace:*",
|
|
"arktype": "^2.1.29",
|
|
"better-auth": "^1",
|
|
"hono": "^4",
|
|
"pg": "^8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/pg": "^8"
|
|
}
|
|
}
|