@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
45 lines (44 loc) • 1.05 kB
TypeScript
import { AirtableBases, AirtableOptions } from "./types.js";
import { TObject, TProperties } from "@sinclair/typebox";
//#region src/shared/datarecords/external/airtable/handler.d.ts
declare function saveRecord({
formData,
options,
properties,
accessToken
}: {
formData: FormData;
options: AirtableOptions;
properties: TProperties;
accessToken: string;
}): Promise<{
id: string;
} | null>;
declare function createTable({
name,
schema,
baseId,
accessToken
}: {
name: string;
schema: TObject;
baseId: string;
accessToken: string;
}): Promise<AirtableOptions | null>;
declare function updateTable({
baseId,
tableId,
newName,
newProperties,
accessToken
}: {
baseId: string;
tableId: string;
newName: string;
newProperties?: TProperties;
accessToken: string;
}): Promise<AirtableOptions | null>;
declare function fetchAirtableBases(accessToken: string): Promise<AirtableBases>;
//#endregion
export { createTable, fetchAirtableBases, saveRecord, updateTable };
//# sourceMappingURL=handler.d.ts.map