Skip to main content

Configure a table with a single select field

Table with a single select field

index.ts
import { App, type AppSchema } from '@latechforce/engine';

const schema: AppSchema = {
tables: [
{
id: 1,
name: 'Contacts',
fields: [
{
id: 1,
name: 'First name',
type: 'single-line-text',
},
{
id: 2,
name: 'Country',
type: 'single-select',
options: ['France', 'United States', 'United Kingdom'],
},
],
},
],
};

await new App().start(schema);

Automation


Run TypeScript code action

Trigger an automation with a cron time

Trigger an automation with an HTTP POST request with request body and respond immediately

Trigger an automation with an HTTP POST request

Trigger an automation with an HTTP POST request and respond immediately

Trigger an automation with an HTTP POST request with request body

Trigger an automation with an HTTP GET request

Trigger an automation with an HTTP GET request and respond immediately

Trigger an automation when a record is updated

Trigger an automation when a record is created

Respond to an HTTP request with a static body

Respond to an HTTP request

Respond to an HTTP request with a dynamic body

Create record action

Run TypeScript code action with input data

Run TypeScript code action with log

Run TypeScript code action

Run TypeScript code action with externals

Run JavaScript code action with input data

Run JavaScript code action with log

Run JavaScript code action

Run JavaScript code action with externals