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 notificationOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const notificationOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'notification',
],
resource: ['notification'],
},
},
options: [
@@ -28,7 +24,6 @@ export const notificationOperations: INodeProperties[] = [
];
export const notificationFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* notification:send */
/* -------------------------------------------------------------------------- */
@@ -39,12 +34,8 @@ export const notificationFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
operation: [
'send',
],
resource: [
'notification',
],
operation: ['send'],
resource: ['notification'],
},
},
default: '',
@@ -57,12 +48,8 @@ export const notificationFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
operation: [
'send',
],
resource: [
'notification',
],
operation: ['send'],
resource: ['notification'],
},
},
options: [
@@ -93,9 +80,7 @@ export const notificationFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
binaryData: [
false,
],
binaryData: [false],
},
},
description: 'HTTP/HTTPS URL. Maximum size of 2048×2048px JPEG.',
@@ -106,9 +91,7 @@ export const notificationFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
binaryData: [
false,
],
binaryData: [false],
},
},
default: '',
@@ -120,9 +103,7 @@ export const notificationFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
binaryData: [
true,
],
binaryData: [true],
},
},
default: 'data',
@@ -138,7 +119,8 @@ export const notificationFields: INodeProperties[] = [
type: 'boolean',
default: false,
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
description: '<p>true: The user doesn\'t receive a push notification when the message is sent.</p><p>false: The user receives a push notification when the message is sent</p>',
description:
"<p>true: The user doesn't receive a push notification when the message is sent.</p><p>false: The user receives a push notification when the message is sent</p>",
},
{
displayName: 'Sticker',