@softr/sdk
Version:
The SDK for building Softr apps on TanStack Start. It lets an app interact with Softr: auth, datasources, workflows and integrations.
10 lines (9 loc) • 339 B
TypeScript
import { WorkflowAction } from "../action.js";
//#region src/core/workflow.d.ts
type FlatValue = string | number | boolean | null;
declare function triggerWorkflow(action: WorkflowAction, payload?: Record<string, FlatValue>): Promise<void>;
declare const workflow: {
trigger: typeof triggerWorkflow;
};
//#endregion
export { workflow };