UNPKG

n8n-nodes-tulip

Version:
217 lines 8.32 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.description = void 0; exports.description = [ { displayName: 'Table Name or ID', name: 'tableId', type: 'options', description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>', default: '', required: true, displayOptions: { show: { resource: ['table'], operation: ['countRecords'], }, }, typeOptions: { loadOptionsMethod: 'getTables', }, }, { displayName: 'Limit', name: 'limit', type: 'number', default: 10, typeOptions: { minValue: 0, }, required: true, displayOptions: { show: { resource: ['table'], operation: ['countRecords'], }, }, description: 'Max number of results to return', }, { displayName: 'Offset', name: 'offset', type: 'number', default: 0, typeOptions: { minValue: 0, }, required: true, displayOptions: { show: { resource: ['table'], operation: ['countRecords'], }, }, description: 'Offset of results to return', }, { displayName: 'Filter', name: 'filters', type: 'fixedCollection', typeOptions: { multipleValues: true, sortable: true, }, displayOptions: { show: { resource: ['table'], operation: ['countRecords'], }, }, default: {}, placeholder: 'Add Filter', options: [ { name: 'filterValues', displayName: 'Filter', values: [ { displayName: 'Column Name or ID', name: 'columnName', type: 'options', description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>', default: '', required: true, typeOptions: { loadOptionsMethod: 'getColumns', loadOptionsDependsOn: ['tableId'], }, }, { displayName: 'Function', name: 'filterFunction', description: 'The comparison operator to use for filtering', type: 'options', default: 'equal', options: [ { name: 'Equal', value: 'equal', description: 'Value equals the filter value', }, { name: 'Not Equal', value: 'notEqual', description: 'Value does not equal the filter value', }, { name: 'Blank', value: 'blank', description: 'Value is empty or null', }, { name: 'Not Blank', value: 'notBlank', description: 'Value is not empty and not null', }, { name: 'Greater Than or Equal', value: 'greaterThanOrEqual', description: 'Value is greater than or equal to the filter value', }, { name: 'Less Than or Equal', value: 'lessThanOrEqual', description: 'Value is less than or equal to the filter value', }, { name: 'Greater Than', value: 'greaterThan', description: 'Value is greater than the filter value', }, { name: 'Less Than', value: 'lessThan', description: 'Value is less than the filter value', }, { name: 'Contains', value: 'contains', description: 'Value contains the filter value', }, { name: 'Does Not Contain', value: 'notContains', description: 'Value does not contain the filter value', }, { name: 'Starts With', value: 'startsWith', description: 'Value starts with the filter value', }, { name: 'Does Not Start With', value: 'notStartsWith', description: 'Value does not start with the filter value', }, { name: 'Ends With', value: 'endsWith', description: 'Value ends with the filter value', }, { name: 'Does Not End With', value: 'notEndsWith', description: 'Value does not end with the filter value', }, { name: 'Is In List', value: 'isIn', description: 'Value is in the list of filter values', }, { name: 'Is Not In List', value: 'notIsIn', description: 'Value is not in the list of filter values', }, ], }, { displayName: 'Value', name: 'columnValue', type: 'string', default: '', description: 'Value to set for this filter', required: true, }, ], }, ], description: 'The columns and values to create in the record', }, { displayName: 'Filter aggregator', name: 'filterAggregator', type: 'options', default: 'all', displayOptions: { show: { resource: ['table'], operation: ['countRecords'], }, }, options: [ { name: 'Any', value: 'any', action: 'any', }, { name: 'All', value: 'all', action: 'all', }, ], description: 'How the filters in the filters parameter are combined. all means that every filter must match a record in order for the record to be included. any means at least one filter must match a record in order for the record to be included.', }, ]; //# sourceMappingURL=description.js.map