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,6 +1,4 @@
|
||||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const contactOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const contactOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -61,12 +57,8 @@ export const contactFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -77,12 +69,8 @@ export const contactFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -95,12 +83,8 @@ export const contactFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['create'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -282,7 +266,8 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'The type of the email address. The type can be custom or one of these predefined values.',
|
||||
description:
|
||||
'The type of the email address. The type can be custom or one of these predefined values.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -332,7 +317,8 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'The type of the event. The type can be custom or one of these predefined values.',
|
||||
description:
|
||||
'The type of the event. The type can be custom or one of these predefined values.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -349,7 +335,8 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'Group Names or IDs',
|
||||
name: 'group',
|
||||
type: 'multiOptions',
|
||||
description: 'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getGroups',
|
||||
},
|
||||
@@ -543,7 +530,8 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'The person\'s relation to the other person. The type can be custom or one of these predefined values.',
|
||||
description:
|
||||
"The person's relation to the other person. The type can be custom or one of these predefined values.",
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -561,12 +549,8 @@ export const contactFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'delete',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['delete'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -581,12 +565,8 @@ export const contactFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['get'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -699,16 +679,13 @@ export const contactFields: INodeProperties[] = [
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['get'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: [],
|
||||
description: 'A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas.',
|
||||
description:
|
||||
'A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas.',
|
||||
},
|
||||
{
|
||||
displayName: 'RAW Data',
|
||||
@@ -716,12 +693,8 @@ export const contactFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['get'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -736,12 +709,8 @@ export const contactFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -753,15 +722,9 @@ export const contactFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['contact'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -879,16 +842,13 @@ export const contactFields: INodeProperties[] = [
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: [],
|
||||
description: 'A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas.',
|
||||
description:
|
||||
'A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas.',
|
||||
},
|
||||
{
|
||||
displayName: 'Use Query',
|
||||
@@ -896,12 +856,8 @@ export const contactFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -913,19 +869,14 @@ export const contactFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
useQuery: [
|
||||
true,
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['contact'],
|
||||
useQuery: [true],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The plain-text query for the request. The query is used to match prefix phrases of the fields on a person. For example, a person with name "foo name" matches queries such as "f", "fo", "foo", "foo n", "nam", etc., but not "oo n".',
|
||||
description:
|
||||
'The plain-text query for the request. The query is used to match prefix phrases of the fields on a person. For example, a person with name "foo name" matches queries such as "f", "fo", "foo", "foo n", "nam", etc., but not "oo n".',
|
||||
},
|
||||
{
|
||||
displayName: 'RAW Data',
|
||||
@@ -933,12 +884,8 @@ export const contactFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -952,15 +899,9 @@ export const contactFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
useQuery: [
|
||||
false,
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['contact'],
|
||||
useQuery: [false],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -1005,12 +946,8 @@ export const contactFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -1123,16 +1060,13 @@ export const contactFields: INodeProperties[] = [
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
default: [],
|
||||
description: 'A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas.',
|
||||
description:
|
||||
'A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas.',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -1142,12 +1076,8 @@ export const contactFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: [
|
||||
'contact',
|
||||
],
|
||||
operation: ['update'],
|
||||
resource: ['contact'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -1156,7 +1086,8 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'etag',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The etag field in the person is nedded to make sure the contact has not changed since your last read',
|
||||
description:
|
||||
'The etag field in the person is nedded to make sure the contact has not changed since your last read',
|
||||
},
|
||||
{
|
||||
displayName: 'Family Name',
|
||||
@@ -1348,7 +1279,8 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'The type of the email address. The type can be custom or one of these predefined values.',
|
||||
description:
|
||||
'The type of the email address. The type can be custom or one of these predefined values.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -1398,7 +1330,8 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'The type of the event. The type can be custom or one of these predefined values.',
|
||||
description:
|
||||
'The type of the event. The type can be custom or one of these predefined values.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1415,7 +1348,8 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'Group Names or IDs',
|
||||
name: 'group',
|
||||
type: 'multiOptions',
|
||||
description: 'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getGroups',
|
||||
},
|
||||
@@ -1609,7 +1543,8 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'The person\'s relation to the other person. The type can be custom or one of these predefined values.',
|
||||
description:
|
||||
"The person's relation to the other person. The type can be custom or one of these predefined values.",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user