refactor(nodes-base): Apply lint rule node-param-type-options-missing-from-password (#4072)

* 👕 Enable rule

* 👕 Apply rule
This commit is contained in:
Iván Ovejero 2022-09-12 09:36:50 +02:00 committed by GitHub
parent 26b07e28f0
commit d6b930c7be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 25 additions and 0 deletions

View file

@ -472,6 +472,7 @@ module.exports = {
'n8n-nodes-base/node-param-resource-with-plural-option': 'error',
'n8n-nodes-base/node-param-resource-without-no-data-expression': 'error',
'n8n-nodes-base/node-param-type-options-missing-from-limit': 'error',
'n8n-nodes-base/node-param-type-options-missing-from-password': 'error',
},
},
],

View file

@ -734,6 +734,7 @@ export const folderFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
displayOptions: {
show: {
access: ['open'],

View file

@ -450,6 +450,7 @@ export const meetingFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description:
"Meeting password. It's required when the meeting is protected by a password and the current user is not privileged to view it if they are not a host, co-host or invitee of the meeting.",
@ -828,6 +829,7 @@ export const meetingFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description:
"Meeting password. Must conform to the site's password complexity settings. If not specified, a random password conforming to the site's password rules will be generated automatically",

View file

@ -149,6 +149,7 @@ export const connectorFields: INodeProperties[] = [
name: 'password',
description: 'ServiceNow ITSM password',
type: 'string',
typeOptions: { password: true },
required: true,
default: '',
displayOptions: {

View file

@ -702,6 +702,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description:
'Stores the password for the user account. A minimum of 8 characters is required. The maximum length is 100 characters.',

View file

@ -115,6 +115,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description:
'Your new password must be at least 8 characters long and contain at least one letter, one number or symbol, one upper case character and one lower case character',

View file

@ -641,6 +641,7 @@ export function getCustomerOptionalFields(): INodeProperties[] {
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
},
{

View file

@ -211,6 +211,7 @@ export const databasesFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
required: true,
placeholder: 'password',
displayOptions: {

View file

@ -557,6 +557,7 @@ export class NextCloud implements INodeType {
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
displayOptions: {
show: {
'/resource': ['file', 'folder'],

View file

@ -87,6 +87,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
required: true,
default: '',
displayOptions: {
@ -244,6 +245,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
},
{

View file

@ -105,6 +105,7 @@ export const publicStatusPageFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'The password for the status page',
},
@ -267,6 +268,7 @@ export const publicStatusPageFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'The password for the status page',
},

View file

@ -125,6 +125,7 @@ const customerUpdateOptions: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
displayOptions: {
show: {
'/resource': ['customer'],

View file

@ -109,6 +109,7 @@ export const postFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'A password to protect access to the content and excerpt',
},
@ -390,6 +391,7 @@ export const postFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'A password to protect access to the content and excerpt',
},
@ -636,6 +638,7 @@ export const postFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'The password for the post if it is password protected',
},

View file

@ -125,6 +125,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
required: true,
default: '',
displayOptions: {
@ -251,6 +252,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'Password for the user (never included)',
},

View file

@ -104,6 +104,7 @@ export const meetingFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'Password to join the meeting with maximum 10 characters',
},
@ -510,6 +511,7 @@ export const meetingFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'Password to join the meeting with maximum 10 characters',
},

View file

@ -177,6 +177,7 @@ export const webinarFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'Password to join the webinar with maximum 10 characters',
},
@ -519,6 +520,7 @@ export const webinarFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'Password to join the webinar with maximum 10 characters',
},

View file

@ -84,6 +84,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
required: true,
displayOptions: {
show: {