UNPKG

bknd

Version:

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

17 lines (16 loc) 909 B
import type { CliBkndConfig, CliCommand } from "cli/types"; import { type App } from "../../.."; import { type Platform } from "./platform"; import { type WithConfigOptions } from "../../../cli/utils/options"; export declare const run: CliCommand; export declare function makeConfigApp(_config: CliBkndConfig, platform?: Platform): Promise<App<import("../../..").Connection<unknown>, import("../../../core/types").PartialRec<import("../../..").ModuleConfigs>, import("../../../App").AppOptions>>; type RunOptions = WithConfigOptions<{ port: number; memory?: boolean; config?: string; dbUrl?: string; server: Platform; open?: boolean; }>; export declare function makeAppFromEnv(options?: Partial<RunOptions>): Promise<App<import("../../..").Connection<unknown>, import("../../../core/types").PartialRec<import("../../..").ModuleConfigs>, import("../../../App").AppOptions>>; export {};