/*
 * The SERVER inject module — the globals available in `*.server.ts` files (docs/backend-plan.md §4).
 * chisel injects these into the server bundle exactly like ./inject.ts does for the client bundle;
 * nothing here may reach the client bundle. Keep this the ONLY file that exports server globals.
 *
 * Globals: t, model, defineDb, ref (schema + queries), ApiError, channel, request, auth.
 */

export { t, model, defineDb, ref } from "./db"
export { ApiError } from "./errors"
export { channel } from "./channel"
export { request } from "./context"
export { auth } from "./auth/global"
