mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04: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-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',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
@ -734,6 +734,7 @@ export const folderFields: INodeProperties[] = [
|
|||
displayName: 'Password',
|
||||
name: 'password',
|
||||
type: 'string',
|
||||
typeOptions: { password: true },
|
||||
displayOptions: {
|
||||
show: {
|
||||
access: ['open'],
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -149,6 +149,7 @@ export const connectorFields: INodeProperties[] = [
|
|||
name: 'password',
|
||||
description: 'ServiceNow ITSM password',
|
||||
type: 'string',
|
||||
typeOptions: { password: true },
|
||||
required: true,
|
||||
default: '',
|
||||
displayOptions: {
|
||||
|
|
|
@ -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.',
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -641,6 +641,7 @@ export function getCustomerOptionalFields(): INodeProperties[] {
|
|||
displayName: 'Password',
|
||||
name: 'password',
|
||||
type: 'string',
|
||||
typeOptions: { password: true },
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -211,6 +211,7 @@ export const databasesFields: INodeProperties[] = [
|
|||
displayName: 'Password',
|
||||
name: 'password',
|
||||
type: 'string',
|
||||
typeOptions: { password: true },
|
||||
required: true,
|
||||
placeholder: 'password',
|
||||
displayOptions: {
|
||||
|
|
|
@ -557,6 +557,7 @@ export class NextCloud implements INodeType {
|
|||
displayName: 'Password',
|
||||
name: 'password',
|
||||
type: 'string',
|
||||
typeOptions: { password: true },
|
||||
displayOptions: {
|
||||
show: {
|
||||
'/resource': ['file', 'folder'],
|
||||
|
|
|
@ -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: '',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
|
|
|
@ -125,6 +125,7 @@ const customerUpdateOptions: INodeProperties[] = [
|
|||
displayName: 'Password',
|
||||
name: 'password',
|
||||
type: 'string',
|
||||
typeOptions: { password: true },
|
||||
displayOptions: {
|
||||
show: {
|
||||
'/resource': ['customer'],
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
|
|
|
@ -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)',
|
||||
},
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
|
|
|
@ -84,6 +84,7 @@ export const userFields: INodeProperties[] = [
|
|||
displayName: 'Password',
|
||||
name: 'password',
|
||||
type: 'string',
|
||||
typeOptions: { password: true },
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
|
|
Loading…
Reference in a new issue