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 contactSegmentOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const contactSegmentOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'contactSegment',
|
||||
],
|
||||
resource: ['contactSegment'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -34,7 +30,6 @@ export const contactSegmentOperations: INodeProperties[] = [
|
||||
];
|
||||
|
||||
export const contactSegmentFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* contactSegment:add */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -45,39 +40,28 @@ export const contactSegmentFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'contactSegment',
|
||||
],
|
||||
operation: [
|
||||
'add',
|
||||
'remove',
|
||||
],
|
||||
resource: ['contactSegment'],
|
||||
operation: ['add', 'remove'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
||||
displayName: 'Segment Name or ID',
|
||||
name: 'segmentId',
|
||||
type: 'options',
|
||||
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'contactSegment',
|
||||
],
|
||||
operation: [
|
||||
'add',
|
||||
'remove',
|
||||
],
|
||||
resource: ['contactSegment'],
|
||||
operation: ['add', 'remove'],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getSegments',
|
||||
},
|
||||
default: '',
|
||||
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user