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';
|
||||
|
||||
const customerAddressOptions: INodeProperties[] = [
|
||||
{
|
||||
@@ -129,12 +127,8 @@ const customerUpdateOptions: INodeProperties[] = [
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
show: {
|
||||
'/resource': [
|
||||
'customer',
|
||||
],
|
||||
'/operation': [
|
||||
'create',
|
||||
],
|
||||
'/resource': ['customer'],
|
||||
'/operation': ['create'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -167,12 +161,8 @@ export const customerCreateFields: INodeProperties = {
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'customer',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['customer'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
options: customerCreateOptions,
|
||||
@@ -186,12 +176,8 @@ export const customerUpdateFields: INodeProperties = {
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'customer',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['customer'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
options: customerUpdateOptions,
|
||||
|
||||
Reference in New Issue
Block a user