/** * Supabase Node - Version 1 * Discriminator: resource=row, operation=delete */ interface Credentials { supabaseApi: CredentialReference; } /** Delete a row */ export type SupabaseV1RowDeleteParams = { resource: 'row'; operation: 'delete'; /** * 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; /** * Select Type * @default manual */ filterType?: 'manual' | 'string' | Expression; /** * Must Match * @displayOptions.show { filterType: ["manual"] } * @default anyFilter */ matchType?: 'anyFilter' | 'allFilters' | Expression; /** * Filter to decide which rows get deleted * @displayOptions.show { filterType: ["manual"] } * @default {} */ filters?: { /** Conditions */ conditions?: Array<{ /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ keyName?: string | Expression; /** Condition */ condition?: 'eq' | 'fullText' | 'gt' | 'gte' | 'ilike' | 'is' | 'lt' | 'lte' | 'like' | 'neq' | Expression; /** Search Function * @displayOptions.show { condition: ["fullText"] } */ searchFunction?: 'fts' | 'plfts' | 'phfts' | 'wfts' | Expression; /** Field Value */ keyValue?: string | Expression | PlaceholderValue; }>; }; /** * Filters (String) * @displayOptions.show { filterType: ["string"] } */ filterString?: string | Expression | PlaceholderValue; }; export type SupabaseV1RowDeleteOutput = { content?: string; embedding?: string; metadata?: { blobType?: string; file_id?: string; loc?: { lines?: { from?: number; to?: number; }; }; source?: string; }; }; export type SupabaseV1RowDeleteNode = { type: 'n8n-nodes-base.supabase'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };