UNPKG

bknd

Version:

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

15 lines (14 loc) 403 B
import type { Entity } from "../../entities"; import { Field } from "../Field"; export declare class EntityIndex { entity: Entity; fields: Field[]; unique: boolean; name?: string | undefined; constructor(entity: Entity, fields: Field[], unique?: boolean, name?: string | undefined); toJSON(): { entity: string; fields: string[]; unique: boolean; }; }