mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
const resource = [
|
||||
'contact',
|
||||
];
|
||||
const resource = ['contact'];
|
||||
|
||||
export const contactOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -51,11 +47,9 @@ export const contactOperations: INodeProperties[] = [
|
||||
],
|
||||
default: 'getAll',
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
export const contactFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* contact:getAll */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -67,9 +61,7 @@ export const contactFields: INodeProperties[] = [
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource,
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -82,12 +74,8 @@ export const contactFields: INodeProperties[] = [
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource,
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
operation: ['getAll'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -106,9 +94,7 @@ export const contactFields: INodeProperties[] = [
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource,
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -140,9 +126,7 @@ export const contactFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
operation: ['get'],
|
||||
resource,
|
||||
},
|
||||
},
|
||||
@@ -160,9 +144,7 @@ export const contactFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'delete',
|
||||
],
|
||||
operation: ['delete'],
|
||||
resource,
|
||||
},
|
||||
},
|
||||
@@ -178,9 +160,7 @@ export const contactFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource,
|
||||
},
|
||||
},
|
||||
@@ -194,9 +174,7 @@ export const contactFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource,
|
||||
},
|
||||
},
|
||||
@@ -211,9 +189,7 @@ export const contactFields: INodeProperties[] = [
|
||||
placeholder: 'Add Field',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource,
|
||||
},
|
||||
},
|
||||
@@ -277,9 +253,7 @@ export const contactFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource,
|
||||
},
|
||||
},
|
||||
@@ -292,9 +266,7 @@ export const contactFields: INodeProperties[] = [
|
||||
placeholder: 'Add Field',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource,
|
||||
},
|
||||
},
|
||||
@@ -359,5 +331,4 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user