bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
7 lines (6 loc) • 315 B
TypeScript
import { s } from "bknd/utils";
export declare function rescursiveClean(input: s.Schema, opts?: {
removeRequired?: boolean;
removeDefault?: boolean;
}): s.Schema;
export declare function excludePropertyTypes(input: s.ObjectSchema<any, any>, props: (instance: s.Schema | unknown) => boolean): s.TProperties;