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 clientOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'client',
],
resource: ['client'],
},
},
options: [
@@ -44,9 +42,9 @@ export const clientOperations: INodeProperties[] = [
];
export const clientFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* client:create */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* client:create */
/* -------------------------------------------------------------------------- */
{
displayName: 'Additional Fields',
name: 'additionalFields',
@@ -55,12 +53,8 @@ export const clientFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
operation: [
'create',
],
resource: [
'client',
],
operation: ['create'],
resource: ['client'],
},
},
options: [
@@ -115,12 +109,8 @@ export const clientFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'client',
],
operation: [
'create',
],
resource: ['client'],
operation: ['create'],
},
},
default: {},
@@ -163,7 +153,8 @@ export const clientFields: INodeProperties[] = [
displayName: 'Country Code Name or ID',
name: 'countryCode',
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: 'getCountryCodes',
},
@@ -183,12 +174,8 @@ export const clientFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'client',
],
operation: [
'create',
],
resource: ['client'],
operation: ['create'],
},
},
default: {},
@@ -236,12 +223,8 @@ export const clientFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'client',
],
operation: [
'create',
],
resource: ['client'],
operation: ['create'],
},
},
default: {},
@@ -284,7 +267,8 @@ export const clientFields: INodeProperties[] = [
displayName: 'Country Code Name or ID',
name: 'countryCode',
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: 'getCountryCodes',
},
@@ -294,9 +278,9 @@ export const clientFields: INodeProperties[] = [
},
],
},
/* -------------------------------------------------------------------------- */
/* client:delete */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* client:delete */
/* -------------------------------------------------------------------------- */
{
displayName: 'Client ID',
name: 'clientId',
@@ -305,18 +289,14 @@ export const clientFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'client',
],
operation: [
'delete',
],
resource: ['client'],
operation: ['delete'],
},
},
},
/* -------------------------------------------------------------------------- */
/* client:get */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* client:get */
/* -------------------------------------------------------------------------- */
{
displayName: 'Client ID',
name: 'clientId',
@@ -325,12 +305,8 @@ export const clientFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'client',
],
operation: [
'get',
],
resource: ['client'],
operation: ['get'],
},
},
},
@@ -342,12 +318,8 @@ export const clientFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
operation: [
'get',
],
resource: [
'client',
],
operation: ['get'],
resource: ['client'],
},
},
options: [
@@ -365,21 +337,17 @@ export const clientFields: INodeProperties[] = [
},
],
},
/* -------------------------------------------------------------------------- */
/* client:getAll */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* client:getAll */
/* -------------------------------------------------------------------------- */
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
displayOptions: {
show: {
resource: [
'client',
],
operation: [
'getAll',
],
resource: ['client'],
operation: ['getAll'],
},
},
default: false,
@@ -391,15 +359,9 @@ export const clientFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
resource: [
'client',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['client'],
operation: ['getAll'],
returnAll: [false],
},
},
typeOptions: {
@@ -417,12 +379,8 @@ export const clientFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'client',
],
operation: ['getAll'],
resource: ['client'],
},
},
options: [