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 categoryOperations: INodeProperties[] = [
{
@@ -12,9 +10,7 @@ export const categoryOperations: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'category',
],
resource: ['category'],
},
},
options: [
@@ -52,12 +48,8 @@ export const categoryFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'category',
],
operation: [
'create',
],
resource: ['category'],
operation: ['create'],
},
},
default: '',
@@ -70,12 +62,8 @@ export const categoryFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'category',
],
operation: [
'create',
],
resource: ['category'],
operation: ['create'],
},
},
default: '0000FF',
@@ -88,12 +76,8 @@ export const categoryFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'category',
],
operation: [
'create',
],
resource: ['category'],
operation: ['create'],
},
},
default: '0000FF',
@@ -109,12 +93,8 @@ export const categoryFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
resource: [
'category',
],
operation: [
'getAll',
],
resource: ['category'],
operation: ['getAll'],
},
},
default: false,
@@ -126,15 +106,9 @@ export const categoryFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
resource: [
'category',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['category'],
operation: ['getAll'],
returnAll: [false],
},
},
typeOptions: {
@@ -155,12 +129,8 @@ export const categoryFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'category',
],
operation: [
'update',
],
resource: ['category'],
operation: ['update'],
},
},
default: '',
@@ -173,12 +143,8 @@ export const categoryFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'category',
],
operation: [
'update',
],
resource: ['category'],
operation: ['update'],
},
},
default: '',
@@ -192,12 +158,8 @@ export const categoryFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'category',
],
operation: [
'update',
],
resource: ['category'],
operation: ['update'],
},
},
options: [