move rooms schema to package

This commit is contained in:
Devin Zuczek
2026-07-09 20:57:29 -04:00
parent 6d343066a0
commit 7686bf7bf6
13 changed files with 117 additions and 151 deletions
+3 -4
View File
@@ -1,9 +1,6 @@
import { Hono } from 'hono'
import { useWorkersLogger } from 'workers-tagged-logger'
import { logger, withNotFound, withOnError } from '@repo/hono-helpers'
import { validateAndGetAccountId } from '@repo/jwt'
import {
cloneRoom,
findSubRoom,
@@ -30,7 +27,9 @@ import {
toggleCheer,
toggleFavorite,
toggleRoomTag,
} from './rooms-db'
} from '@repo/domain'
import { logger, withNotFound, withOnError } from '@repo/hono-helpers'
import { validateAndGetAccountId } from '@repo/jwt'
import type { Context } from 'hono'
import type { App } from './context'