@softr/sdk
Version:
The SDK for building Softr apps on TanStack Start. It lets an app interact with Softr: auth, datasources, workflows and integrations.
16 lines (15 loc) • 508 B
TypeScript
import { IntegrationAction } from "../action.js";
//#region src/core/integration.d.ts
interface IntegrationFetchInit {
params?: Record<string, string>;
query?: Record<string, string>;
headers?: Record<string, string>;
body?: string;
signal?: AbortSignal;
}
declare function integrationCreateFetcher(action: IntegrationAction): (init?: IntegrationFetchInit) => Promise<Response>;
declare const integration: {
createFetcher: typeof integrationCreateFetcher;
};
//#endregion
export { integration };