mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +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 serviceOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const serviceOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'service',
|
||||
],
|
||||
resource: ['service'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -43,12 +39,8 @@ export const serviceFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'service',
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['service'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -60,15 +52,9 @@ export const serviceFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: [
|
||||
'service',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
operation: ['getAll'],
|
||||
resource: ['service'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -86,7 +72,8 @@ export const serviceFields: INodeProperties[] = [
|
||||
displayName: 'Domain Name or ID',
|
||||
name: 'domain',
|
||||
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>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getDomains',
|
||||
},
|
||||
@@ -94,12 +81,8 @@ export const serviceFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'service',
|
||||
],
|
||||
operation: [
|
||||
'call',
|
||||
],
|
||||
resource: ['service'],
|
||||
operation: ['call'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -107,23 +90,18 @@ export const serviceFields: INodeProperties[] = [
|
||||
displayName: 'Service Name or ID',
|
||||
name: 'service',
|
||||
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>',
|
||||
typeOptions: {
|
||||
loadOptionsDependsOn: [
|
||||
'domain',
|
||||
],
|
||||
loadOptionsDependsOn: ['domain'],
|
||||
loadOptionsMethod: 'getDomainServices',
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'service',
|
||||
],
|
||||
operation: [
|
||||
'call',
|
||||
],
|
||||
resource: ['service'],
|
||||
operation: ['call'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -138,12 +116,8 @@ export const serviceFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'service',
|
||||
],
|
||||
operation: [
|
||||
'call',
|
||||
],
|
||||
resource: ['service'],
|
||||
operation: ['call'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
|
||||
Reference in New Issue
Block a user