refactor: Format all credentials (#3720)

* Apply Prettier to all credentials

* Fix quotes for lint

* 👕 Remove `quotemark` rule

* 👕 Run Prettier to take over quotes

* ⬆️ Upgrade `eslint-plugin-n8n-nodes-base`

* 📦 Update `package-lock.json`

Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
Iván Ovejero
2022-07-24 17:36:17 +02:00
committed by GitHub
parent f9f05621a1
commit 57afd480ab
281 changed files with 656 additions and 1937 deletions

View File

@@ -29,14 +29,14 @@ export class MongoDb implements ICredentialType {
type: 'string',
displayOptions: {
show: {
configurationType: [
'connectionString',
],
configurationType: ['connectionString'],
},
},
default: '',
placeholder: 'mongodb://<USERNAME>:<PASSWORD>@localhost:27017/?authSource=admin&readPreference=primary&appname=n8n&ssl=false',
description: 'If provided, the value here will be used as a MongoDB connection string, and the MongoDB credentials will be ignored',
placeholder:
'mongodb://<USERNAME>:<PASSWORD>@localhost:27017/?authSource=admin&readPreference=primary&appname=n8n&ssl=false',
description:
'If provided, the value here will be used as a MongoDB connection string, and the MongoDB credentials will be ignored',
},
{
displayName: 'Host',
@@ -44,9 +44,7 @@ export class MongoDb implements ICredentialType {
type: 'string',
displayOptions: {
show: {
configurationType: [
'values',
],
configurationType: ['values'],
},
},
default: 'localhost',
@@ -56,7 +54,8 @@ export class MongoDb implements ICredentialType {
name: 'database',
type: 'string',
default: '',
description: 'Note: the database should still be provided even if using an override connection string',
description:
'Note: the database should still be provided even if using an override connection string',
},
{
displayName: 'User',
@@ -64,9 +63,7 @@ export class MongoDb implements ICredentialType {
type: 'string',
displayOptions: {
show: {
configurationType: [
'values',
],
configurationType: ['values'],
},
},
default: '',
@@ -80,9 +77,7 @@ export class MongoDb implements ICredentialType {
},
displayOptions: {
show: {
configurationType: [
'values',
],
configurationType: ['values'],
},
},
default: '',
@@ -93,9 +88,7 @@ export class MongoDb implements ICredentialType {
type: 'number',
displayOptions: {
show: {
configurationType: [
'values',
],
configurationType: ['values'],
},
},
default: 27017,