mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Minor Coda-Node improvements
This commit is contained in:
@@ -19,34 +19,34 @@ export const tableOperations = [
|
||||
description: 'Create/Upsert a row',
|
||||
},
|
||||
{
|
||||
name: 'Get Row',
|
||||
value: 'getRow',
|
||||
description: 'Get row',
|
||||
name: 'Delete Row',
|
||||
value: 'deleteRow',
|
||||
description: 'Delete one or multiple rows',
|
||||
},
|
||||
{
|
||||
name: 'Get All Columns',
|
||||
value: 'getAllColumns',
|
||||
description: 'Get all columns',
|
||||
},
|
||||
{
|
||||
name: 'Get All Rows',
|
||||
value: 'getAllRows',
|
||||
description: 'Get all the rows',
|
||||
},
|
||||
{
|
||||
name: 'Delete Row',
|
||||
value: 'deleteRow',
|
||||
description: 'Delete one or multiple rows',
|
||||
},
|
||||
{
|
||||
name: 'Push Button',
|
||||
value: 'pushButton',
|
||||
description: 'Pushes a button',
|
||||
},
|
||||
{
|
||||
name: 'Get Column',
|
||||
value: 'getColumn',
|
||||
description: 'Get a column',
|
||||
},
|
||||
{
|
||||
name: 'Get All Columns',
|
||||
value: 'getAllColumns',
|
||||
description: 'Get all columns',
|
||||
name: 'Get Row',
|
||||
value: 'getRow',
|
||||
description: 'Get row',
|
||||
},
|
||||
{
|
||||
name: 'Push Button',
|
||||
value: 'pushButton',
|
||||
description: 'Pushes a button',
|
||||
},
|
||||
],
|
||||
default: 'createRow',
|
||||
@@ -121,14 +121,6 @@ export const tableFields = [
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
displayName: 'Key Columns',
|
||||
name: 'keyColumns',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Optional column IDs, URLs, or names (fragile and discouraged),
|
||||
specifying columns to be used as upsert keys. If more than one separate by ,`,
|
||||
},
|
||||
{
|
||||
displayName: 'Disable Parsing',
|
||||
name: 'disableParsing',
|
||||
@@ -136,6 +128,14 @@ export const tableFields = [
|
||||
default: false,
|
||||
description: `If true, the API will not attempt to parse the data in any way.`,
|
||||
},
|
||||
{
|
||||
displayName: 'Key Columns',
|
||||
name: 'keyColumns',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Optional column IDs, URLs, or names (fragile and discouraged)<br />,
|
||||
specifying columns to be used as upsert keys. If more than one separate by ,`,
|
||||
},
|
||||
]
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -202,9 +202,11 @@ export const tableFields = [
|
||||
]
|
||||
},
|
||||
},
|
||||
description: `ID or name of the row. Names are discouraged because they're easily prone to being changed by users.
|
||||
If you're using a name, be sure to URI-encode it.
|
||||
If there are multiple rows with the same value in the identifying column, an arbitrary one will be selected`,
|
||||
description: `ID or name of the row. Names are discouraged because<br />
|
||||
they're easily prone to being changed by users. If you're<br />
|
||||
using a name, be sure to URI-encode it. If there are<br />
|
||||
multiple rows with the same value in the identifying column,<br />
|
||||
an arbitrary one will be selected`,
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -223,6 +225,13 @@ export const tableFields = [
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
displayName: 'RAW Data',
|
||||
name: 'rawData',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Returns the data exactly in the way it got received from the API.`,
|
||||
},
|
||||
{
|
||||
displayName: 'Use Column Names',
|
||||
name: 'useColumnNames',
|
||||
@@ -232,13 +241,6 @@ export const tableFields = [
|
||||
This is generally discouraged as it is fragile. If columns are renamed,</br>
|
||||
code using original names may throw errors.`,
|
||||
},
|
||||
{
|
||||
displayName: 'RAW Data',
|
||||
name: 'rawData',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Returns the data exactly in the way it got received from the API.`,
|
||||
},
|
||||
{
|
||||
displayName: 'ValueFormat',
|
||||
name: 'valueFormat',
|
||||
@@ -380,36 +382,6 @@ export const tableFields = [
|
||||
If you'd like to use a column name instead of an ID, you must quote it (e.g., "My Column":123).<br/>
|
||||
Also note that value is a JSON value; if you'd like to use a string, you must surround it in quotes (e.g., "groceries").`,
|
||||
},
|
||||
{
|
||||
displayName: 'Use Column Names',
|
||||
name: 'useColumnNames',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Use column names instead of column IDs in the returned output.</br>
|
||||
This is generally discouraged as it is fragile. If columns are renamed,</br>
|
||||
code using original names may throw errors.`,
|
||||
},
|
||||
{
|
||||
displayName: 'ValueFormat',
|
||||
name: 'valueFormat',
|
||||
type: 'options',
|
||||
default: '',
|
||||
options: [
|
||||
{
|
||||
name: 'Simple',
|
||||
value: 'simple',
|
||||
},
|
||||
{
|
||||
name: 'Simple With Arrays',
|
||||
value: 'simpleWithArrays',
|
||||
},
|
||||
{
|
||||
name: 'Rich',
|
||||
value: 'rich',
|
||||
},
|
||||
],
|
||||
description: `The format that cell values are returned as.`,
|
||||
},
|
||||
{
|
||||
displayName: 'RAW Data',
|
||||
name: 'rawData',
|
||||
@@ -432,9 +404,39 @@ export const tableFields = [
|
||||
value: 'natural',
|
||||
},
|
||||
],
|
||||
description: `Specifies the sort order of the rows returned.
|
||||
description: `Specifies the sort order of the rows returned.<br />
|
||||
If left unspecified, rows are returned by creation time ascending.`,
|
||||
},
|
||||
{
|
||||
displayName: 'Use Column Names',
|
||||
name: 'useColumnNames',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Use column names instead of column IDs in the returned output.</br>
|
||||
This is generally discouraged as it is fragile. If columns<br />
|
||||
are renamed, code using original names may throw errors.`,
|
||||
},
|
||||
{
|
||||
displayName: 'ValueFormat',
|
||||
name: 'valueFormat',
|
||||
type: 'options',
|
||||
default: '',
|
||||
options: [
|
||||
{
|
||||
name: 'Simple',
|
||||
value: 'simple',
|
||||
},
|
||||
{
|
||||
name: 'Simple With Arrays',
|
||||
value: 'simpleWithArrays',
|
||||
},
|
||||
{
|
||||
name: 'Rich',
|
||||
value: 'rich',
|
||||
},
|
||||
],
|
||||
description: `The format that cell values are returned as.`,
|
||||
},
|
||||
{
|
||||
displayName: 'Visible Only',
|
||||
name: 'visibleOnly',
|
||||
@@ -574,9 +576,11 @@ export const tableFields = [
|
||||
]
|
||||
},
|
||||
},
|
||||
description: `ID or name of the row. Names are discouraged because they're easily prone to being changed by users.
|
||||
If you're using a name, be sure to URI-encode it.
|
||||
If there are multiple rows with the same value in the identifying column, an arbitrary one will be selected`,
|
||||
description: `ID or name of the row. Names are discouraged because<br />
|
||||
they're easily prone to being changed by users. If you're<br />
|
||||
using a name, be sure to URI-encode it. If there are multiple<br />
|
||||
rows with the same value in the identifying column, an arbitrary<br />
|
||||
one will be selected`,
|
||||
},
|
||||
{
|
||||
displayName: 'Column',
|
||||
|
||||
Reference in New Issue
Block a user