bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
10 lines (9 loc) • 570 B
TypeScript
import { D1Connection, type D1ConnectionConfig } from "./connection/D1Connection";
export * from "./cloudflare-workers.adapter";
export { makeApp, getFresh } from "./modes/fresh";
export { getCached } from "./modes/cached";
export { DurableBkndApp, getDurable } from "./modes/durable";
export { D1Connection, type D1ConnectionConfig };
export { getBinding, getBindings, type BindingTypeMap, type GetBindingType, type BindingMap, } from "./bindings";
export { constants } from "./config";
export declare function d1(config: D1ConnectionConfig): D1Connection<D1Database>;