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 457 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 460 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 463 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 848 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 858 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 890 days ago