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-display-name-not-first-position
(#4073)
* 👕 Enable rule * 👕 Apply rule
This commit is contained in:
parent
f6064ef278
commit
26b07e28f0
|
@ -446,6 +446,7 @@ module.exports = {
|
|||
'n8n-nodes-base/node-param-description-wrong-for-simplify': 'error',
|
||||
'n8n-nodes-base/node-param-description-wrong-for-upsert': 'error',
|
||||
'n8n-nodes-base/node-param-display-name-excess-inner-whitespace': 'error',
|
||||
'n8n-nodes-base/node-param-display-name-not-first-position': 'error',
|
||||
'n8n-nodes-base/node-param-display-name-miscased': 'error',
|
||||
'n8n-nodes-base/node-param-display-name-miscased-id': 'error',
|
||||
'n8n-nodes-base/node-param-display-name-untrimmed': 'error',
|
||||
|
|
|
@ -75,8 +75,8 @@ export const binOperations: INodeProperties[] = [
|
|||
// Properties of the `Bin` resource
|
||||
export const binFields: INodeProperties[] = [
|
||||
{
|
||||
name: 'binId',
|
||||
displayName: 'Bin ID',
|
||||
name: 'binId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
required: true,
|
||||
|
|
|
@ -86,8 +86,8 @@ export const requestOperations: INodeProperties[] = [
|
|||
// Properties of the `Request` resource
|
||||
export const requestFields: INodeProperties[] = [
|
||||
{
|
||||
name: 'binId',
|
||||
displayName: 'Bin ID',
|
||||
name: 'binId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
required: true,
|
||||
|
@ -100,8 +100,8 @@ export const requestFields: INodeProperties[] = [
|
|||
description: 'Unique identifier for each bin',
|
||||
},
|
||||
{
|
||||
name: 'binContent',
|
||||
displayName: 'Bin Content',
|
||||
name: 'binContent',
|
||||
type: 'string',
|
||||
default: '',
|
||||
typeOptions: {
|
||||
|
@ -122,8 +122,8 @@ export const requestFields: INodeProperties[] = [
|
|||
},
|
||||
},
|
||||
{
|
||||
name: 'requestId',
|
||||
displayName: 'Request ID',
|
||||
name: 'requestId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
required: true,
|
||||
|
|
|
@ -168,8 +168,8 @@ const sendHtmlEmailFields: INodeProperties[] = [
|
|||
displayName: 'Attachment Data',
|
||||
values: [
|
||||
{
|
||||
default: '',
|
||||
displayName: 'Input Data Field Name',
|
||||
default: '',
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
description:
|
||||
|
@ -196,8 +196,8 @@ const sendHtmlEmailFields: INodeProperties[] = [
|
|||
displayName: 'Receipient',
|
||||
values: [
|
||||
{
|
||||
name: 'bcc',
|
||||
displayName: 'Receipient',
|
||||
name: 'bcc',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
|
@ -222,8 +222,8 @@ const sendHtmlEmailFields: INodeProperties[] = [
|
|||
displayName: 'Receipient',
|
||||
values: [
|
||||
{
|
||||
name: 'cc',
|
||||
displayName: 'Receipient',
|
||||
name: 'cc',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
|
@ -249,8 +249,8 @@ const sendHtmlEmailFields: INodeProperties[] = [
|
|||
name: 'tags',
|
||||
values: [
|
||||
{
|
||||
default: '',
|
||||
displayName: 'Tag',
|
||||
default: '',
|
||||
name: 'tag',
|
||||
type: 'string',
|
||||
},
|
||||
|
@ -398,8 +398,8 @@ const sendHtmlTemplateEmailFields: INodeProperties[] = [
|
|||
name: 'tags',
|
||||
values: [
|
||||
{
|
||||
default: '',
|
||||
displayName: 'Tag',
|
||||
default: '',
|
||||
name: 'tag',
|
||||
type: 'string',
|
||||
},
|
||||
|
|
|
@ -40,8 +40,8 @@ export class SendInBlueTrigger implements INodeType {
|
|||
],
|
||||
properties: [
|
||||
{
|
||||
default: 'transactional',
|
||||
displayName: 'Resource',
|
||||
default: 'transactional',
|
||||
name: 'type',
|
||||
options: [
|
||||
{ name: 'Inbound', value: 'inbound' },
|
||||
|
|
|
@ -377,18 +377,18 @@ export class Spotify implements INodeType {
|
|||
description: 'Get a playlist by URI or ID',
|
||||
action: 'Get a playlist',
|
||||
},
|
||||
{
|
||||
name: "Get the User's Playlists",
|
||||
value: 'getUserPlaylists',
|
||||
description: "Get a user's playlists",
|
||||
action: "Get a user's playlists",
|
||||
},
|
||||
{
|
||||
name: 'Get Tracks',
|
||||
value: 'getTracks',
|
||||
description: "Get a playlist's tracks by URI or ID",
|
||||
action: "Get a playlist's tracks by URI or ID",
|
||||
},
|
||||
{
|
||||
name: `Get the User's Playlists`,
|
||||
value: 'getUserPlaylists',
|
||||
description: "Get a user's playlists",
|
||||
action: "Get a user's playlists",
|
||||
},
|
||||
{
|
||||
name: 'Remove an Item',
|
||||
value: 'delete',
|
||||
|
@ -396,7 +396,7 @@ export class Spotify implements INodeType {
|
|||
action: 'Remove an item from a playlist',
|
||||
},
|
||||
{
|
||||
name: `Search`,
|
||||
name: 'Search',
|
||||
value: 'search',
|
||||
description: 'Search playlists by keyword',
|
||||
action: 'Search playlists by keyword',
|
||||
|
@ -1322,4 +1322,4 @@ export class Spotify implements INodeType {
|
|||
|
||||
return this.prepareOutputData(returnData);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -518,8 +518,8 @@ export const observableFields: INodeProperties[] = [
|
|||
default: false,
|
||||
},
|
||||
{
|
||||
name: 'Status',
|
||||
displayName: 'Status',
|
||||
name: 'Status',
|
||||
type: 'options',
|
||||
default: '',
|
||||
options: [
|
||||
|
|
Loading…
Reference in a new issue