n8n-3867-progressively-apply-prettier-to-all (#3873)

* 🔨 formatting nodes with prettier
This commit is contained in:
Michael Kret
2022-08-17 18:50:24 +03:00
committed by GitHub
parent f2d326c7f0
commit 91d7e16c81
1072 changed files with 42357 additions and 59109 deletions

View File

@@ -8,9 +8,7 @@ export const workbookOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'workbook',
],
resource: ['workbook'],
},
},
options: [
@@ -32,27 +30,23 @@ export const workbookOperations: INodeProperties[] = [
];
export const workbookFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* workbook:addWorksheet */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* workbook:addWorksheet */
/* -------------------------------------------------------------------------- */
{
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: [
'addWorksheet',
],
resource: [
'workbook',
],
operation: ['addWorksheet'],
resource: ['workbook'],
},
},
default: '',
@@ -65,12 +59,8 @@ export const workbookFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
operation: [
'addWorksheet',
],
resource: [
'workbook',
],
operation: ['addWorksheet'],
resource: ['workbook'],
},
},
options: [
@@ -79,25 +69,22 @@ export const workbookFields: INodeProperties[] = [
name: 'name',
type: 'string',
default: '',
description: 'The name of the worksheet to be added. If specified, name should be unqiue. If not specified, Excel determines the name of the new worksheet.',
description:
'The name of the worksheet to be added. If specified, name should be unqiue. If not specified, Excel determines the name of the new worksheet.',
},
],
},
/* -------------------------------------------------------------------------- */
/* workbook:getAll */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* workbook:getAll */
/* -------------------------------------------------------------------------- */
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'workbook',
],
operation: ['getAll'],
resource: ['workbook'],
},
},
default: false,
@@ -109,15 +96,9 @@ export const workbookFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'workbook',
],
returnAll: [
false,
],
operation: ['getAll'],
resource: ['workbook'],
returnAll: [false],
},
},
typeOptions: {
@@ -135,12 +116,8 @@ export const workbookFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'workbook',
],
operation: ['getAll'],
resource: ['workbook'],
},
},
options: [