UNPKG

convex

Version:

Client for the Convex Cloud

22 lines 1.11 kB
import esbuild from "esbuild"; import { Filesystem } from "./fs.js"; export { nodeFs, RecordingFs } from "./fs.js"; export type { Filesystem } from "./fs.js"; export declare const actionsDir = "actions"; export declare function walkDir(fs: Filesystem, dirPath: string): Generator<{ isDir: boolean; path: string; }, void, void>; export interface Bundle { path: string; source: string; sourceMap?: string; } export declare class BundleError extends Error { } export declare function bundle(fs: Filesystem, dir: string, entryPoints: string[], generateSourceMaps: boolean, platform: esbuild.Platform, chunksFolder?: string): Promise<Bundle[]>; export declare function bundleSchema(fs: Filesystem, dir: string): Promise<Bundle[]>; export declare function allEntryPoints(fs: Filesystem, dir: string, verbose: boolean): Promise<string[]>; export declare function databaseEntryPoints(fs: Filesystem, dir: string, verbose: boolean): Promise<string[]>; export declare function actionsEntryPoints(fs: Filesystem, dir: string, verbose: boolean): Promise<string[]>; //# sourceMappingURL=index.d.ts.map