mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
refactor(nodes-base): Apply lint rule node-param-type-options-missing-from-password
(#4072)
* 👕 Enable rule * 👕 Apply rule
This commit is contained in:
parent
26b07e28f0
commit
d6b930c7be
|
@ -472,6 +472,7 @@ module.exports = {
|
||||||
'n8n-nodes-base/node-param-resource-with-plural-option': 'error',
|
'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-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-limit': 'error',
|
||||||
|
'n8n-nodes-base/node-param-type-options-missing-from-password': 'error',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -734,6 +734,7 @@ export const folderFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
access: ['open'],
|
access: ['open'],
|
||||||
|
|
|
@ -450,6 +450,7 @@ export const meetingFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description:
|
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.",
|
"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',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description:
|
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",
|
"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",
|
||||||
|
|
|
@ -149,6 +149,7 @@ export const connectorFields: INodeProperties[] = [
|
||||||
name: 'password',
|
name: 'password',
|
||||||
description: 'ServiceNow ITSM password',
|
description: 'ServiceNow ITSM password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
|
|
|
@ -702,6 +702,7 @@ export const userFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description:
|
description:
|
||||||
'Stores the password for the user account. A minimum of 8 characters is required. The maximum length is 100 characters.',
|
'Stores the password for the user account. A minimum of 8 characters is required. The maximum length is 100 characters.',
|
||||||
|
|
|
@ -115,6 +115,7 @@ export const userFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description:
|
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',
|
'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',
|
||||||
|
|
|
@ -641,6 +641,7 @@ export function getCustomerOptionalFields(): INodeProperties[] {
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -211,6 +211,7 @@ export const databasesFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
required: true,
|
required: true,
|
||||||
placeholder: 'password',
|
placeholder: 'password',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
|
|
|
@ -557,6 +557,7 @@ export class NextCloud implements INodeType {
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
'/resource': ['file', 'folder'],
|
'/resource': ['file', 'folder'],
|
||||||
|
|
|
@ -87,6 +87,7 @@ export const userFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
|
@ -244,6 +245,7 @@ export const userFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -105,6 +105,7 @@ export const publicStatusPageFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description: 'The password for the status page',
|
description: 'The password for the status page',
|
||||||
},
|
},
|
||||||
|
@ -267,6 +268,7 @@ export const publicStatusPageFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description: 'The password for the status page',
|
description: 'The password for the status page',
|
||||||
},
|
},
|
||||||
|
|
|
@ -125,6 +125,7 @@ const customerUpdateOptions: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
'/resource': ['customer'],
|
'/resource': ['customer'],
|
||||||
|
|
|
@ -109,6 +109,7 @@ export const postFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description: 'A password to protect access to the content and excerpt',
|
description: 'A password to protect access to the content and excerpt',
|
||||||
},
|
},
|
||||||
|
@ -390,6 +391,7 @@ export const postFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description: 'A password to protect access to the content and excerpt',
|
description: 'A password to protect access to the content and excerpt',
|
||||||
},
|
},
|
||||||
|
@ -636,6 +638,7 @@ export const postFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description: 'The password for the post if it is password protected',
|
description: 'The password for the post if it is password protected',
|
||||||
},
|
},
|
||||||
|
|
|
@ -125,6 +125,7 @@ export const userFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
|
@ -251,6 +252,7 @@ export const userFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Password for the user (never included)',
|
description: 'Password for the user (never included)',
|
||||||
},
|
},
|
||||||
|
|
|
@ -104,6 +104,7 @@ export const meetingFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Password to join the meeting with maximum 10 characters',
|
description: 'Password to join the meeting with maximum 10 characters',
|
||||||
},
|
},
|
||||||
|
@ -510,6 +511,7 @@ export const meetingFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Password to join the meeting with maximum 10 characters',
|
description: 'Password to join the meeting with maximum 10 characters',
|
||||||
},
|
},
|
||||||
|
|
|
@ -177,6 +177,7 @@ export const webinarFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Password to join the webinar with maximum 10 characters',
|
description: 'Password to join the webinar with maximum 10 characters',
|
||||||
},
|
},
|
||||||
|
@ -519,6 +520,7 @@ export const webinarFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Password to join the webinar with maximum 10 characters',
|
description: 'Password to join the webinar with maximum 10 characters',
|
||||||
},
|
},
|
||||||
|
|
|
@ -84,6 +84,7 @@ export const userFields: INodeProperties[] = [
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
required: true,
|
required: true,
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
|
|
Loading…
Reference in a new issue