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 noteOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const noteOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'note',
],
resource: ['note'],
},
},
options: [
@@ -55,12 +51,8 @@ export const noteFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'note',
],
operation: [
'create',
],
resource: ['note'],
operation: ['create'],
},
},
},
@@ -87,30 +79,23 @@ export const noteFields: INodeProperties[] = [
],
displayOptions: {
show: {
resource: [
'note',
],
operation: [
'create',
],
resource: ['note'],
operation: ['create'],
},
},
},
{
displayName: 'Target ID',
name: 'targetable_id',
description: 'ID of the entity for which note is created. The type of entity is selected in "Target Type".',
description:
'ID of the entity for which note is created. The type of entity is selected in "Target Type".',
type: 'string',
required: true,
default: '',
displayOptions: {
show: {
resource: [
'note',
],
operation: [
'create',
],
resource: ['note'],
operation: ['create'],
},
},
},
@@ -127,12 +112,8 @@ export const noteFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'note',
],
operation: [
'delete',
],
resource: ['note'],
operation: ['delete'],
},
},
},
@@ -149,12 +130,8 @@ export const noteFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'note',
],
operation: [
'update',
],
resource: ['note'],
operation: ['update'],
},
},
},
@@ -166,12 +143,8 @@ export const noteFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'note',
],
operation: [
'update',
],
resource: ['note'],
operation: ['update'],
},
},
options: [