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 eventOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const eventOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'event',
],
resource: ['event'],
},
},
options: [
@@ -47,16 +43,13 @@ export const eventFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'getAll',
],
resource: ['event'],
operation: ['getAll'],
},
},
required: true,
description: 'The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
},
{
displayName: 'Project Slug Name or ID',
@@ -64,23 +57,18 @@ export const eventFields: INodeProperties[] = [
type: 'options',
typeOptions: {
loadOptionsMethod: 'getProjects',
loadOptionsDependsOn: [
'organizationSlug',
],
loadOptionsDependsOn: ['organizationSlug'],
},
default: '',
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'getAll',
],
resource: ['event'],
operation: ['getAll'],
},
},
required: true,
description: 'The slug of the project the events belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'The slug of the project the events belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
},
{
displayName: 'Full',
@@ -89,15 +77,12 @@ export const eventFields: INodeProperties[] = [
default: true,
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'getAll',
],
resource: ['event'],
operation: ['getAll'],
},
},
description: 'Whether the event payload will include the full event body, including the stack trace',
description:
'Whether the event payload will include the full event body, including the stack trace',
},
{
displayName: 'Return All',
@@ -105,12 +90,8 @@ export const eventFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'event',
],
operation: ['getAll'],
resource: ['event'],
},
},
default: false,
@@ -122,15 +103,9 @@ export const eventFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'event',
],
returnAll: [
false,
],
operation: ['getAll'],
resource: ['event'],
returnAll: [false],
},
},
typeOptions: {
@@ -154,16 +129,13 @@ export const eventFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'get',
],
resource: ['event'],
operation: ['get'],
},
},
required: true,
description: 'The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
},
{
displayName: 'Project Slug Name or ID',
@@ -175,16 +147,13 @@ export const eventFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'get',
],
resource: ['event'],
operation: ['get'],
},
},
required: true,
description: 'The slug of the project the events belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'The slug of the project the events belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
},
{
displayName: 'Event ID',
@@ -193,15 +162,12 @@ export const eventFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'get',
],
resource: ['event'],
operation: ['get'],
},
},
required: true,
description: 'The ID of the event to retrieve (either the numeric primary-key or the hexadecimal ID as reported by the raven client)',
description:
'The ID of the event to retrieve (either the numeric primary-key or the hexadecimal ID as reported by the raven client)',
},
];