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

@@ -8,9 +8,7 @@ export const linkOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'link',
],
resource: ['link'],
},
},
options: [
@@ -38,22 +36,17 @@ export const linkOperations: INodeProperties[] = [
];
export const linkFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* link:create */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* link:create */
/* -------------------------------------------------------------------------- */
{
displayName: 'Long URL',
name: 'longUrl',
type: 'string',
displayOptions: {
show: {
resource: [
'link',
],
operation: [
'create',
],
resource: ['link'],
operation: ['create'],
},
},
default: '',
@@ -68,12 +61,8 @@ export const linkFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'link',
],
operation: [
'create',
],
resource: ['link'],
operation: ['create'],
},
},
options: [
@@ -87,7 +76,8 @@ export const linkFields: INodeProperties[] = [
displayName: 'Group Name or ID',
name: 'group',
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>',
default: '',
typeOptions: {
loadOptionsMethod: 'getGroups',
@@ -97,13 +87,12 @@ export const linkFields: INodeProperties[] = [
displayName: 'Tag Names or IDs',
name: 'tags',
type: 'multiOptions',
description: 'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
description:
'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
default: [],
typeOptions: {
loadOptionsMethod: 'getTags',
loadOptionsDependsOn: [
'group',
],
loadOptionsDependsOn: ['group'],
},
},
{
@@ -124,12 +113,8 @@ export const linkFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'link',
],
operation: [
'create',
],
resource: ['link'],
operation: ['create'],
},
},
default: {},
@@ -166,9 +151,9 @@ export const linkFields: INodeProperties[] = [
},
],
},
/* -------------------------------------------------------------------------- */
/* link:update */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* link:update */
/* -------------------------------------------------------------------------- */
{
displayName: 'Bitlink',
name: 'id',
@@ -178,12 +163,8 @@ export const linkFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'link',
],
operation: [
'update',
],
resource: ['link'],
operation: ['update'],
},
},
},
@@ -195,12 +176,8 @@ export const linkFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'link',
],
operation: [
'update',
],
resource: ['link'],
operation: ['update'],
},
},
options: [
@@ -214,7 +191,8 @@ export const linkFields: INodeProperties[] = [
displayName: 'Group Name or ID',
name: 'group',
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>',
default: '',
typeOptions: {
loadOptionsMethod: 'getGroups',
@@ -230,13 +208,12 @@ export const linkFields: INodeProperties[] = [
displayName: 'Tag Names or IDs',
name: 'tags',
type: 'multiOptions',
description: 'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
description:
'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
default: [],
typeOptions: {
loadOptionsMethod: 'getTags',
loadOptionsDependsOn: [
'group',
],
loadOptionsDependsOn: ['group'],
},
},
{
@@ -257,12 +234,8 @@ export const linkFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'link',
],
operation: [
'update',
],
resource: ['link'],
operation: ['update'],
},
},
default: {},
@@ -299,9 +272,9 @@ export const linkFields: INodeProperties[] = [
},
],
},
/* -------------------------------------------------------------------------- */
/* link:get */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* link:get */
/* -------------------------------------------------------------------------- */
{
displayName: 'Bitlink',
name: 'id',
@@ -311,12 +284,8 @@ export const linkFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'link',
],
operation: [
'get',
],
resource: ['link'],
operation: ['get'],
},
},
},