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

@@ -1,6 +1,4 @@
import {
INodeProperties,
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
export const attributeOperations: INodeProperties[] = [
{
@@ -9,9 +7,7 @@ export const attributeOperations: INodeProperties[] = [
type: 'options',
displayOptions: {
show: {
resource: [
'attribute',
],
resource: ['attribute'],
},
},
noDataExpression: true,
@@ -59,12 +55,8 @@ export const attributeFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'attribute',
],
operation: [
'create',
],
resource: ['attribute'],
operation: ['create'],
},
},
},
@@ -90,16 +82,12 @@ export const attributeFields: INodeProperties[] = [
default: 'text',
displayOptions: {
show: {
resource: [
'attribute',
],
operation: [
'create',
],
resource: ['attribute'],
operation: ['create'],
},
},
},
{
{
displayName: 'Value',
name: 'value',
type: 'string',
@@ -107,12 +95,8 @@ export const attributeFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'attribute',
],
operation: [
'create',
],
resource: ['attribute'],
operation: ['create'],
},
},
},
@@ -124,12 +108,8 @@ export const attributeFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'attribute',
],
operation: [
'create',
],
resource: ['attribute'],
operation: ['create'],
},
},
options: [
@@ -171,7 +151,8 @@ export const attributeFields: INodeProperties[] = [
name: 'sharing_group_id',
type: 'options',
default: '',
description: 'Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
typeOptions: {
loadOptionsMethod: 'getSharingGroups',
},
@@ -191,12 +172,8 @@ export const attributeFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'attribute',
],
operation: [
'delete',
],
resource: ['attribute'],
operation: ['delete'],
},
},
},
@@ -213,12 +190,8 @@ export const attributeFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'attribute',
],
operation: [
'get',
],
resource: ['attribute'],
operation: ['get'],
},
},
},
@@ -230,12 +203,8 @@ export const attributeFields: INodeProperties[] = [
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
'attribute',
],
operation: [
'getAll',
],
resource: ['attribute'],
operation: ['getAll'],
},
},
},
@@ -250,15 +219,9 @@ export const attributeFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'attribute',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['attribute'],
operation: ['getAll'],
returnAll: [false],
},
},
},
@@ -275,12 +238,8 @@ export const attributeFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'attribute',
],
operation: [
'update',
],
resource: ['attribute'],
operation: ['update'],
},
},
},
@@ -292,12 +251,8 @@ export const attributeFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'attribute',
],
operation: [
'update',
],
resource: ['attribute'],
operation: ['update'],
},
},
options: [
@@ -340,7 +295,8 @@ export const attributeFields: INodeProperties[] = [
type: 'options',
default: '',
// eslint-disable-next-line n8n-nodes-base/node-param-description-wrong-for-dynamic-options
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>. Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>.',
description:
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>. Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>.',
typeOptions: {
loadOptionsMethod: 'getSharingGroups',
},