bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
29 lines (28 loc) • 1.19 kB
TypeScript
import { FetchTask } from "./tasks/presets/FetchTask";
import { LogTask } from "./tasks/presets/LogTask";
import { RenderTask } from "./tasks/presets/RenderTask";
import { SubFlowTask } from "./tasks/presets/SubFlowTask";
export { Flow } from "./flows/Flow";
export { Execution, type TaskLog, type InputsMap, ExecutionState, ExecutionEvent, } from "./flows/Execution";
export { RuntimeExecutor } from "./flows/executors/RuntimeExecutor";
export { FlowTaskConnector } from "./flows/FlowTaskConnector";
export { Trigger, EventTrigger, HttpTrigger, TriggerMap, type TriggerMapType, } from "./flows/triggers";
import { Task } from "./tasks/Task";
export type { TaskResult, TaskRenderProps } from "./tasks/Task";
export { TaskConnection, Condition } from "./tasks/TaskConnection";
export declare const TaskMap: {
readonly fetch: {
readonly cls: typeof FetchTask;
};
readonly log: {
readonly cls: typeof LogTask;
};
readonly render: {
readonly cls: typeof RenderTask;
};
readonly subflow: {
readonly cls: typeof SubFlowTask;
};
};
export type TaskMapType = typeof TaskMap;
export { Task, FetchTask, LogTask, RenderTask, SubFlowTask };