mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user