UNPKG

bknd

Version:

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

21 lines (20 loc) 776 B
import { Task } from "../Task"; import { s } from "bknd/utils"; export declare class SubFlowTask<Output extends Record<string, any>> extends Task<typeof SubFlowTask.schema, Output> { type: string; static schema: s.ObjectSchema<{ readonly flow: s.Schema<s.IAnyOptions, any, any> & s.IAnyOptions; readonly input: { [x: string]: any; [x: number]: any; } & s.Schema<s.ISchemaOptions, any, any>; readonly loop: { default?: any; enum?: (readonly any[] | any[]) | undefined; const?: any; } & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>; }, s.Merge<s.IObjectOptions & { additionalProperties: false; }>>; execute(): Promise<any>; }