refactor: Format nodes-base package (A-F) (#3800)

* 🔨 prettier formated nodes - A

* 🔨 prettier formated nodes - B

*  prettier formated nodes - C

*  prettier formated nodes - D

*  prettier formated nodes - E-F

* 🎨 Adjust nodes-base formatting command (#3805)

* Format additional files in nodes A-F (#3811)

*  fixes

* 🎨 Add Mindee to ignored dirs

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
Michael Kret
2022-08-01 23:47:55 +03:00
committed by GitHub
parent 2c17e6f3ca
commit 0ecbb4a19d
411 changed files with 12906 additions and 20148 deletions

View File

@@ -1,6 +1,4 @@
import {
INodeProperties,
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
export const caseCommentOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const caseCommentOperations: INodeProperties[] = [
type: 'options',
displayOptions: {
show: {
resource: [
'caseComment',
],
resource: ['caseComment'],
},
},
options: [
@@ -64,12 +60,8 @@ export const caseCommentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'add',
],
resource: ['caseComment'],
operation: ['add'],
},
},
},
@@ -81,12 +73,8 @@ export const caseCommentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'add',
],
resource: ['caseComment'],
operation: ['add'],
},
},
},
@@ -96,12 +84,8 @@ export const caseCommentFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'add',
],
resource: ['caseComment'],
operation: ['add'],
},
},
default: true,
@@ -115,12 +99,8 @@ export const caseCommentFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'add',
],
resource: ['caseComment'],
operation: ['add'],
},
},
options: [
@@ -128,7 +108,8 @@ export const caseCommentFields: INodeProperties[] = [
displayName: 'Owner',
name: 'owner',
type: 'string',
description: 'Valid application owner registered within the Cases Role Based Access Control system',
description:
'Valid application owner registered within the Cases Role Based Access Control system',
default: '',
},
],
@@ -146,12 +127,8 @@ export const caseCommentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'get',
],
resource: ['caseComment'],
operation: ['get'],
},
},
},
@@ -164,12 +141,8 @@ export const caseCommentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'get',
],
resource: ['caseComment'],
operation: ['get'],
},
},
},
@@ -185,12 +158,8 @@ export const caseCommentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'getAll',
],
resource: ['caseComment'],
operation: ['getAll'],
},
},
},
@@ -202,12 +171,8 @@ export const caseCommentFields: INodeProperties[] = [
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'getAll',
],
resource: ['caseComment'],
operation: ['getAll'],
},
},
},
@@ -222,15 +187,9 @@ export const caseCommentFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['caseComment'],
operation: ['getAll'],
returnAll: [false],
},
},
},
@@ -247,12 +206,8 @@ export const caseCommentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'remove',
],
resource: ['caseComment'],
operation: ['remove'],
},
},
},
@@ -264,12 +219,8 @@ export const caseCommentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'remove',
],
resource: ['caseComment'],
operation: ['remove'],
},
},
},
@@ -286,12 +237,8 @@ export const caseCommentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'update',
],
resource: ['caseComment'],
operation: ['update'],
},
},
},
@@ -303,12 +250,8 @@ export const caseCommentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'update',
],
resource: ['caseComment'],
operation: ['update'],
},
},
},
@@ -321,12 +264,8 @@ export const caseCommentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'update',
],
resource: ['caseComment'],
operation: ['update'],
},
},
},
@@ -336,12 +275,8 @@ export const caseCommentFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
resource: [
'caseComment',
],
operation: [
'update',
],
resource: ['caseComment'],
operation: ['update'],
},
},
default: true,