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 incidentNoteOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const incidentNoteOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'incidentNote',
],
resource: ['incidentNote'],
},
},
options: [
@@ -25,7 +21,7 @@ export const incidentNoteOperations: INodeProperties[] = [
{
name: 'Get All',
value: 'getAll',
description: 'Get all incident\'s notes',
description: "Get all incident's notes",
action: 'Get all incident notes',
},
],
@@ -34,10 +30,9 @@ export const incidentNoteOperations: INodeProperties[] = [
];
export const incidentNoteFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* incidentNote:create */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* incidentNote:create */
/* -------------------------------------------------------------------------- */
{
displayName: 'Incident ID',
name: 'incidentId',
@@ -46,12 +41,8 @@ export const incidentNoteFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'incidentNote',
],
operation: [
'create',
],
resource: ['incidentNote'],
operation: ['create'],
},
},
description: 'Unique identifier for the incident',
@@ -67,12 +58,8 @@ export const incidentNoteFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'incidentNote',
],
operation: [
'create',
],
resource: ['incidentNote'],
operation: ['create'],
},
},
description: 'The note content',
@@ -86,19 +73,15 @@ export const incidentNoteFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'incidentNote',
],
operation: [
'create',
],
resource: ['incidentNote'],
operation: ['create'],
},
},
description: 'The email address of a valid user associated with the account making the request',
},
/* -------------------------------------------------------------------------- */
/* incidentNote:getAll */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* incidentNote:getAll */
/* -------------------------------------------------------------------------- */
{
displayName: 'Incident ID',
name: 'incidentId',
@@ -107,12 +90,8 @@ export const incidentNoteFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'incidentNote',
],
operation: [
'getAll',
],
resource: ['incidentNote'],
operation: ['getAll'],
},
},
description: 'Unique identifier for the incident',
@@ -123,12 +102,8 @@ export const incidentNoteFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'incidentNote',
],
operation: ['getAll'],
resource: ['incidentNote'],
},
},
default: false,
@@ -140,15 +115,9 @@ export const incidentNoteFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'incidentNote',
],
returnAll: [
false,
],
operation: ['getAll'],
resource: ['incidentNote'],
returnAll: [false],
},
},
typeOptions: {