mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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 maintenanceWindowOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const maintenanceWindowOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -21,7 +17,6 @@ export const maintenanceWindowOperations: INodeProperties[] = [
|
||||
value: 'create',
|
||||
description: 'Create a maintenance window',
|
||||
action: 'Create a maintenance window',
|
||||
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
@@ -64,12 +59,8 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
default: 1,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
description: 'The maintenance window activation period (minutes)',
|
||||
@@ -82,12 +73,8 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
description: 'The friendly name of the maintenance window',
|
||||
@@ -118,12 +105,8 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
description: 'The type of the maintenance window',
|
||||
@@ -134,15 +117,9 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
type: [
|
||||
3,
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['create'],
|
||||
type: [3],
|
||||
},
|
||||
},
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items
|
||||
@@ -184,15 +161,9 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
type: [
|
||||
4,
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['create'],
|
||||
type: [4],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -209,12 +180,8 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
description: 'The maintenance window start datetime',
|
||||
@@ -231,13 +198,8 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'delete',
|
||||
'get',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['delete', 'get'],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the maintenance window',
|
||||
@@ -252,12 +214,8 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -269,15 +227,9 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['getAll'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -295,12 +247,8 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -325,12 +273,8 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the maintenance window',
|
||||
@@ -343,12 +287,8 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
description: 'The maintenance window activation period (minutes)',
|
||||
@@ -361,12 +301,8 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'maintenanceWindow',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['maintenanceWindow'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -415,9 +351,7 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
type: [
|
||||
3,
|
||||
],
|
||||
type: [3],
|
||||
},
|
||||
},
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items
|
||||
@@ -459,9 +393,7 @@ export const maintenanceWindowFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
type: [
|
||||
4,
|
||||
],
|
||||
type: [4],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
|
||||
Reference in New Issue
Block a user