UNPKG

@softr/sdk

Version:

The SDK for building Softr apps on TanStack Start. It lets an app interact with Softr: auth, datasources, workflows and integrations.

20 lines (19 loc) • 642 B
import { createRecord, deleteRecord, exportRecords, getRecord, listRecords, updateRecord } from "./record.js"; import { listChoices, listOptions } from "../core/options.js"; import { chart, metric } from "./chart.js"; import "@tanstack/react-start/server-only"; //#region src/datasource/datasource.d.ts declare const ds: { list: typeof listRecords; export: typeof exportRecords; get: typeof getRecord; create: typeof createRecord; update: typeof updateRecord; delete: typeof deleteRecord; metric: typeof metric; chart: typeof chart; options: typeof listOptions; choices: typeof listChoices; }; //#endregion export { ds };