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 memberOperations: INodeProperties[] = [
{
@@ -48,9 +46,7 @@ export const memberOperations: INodeProperties[] = [
],
displayOptions: {
show: {
resource: [
'member',
],
resource: ['member'],
},
},
},
@@ -70,16 +66,8 @@ export const memberFields: INodeProperties[] = [
placeholder: '5e59c8c7-e05a-4d17-8e85-acc301343926',
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'delete',
'get',
'getGroups',
'update',
'updateGroups',
],
resource: ['member'],
operation: ['delete', 'get', 'getGroups', 'update', 'updateGroups'],
},
},
},
@@ -109,12 +97,8 @@ export const memberFields: INodeProperties[] = [
],
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'create',
],
resource: ['member'],
operation: ['create'],
},
},
},
@@ -129,12 +113,8 @@ export const memberFields: INodeProperties[] = [
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'getAll',
],
resource: ['member'],
operation: ['getAll'],
},
},
},
@@ -149,15 +129,9 @@ export const memberFields: INodeProperties[] = [
description: 'Max number of results to return',
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['member'],
operation: ['getAll'],
returnAll: [false],
},
},
},
@@ -173,12 +147,8 @@ export const memberFields: INodeProperties[] = [
description: 'The email of the member to update',
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'create',
],
resource: ['member'],
operation: ['create'],
},
},
},
@@ -189,12 +159,8 @@ export const memberFields: INodeProperties[] = [
default: false,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'create',
],
resource: ['member'],
operation: ['create'],
},
},
},
@@ -209,7 +175,8 @@ export const memberFields: INodeProperties[] = [
displayName: 'Collection Names or IDs',
name: 'collections',
type: 'multiOptions',
description: 'The collections to assign to this member. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'The collections to assign to this member. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
default: [],
typeOptions: {
loadOptionsMethod: 'getCollections',
@@ -225,12 +192,8 @@ export const memberFields: INodeProperties[] = [
],
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'create',
],
resource: ['member'],
operation: ['create'],
},
},
},
@@ -272,7 +235,8 @@ export const memberFields: INodeProperties[] = [
displayName: 'Collection Names or IDs',
name: 'collections',
type: 'multiOptions',
description: 'The collections to assign to this member. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'The collections to assign to this member. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
default: [],
typeOptions: {
loadOptionsMethod: 'getCollections',
@@ -294,12 +258,8 @@ export const memberFields: INodeProperties[] = [
],
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'update',
],
resource: ['member'],
operation: ['update'],
},
},
},
@@ -314,12 +274,8 @@ export const memberFields: INodeProperties[] = [
description: 'Comma-separated list of IDs of groups to set for a member',
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'updateGroups',
],
resource: ['member'],
operation: ['updateGroups'],
},
},
},