👕 Apply node-param-default-wrong-for-collection (#3180)

This commit is contained in:
Iván Ovejero 2022-04-22 12:13:35 +02:00 committed by GitHub
parent aa08cebbf9
commit ca49288bcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 19 additions and 18 deletions

View file

@ -378,7 +378,8 @@ module.exports = {
"n8n-nodes-base/node-class-description-inputs-wrong-trigger-node": "error",
"n8n-nodes-base/node-class-description-inputs-wrong-regular-node": "error",
"n8n-nodes-base/node-class-description-outputs-wrong": "error",
"n8n-nodes-base/node-execute-block-double-assertion-for-items": "error"
"n8n-nodes-base/node-execute-block-double-assertion-for-items": "error",
"n8n-nodes-base/node-param-default-wrong-for-collection": "error"
}
},
],

View file

@ -272,7 +272,7 @@ export class AwsRekognition implements INodeType {
displayName: 'Word Filter',
name: 'wordFilterUi',
type: 'collection',
default: '',
default: {},
placeholder: 'Add Word Filter',
displayOptions: {
show: {

View file

@ -374,7 +374,7 @@ export const appointmentFields: INodeProperties[] = [
displayName: 'Filters',
name: 'filters',
type: 'collection',
default: '',
default: {},
placeholder: 'Add Filter',
displayOptions: {
show: {

View file

@ -294,7 +294,7 @@ export const taskFields: INodeProperties[] = [
displayName: 'Filters',
name: 'filters',
type: 'collection',
default: false,
default: {},
placeholder: 'Add Filter',
displayOptions: {
show: {

View file

@ -863,7 +863,7 @@ export class GoogleSheets implements INodeType {
name: 'gridProperties',
type: 'collection',
placeholder: 'Add Property',
default: '',
default: {},
options: [
{
displayName: 'Column Count',

View file

@ -366,7 +366,7 @@ export const channelFields: INodeProperties[] = [
displayName: 'Channel',
name: 'channel',
type: 'collection',
default: '',
default: {},
placeholder: 'Add Channel Settings',
typeOptions: {
multipleValues: false,
@ -482,7 +482,7 @@ export const channelFields: INodeProperties[] = [
displayName: 'Image',
name: 'image',
type: 'collection',
default: '',
default: {},
placeholder: 'Add Channel Settings',
description: `The image object encapsulates information about images that display on the channel's channel page or video watch pages.`,
typeOptions: {
@ -519,7 +519,7 @@ export const channelFields: INodeProperties[] = [
displayName: 'Status',
name: 'status',
type: 'collection',
default: '',
default: {},
placeholder: 'Add Status',
typeOptions: {
multipleValues: false,

View file

@ -493,7 +493,7 @@ export const alertFields: INodeProperties[] = [
placeholder: 'Add Field',
type: 'collection',
required: false,
default: '',
default: {},
displayOptions: {
show: {
resource: [
@ -577,7 +577,7 @@ export const alertFields: INodeProperties[] = [
placeholder: 'Add Field',
type: 'collection',
required: false,
default: '',
default: {},
displayOptions: {
show: {
resource: [
@ -604,7 +604,7 @@ export const alertFields: INodeProperties[] = [
name: 'updateFields',
type: 'collection',
placeholder: 'Add Field',
default: '',
default: {},
displayOptions: {
show: {
resource: [

View file

@ -329,7 +329,7 @@ export const caseFields: INodeProperties[] = [
},
},
required: false,
default: '',
default: {},
options: [
{
displayName: 'Custom Fields',
@ -433,7 +433,7 @@ export const caseFields: INodeProperties[] = [
},
},
required: false,
default: '',
default: {},
options: [
{
displayName: 'Custom Fields',

View file

@ -382,7 +382,7 @@ export const observableFields: INodeProperties[] = [
type: 'collection',
placeholder: 'Add Option',
required: false,
default: '',
default: {},
displayOptions: {
show: {
resource: [
@ -410,7 +410,7 @@ export const observableFields: INodeProperties[] = [
name: 'updateFields',
type: 'collection',
required: false,
default: '',
default: {},
displayOptions: {
show: {
resource: [
@ -530,7 +530,7 @@ export const observableFields: INodeProperties[] = [
name: 'filters',
type: 'collection',
required: false,
default: '',
default: {},
placeholder: 'Add Filter',
displayOptions: {
show: {

View file

@ -215,7 +215,7 @@ export const taskFields: INodeProperties[] = [
name: 'options',
placeholder: 'Add Option',
required: false,
default: '',
default: {},
displayOptions: {
show: {
resource: [
@ -264,7 +264,7 @@ export const taskFields: INodeProperties[] = [
type: 'collection',
name: 'updateFields',
placeholder: 'Add Field',
default: '',
default: {},
required: false,
displayOptions: {
show: {