mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-27 07:58:55 -07:00
turso migration
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user