// Server-side db layer (phase 0 prototype of docs/backend-plan.md §3.1). Not yet part of inject.ts.
export { t } from "./fields"
export type { Field, FieldDef, FieldMeta } from "./fields"
export { model, defineDb, ref, setDbTransport, toMarci } from "./defineDb"
export type { DefineDbOptions } from "./defineDb"
export type { Db, Model, Schema, Row, Id, Insert, Update, Select, Where, Query, QueryObject, Result, Collection, ScalarSelect, Types } from "./types"
export type { Op, MarciOp, MarciTransport, JsonValue, Sub } from "./marci/query"
