UNPKG

bknd

Version:

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

16 lines (15 loc) 425 B
import type { Entity } from "../entities"; export declare class EntityRelationAnchor { entity: Entity; cardinality?: number; /** * The name that the other entity will use to reference this entity */ reference: string; constructor(entity: Entity, name: string, cardinality?: number); toJSON(): { entity: string; cardinality: number | undefined; name: string; }; }