/** * Supabase Node - Version 1 * Discriminator: resource=row, operation=create */ interface Credentials { supabaseApi: CredentialReference; } /** Create a new row */ export type SupabaseV1RowCreateParams = { resource: 'row'; operation: 'create'; /** * Whether to use a database schema different from the default "public" schema (requires schema exposure in the <a href="https://supabase.com/docs/guides/api/using-custom-schemas?queryGroups=language&language=curl#exposing-custom-schemas">Supabase API</a>) * @default false */ useCustomSchema?: boolean; /** * Name of database schema to use for table * @displayOptions.show { useCustomSchema: [true] } * @default public */ schema?: string | Expression | PlaceholderValue; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ tableId?: string | Expression; /** * Data to Send * @default defineBelow */ dataToSend?: 'autoMapInputData' | 'defineBelow' | Expression; /** * List of input properties to avoid sending, separated by commas. Leave empty to send all properties. * @displayOptions.show { dataToSend: ["autoMapInputData"] } */ inputsToIgnore?: string | Expression | PlaceholderValue; /** * Fields to Send * @displayOptions.show { dataToSend: ["defineBelow"] } * @default {} */ fieldsUi?: { /** Field */ fieldValues?: Array<{ /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ fieldId?: string | Expression; /** Field Value */ fieldValue?: string | Expression | PlaceholderValue; }>; }; }; export type SupabaseV1RowCreateOutput = { created_at?: string; }; export type SupabaseV1RowCreateNode = { type: 'n8n-nodes-base.supabase'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };