UNPKG

bknd

Version:

Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.

6 lines (5 loc) 355 B
import { s } from "bknd/utils"; import { type SchemaWithMcpOptions } from "./McpSchemaHelper"; export interface SchemaToolSchemaOptions extends s.ISchemaOptions, SchemaWithMcpOptions { } export declare const $schema: <const S extends s.Schema, const O extends SchemaToolSchemaOptions = SchemaToolSchemaOptions>(name: string, schema: S, options?: O) => S;