mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -8,9 +8,7 @@ export const leadOpeations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
resource: ['lead'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -50,7 +48,6 @@ export const leadOpeations: INodeProperties[] = [
|
||||
];
|
||||
|
||||
export const leadFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* lead:delete */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -60,12 +57,8 @@ export const leadFields: INodeProperties[] = [
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'delete',
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['delete'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -90,12 +83,8 @@ export const leadFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'delete',
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['delete'],
|
||||
},
|
||||
},
|
||||
description: 'Delete by value',
|
||||
@@ -110,12 +99,8 @@ export const leadFields: INodeProperties[] = [
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['get'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -151,12 +136,8 @@ export const leadFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['get'],
|
||||
},
|
||||
},
|
||||
description: 'View by value',
|
||||
@@ -171,12 +152,8 @@ export const leadFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -188,15 +165,9 @@ export const leadFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['getAll'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -214,12 +185,8 @@ export const leadFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -250,12 +217,8 @@ export const leadFields: INodeProperties[] = [
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -281,12 +244,8 @@ export const leadFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
description: 'Value of the property to identify the lead to update',
|
||||
@@ -304,12 +263,8 @@ export const leadFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
description: 'The email of the user',
|
||||
@@ -321,13 +276,8 @@ export const leadFields: INodeProperties[] = [
|
||||
default: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: ['create', 'update'],
|
||||
resource: ['lead'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -339,13 +289,8 @@ export const leadFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: ['create', 'update'],
|
||||
resource: ['lead'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -364,7 +309,8 @@ export const leadFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanies',
|
||||
},
|
||||
default: [],
|
||||
description: 'Identifies the companies this user belongs to. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'Identifies the companies this user belongs to. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
@@ -374,12 +320,8 @@ export const leadFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
'/resource': [
|
||||
'lead',
|
||||
],
|
||||
'/operation': [
|
||||
'update',
|
||||
],
|
||||
'/resource': ['lead'],
|
||||
'/operation': ['update'],
|
||||
},
|
||||
},
|
||||
description: 'The email of the user',
|
||||
@@ -410,7 +352,8 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'updateLastRequestAt',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether to instruct Intercom to update the users last_request_at value to the current API service time in UTC. default value if not sent is false.',
|
||||
description:
|
||||
'Whether to instruct Intercom to update the users last_request_at value to the current API service time in UTC. default value if not sent is false.',
|
||||
},
|
||||
{
|
||||
displayName: 'UTM Campaign',
|
||||
@@ -458,20 +401,14 @@ export const leadFields: INodeProperties[] = [
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
'update',
|
||||
],
|
||||
jsonParameters: [
|
||||
true,
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['create', 'update'],
|
||||
jsonParameters: [true],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user',
|
||||
description:
|
||||
'A hash of key/value pairs to represent custom data you want to attribute to a user',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Attributes',
|
||||
@@ -484,16 +421,9 @@ export const leadFields: INodeProperties[] = [
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'lead',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
'update',
|
||||
],
|
||||
jsonParameters: [
|
||||
false,
|
||||
],
|
||||
resource: ['lead'],
|
||||
operation: ['create', 'update'],
|
||||
jsonParameters: [false],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -516,6 +446,7 @@ export const leadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
],
|
||||
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user',
|
||||
description:
|
||||
'A hash of key/value pairs to represent custom data you want to attribute to a user',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user