turso migration

This commit is contained in:
Devin Zuczek
2026-09-27 15:38:52 -04:00
parent b32b16c1f0
commit 3f2cf2e700
34 changed files with 946 additions and 49 deletions
+3 -2
View File
@@ -10,6 +10,7 @@ import {
getPlayerList,
getRecentlyUpdatedRooms,
getVisitedRooms,
withDatabase,
} from '@repo/domain'
import { withCleanSpec, withNotFound, withOnError } from '@repo/hono-helpers'
import { validateAndGetAccountId } from '@repo/jwt'
@@ -41,7 +42,7 @@ import {
import type { Context } from 'hono'
import type { CuratedList, Room } from '@repo/domain'
import type { CatalogKindValue } from '../../econ/src/catalog-load'
import type { App } from './context'
import type { App, Env } from './context'
// The item catalog's sellable-rarity rule, from the worker that owns the table. Imported
// rather than restated so a row can never offer an id the storefront omits.
@@ -1006,4 +1007,4 @@ app.get(
)
)
export default app
export default withDatabase<Env>(app)