mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -8,9 +8,7 @@ export const worksheetOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
resource: ['worksheet'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -32,26 +30,22 @@ export const worksheetOperations: INodeProperties[] = [
|
||||
];
|
||||
|
||||
export const worksheetFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* worksheet:getAll */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* worksheet:getAll */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
{
|
||||
displayName: 'Workbook Name or ID',
|
||||
name: 'workbook',
|
||||
type: 'options',
|
||||
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getWorkbooks',
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['worksheet'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -62,12 +56,8 @@ export const worksheetFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['worksheet'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -79,15 +69,9 @@ export const worksheetFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['worksheet'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -105,12 +89,8 @@ export const worksheetFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['worksheet'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -123,26 +103,23 @@ export const worksheetFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* worksheet:getContent */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* worksheet:getContent */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
{
|
||||
displayName: 'Workbook Name or ID',
|
||||
name: 'workbook',
|
||||
type: 'options',
|
||||
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
required: true,
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getWorkbooks',
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getContent',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
operation: ['getContent'],
|
||||
resource: ['worksheet'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -151,22 +128,17 @@ export const worksheetFields: INodeProperties[] = [
|
||||
displayName: 'Worksheet Name or ID',
|
||||
name: 'worksheet',
|
||||
type: 'options',
|
||||
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
required: true,
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getworksheets',
|
||||
loadOptionsDependsOn: [
|
||||
'workbook',
|
||||
],
|
||||
loadOptionsDependsOn: ['workbook'],
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getContent',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
operation: ['getContent'],
|
||||
resource: ['worksheet'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -177,17 +149,14 @@ export const worksheetFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getContent',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
operation: ['getContent'],
|
||||
resource: ['worksheet'],
|
||||
},
|
||||
},
|
||||
default: 'A1:C3',
|
||||
required: true,
|
||||
description: 'The address or the name of the range. If not specified, the entire worksheet range is returned.',
|
||||
description:
|
||||
'The address or the name of the range. If not specified, the entire worksheet range is returned.',
|
||||
},
|
||||
{
|
||||
displayName: 'RAW Data',
|
||||
@@ -195,16 +164,13 @@ export const worksheetFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getContent',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
operation: ['getContent'],
|
||||
resource: ['worksheet'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'Whether the data should be returned RAW instead of parsed into keys according to their header',
|
||||
description:
|
||||
'Whether the data should be returned RAW instead of parsed into keys according to their header',
|
||||
},
|
||||
{
|
||||
displayName: 'Data Property',
|
||||
@@ -213,15 +179,9 @@ export const worksheetFields: INodeProperties[] = [
|
||||
default: 'data',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getContent',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
rawData: [
|
||||
true,
|
||||
],
|
||||
operation: ['getContent'],
|
||||
resource: ['worksheet'],
|
||||
rawData: [true],
|
||||
},
|
||||
},
|
||||
description: 'The name of the property into which to write the RAW data',
|
||||
@@ -236,20 +196,15 @@ export const worksheetFields: INodeProperties[] = [
|
||||
default: 1,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getContent',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
operation: ['getContent'],
|
||||
resource: ['worksheet'],
|
||||
},
|
||||
hide: {
|
||||
rawData: [
|
||||
true,
|
||||
],
|
||||
rawData: [true],
|
||||
},
|
||||
},
|
||||
description: 'Index of the first row which contains the actual data and not the keys. Starts with 0.',
|
||||
description:
|
||||
'Index of the first row which contains the actual data and not the keys. Starts with 0.',
|
||||
},
|
||||
{
|
||||
displayName: 'Key Row',
|
||||
@@ -260,21 +215,16 @@ export const worksheetFields: INodeProperties[] = [
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getContent',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
operation: ['getContent'],
|
||||
resource: ['worksheet'],
|
||||
},
|
||||
hide: {
|
||||
rawData: [
|
||||
true,
|
||||
],
|
||||
rawData: [true],
|
||||
},
|
||||
},
|
||||
default: 0,
|
||||
description: 'Index of the row which contains the keys. Starts at 0. The incoming node data is matched to the keys for assignment. The matching is case sensitve.',
|
||||
description:
|
||||
'Index of the row which contains the keys. Starts at 0. The incoming node data is matched to the keys for assignment. The matching is case sensitve.',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -284,15 +234,9 @@ export const worksheetFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getContent',
|
||||
],
|
||||
resource: [
|
||||
'worksheet',
|
||||
],
|
||||
rawData: [
|
||||
true,
|
||||
],
|
||||
operation: ['getContent'],
|
||||
resource: ['worksheet'],
|
||||
rawData: [true],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
|
||||
Reference in New Issue
Block a user