mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
19 lines
552 B
TypeScript
19 lines
552 B
TypeScript
import { D1Connection, type D1ConnectionConfig } from "./D1Connection";
|
|
|
|
export * from "./cloudflare-workers.adapter";
|
|
export { makeApp, getFresh, getWarm } 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 function d1(config: D1ConnectionConfig) {
|
|
return new D1Connection(config);
|
|
}
|