import { Airtable } from "https://deno.land/x/airtable/mod.ts";
type Airtable = {
apiKey: string;
};
type AirtableTable = {
baseId: string;
tableName: string;
};
export async function main(atCon: Airtable, atTable: AirtableTable) {
const airtable = new Airtable({ ...atCon, ...atTable });
const result_list = await airtable.select();
return { results: result_list };
}
Submitted by hugo697 494 days ago
import { Airtable } from "https://deno.land/x/airtable/mod.ts";
type Airtable = {
apiKey: string;
};
type AirtableTable = {
baseId: string;
tableName: string;
};
export async function main(at_con: Airtable, at_table: AirtableTable) {
const airtable = new Airtable({ ...at_con, ...at_table });
const result_list = await airtable.select();
return { results: result_list };
}
Submitted by admin 497 days ago
import { Airtable } from "https://deno.land/x/airtable/mod.ts";
type Airtable = {
apiKey: string;
};
type AirtableTable = {
baseId: string;
tableName: string;
};
export async function main(at_con: Airtable, at_table: AirtableTable) {
const airtable = new Airtable({...at_con, ...at_table});
const result_list = await airtable.select();
return { results: result_list };
}
Submitted by admin 500 days ago
import { Airtable } from "https://deno.land/x/airtable/mod.ts";
export async function main(at_con: wmill.Resource <"airtable">, at_table: wmill.Resource <"airtable_table">) {
const airtable = new Airtable({...at_con, ...at_table});
const result_list = await airtable.select();
return { results: result_list };
}
Submitted by rossmccrann 885 days ago
import { Airtable } from "https://deno.land/x/airtable/mod.ts";
export async function main(at_con: wmill.Resource <"airtable">, at_base_table: wmill.Resource <"airtable-baseId-tableName">) {
const airtable = new Airtable({...at_con, ...at_base_table});
const result_list = await airtable.select();
return { results: result_list };
}
Submitted by rossmccrann 895 days ago
import { Airtable } from "https://deno.land/x/airtable/mod.ts";
export async function main(at_con: object) {
const airtable = new Airtable(at_con);
const result_list = await airtable.select();
return { results: result_list };
}
Submitted by rossmccrann 926 days ago