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

This commit is contained in:
Iván Ovejero 2022-04-22 13:03:59 +02:00 committed by GitHub
parent e0cc864674
commit da4dfad2e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
54 changed files with 125 additions and 124 deletions

View file

@ -381,7 +381,8 @@ module.exports = {
"n8n-nodes-base/node-class-description-outputs-wrong": "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", "n8n-nodes-base/node-param-default-wrong-for-collection": "error",
"n8n-nodes-base/node-param-default-wrong-for-boolean": "error" "n8n-nodes-base/node-param-default-wrong-for-boolean": "error",
"n8n-nodes-base/node-param-default-wrong-for-fixed-collection": "error",
} }
}, },
], ],

View file

@ -128,7 +128,7 @@ const postalAddressesFields: INodeProperties[] = [
displayName: 'Location', displayName: 'Location',
name: 'location', name: 'location',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
options: [ options: [
{ {
displayName: 'Location Fields', displayName: 'Location Fields',

View file

@ -206,7 +206,7 @@ export const companyFields: INodeProperties[] = [
], ],
}, },
}, },
default: '', default: {},
placeholder: 'Add Condition', placeholder: 'Add Condition',
options: [ options: [
{ {

View file

@ -206,7 +206,7 @@ export const contactFields: INodeProperties[] = [
], ],
}, },
}, },
default: '', default: {},
placeholder: 'Add Condition', placeholder: 'Add Condition',
options: [ options: [
{ {

View file

@ -110,7 +110,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -394,7 +394,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -91,7 +91,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -175,7 +175,7 @@ export const itemFields: INodeProperties[] = [
description: 'Substitution tokens for attribute names in an expression. Only needed when the parameter "condition expression" is set', description: 'Substitution tokens for attribute names in an expression. Only needed when the parameter "condition expression" is set',
placeholder: 'Add Attribute Value', placeholder: 'Add Attribute Value',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
required: true, required: true,
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -230,7 +230,7 @@ export const itemFields: INodeProperties[] = [
name: 'eanUi', name: 'eanUi',
placeholder: 'Add Expression', placeholder: 'Add Expression',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -401,7 +401,7 @@ export const itemFields: INodeProperties[] = [
name: 'eanUi', name: 'eanUi',
placeholder: 'Add Expression', placeholder: 'Add Expression',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -433,7 +433,7 @@ export const itemFields: INodeProperties[] = [
description: 'Substitution tokens for attribute names in an expression. Only needed when the parameter "condition expression" is set', description: 'Substitution tokens for attribute names in an expression. Only needed when the parameter "condition expression" is set',
placeholder: 'Add Attribute Value', placeholder: 'Add Attribute Value',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
required: true, required: true,
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -624,7 +624,7 @@ export const itemFields: INodeProperties[] = [
name: 'eanUi', name: 'eanUi',
placeholder: 'Add Expression', placeholder: 'Add Expression',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -733,7 +733,7 @@ export const itemFields: INodeProperties[] = [
description: 'Substitution tokens for attribute names in an expression', description: 'Substitution tokens for attribute names in an expression',
placeholder: 'Add Attribute Value', placeholder: 'Add Attribute Value',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
required: true, required: true,
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -931,7 +931,7 @@ export const itemFields: INodeProperties[] = [
name: 'eanUi', name: 'eanUi',
placeholder: 'Add Expression', placeholder: 'Add Expression',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -205,7 +205,7 @@ export class AwsRekognition implements INodeType {
displayName: 'Regions of Interest', displayName: 'Regions of Interest',
name: 'regionsOfInterestUi', name: 'regionsOfInterestUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Region of Interest', placeholder: 'Add Region of Interest',
displayOptions: { displayOptions: {
show: { show: {

View file

@ -671,7 +671,7 @@ export const fileFields: INodeProperties[] = [
name: 'tagsUi', name: 'tagsUi',
placeholder: 'Add Tag', placeholder: 'Add Tag',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -200,7 +200,7 @@ export const meetingFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
placeholder: 'Add Invitee', placeholder: 'Add Invitee',
options: [ options: [
{ {
@ -785,7 +785,7 @@ export const meetingFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
placeholder: 'Add Invitee', placeholder: 'Add Invitee',
options: [ options: [
{ {

View file

@ -108,7 +108,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -557,7 +557,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -391,7 +391,7 @@ export const eventFields: INodeProperties[] = [
displayName: 'Reminders', displayName: 'Reminders',
name: 'remindersUi', name: 'remindersUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Reminder', placeholder: 'Add Reminder',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -1011,7 +1011,7 @@ export const eventFields: INodeProperties[] = [
displayName: 'Reminders', displayName: 'Reminders',
name: 'remindersUi', name: 'remindersUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Reminder', placeholder: 'Add Reminder',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -177,7 +177,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Company', displayName: 'Company',
name: 'companyUi', name: 'companyUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Company', placeholder: 'Add Company',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -219,7 +219,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -251,7 +251,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Emails', displayName: 'Emails',
name: 'emailsUi', name: 'emailsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Email', placeholder: 'Add Email',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -297,7 +297,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Events', displayName: 'Events',
name: 'eventsUi', name: 'eventsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Event', placeholder: 'Add Event',
description: 'An event related to the person.', description: 'An event related to the person.',
typeOptions: { typeOptions: {
@ -383,7 +383,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Phone', displayName: 'Phone',
name: 'phoneUi', name: 'phoneUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Phone', placeholder: 'Add Phone',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -464,7 +464,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Relations', displayName: 'Relations',
name: 'relationsUi', name: 'relationsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Relation', placeholder: 'Add Relation',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -1245,7 +1245,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Company', displayName: 'Company',
name: 'companyUi', name: 'companyUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Company', placeholder: 'Add Company',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -1287,7 +1287,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -1319,7 +1319,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Emails', displayName: 'Emails',
name: 'emailsUi', name: 'emailsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Email', placeholder: 'Add Email',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -1365,7 +1365,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Events', displayName: 'Events',
name: 'eventsUi', name: 'eventsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Event', placeholder: 'Add Event',
description: 'An event related to the person.', description: 'An event related to the person.',
typeOptions: { typeOptions: {
@ -1451,7 +1451,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Phone', displayName: 'Phone',
name: 'phoneUi', name: 'phoneUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Phone', placeholder: 'Add Phone',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -1532,7 +1532,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Relations', displayName: 'Relations',
name: 'relationsUi', name: 'relationsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Relation', placeholder: 'Add Relation',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -2038,7 +2038,7 @@ export class GoogleDrive implements INodeType {
name: 'appPropertiesUi', name: 'appPropertiesUi',
placeholder: 'Add Property', placeholder: 'Add Property',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -2071,7 +2071,7 @@ export class GoogleDrive implements INodeType {
name: 'propertiesUi', name: 'propertiesUi',
placeholder: 'Add Property', placeholder: 'Add Property',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -214,7 +214,7 @@ export const draftFields: INodeProperties[] = [
], ],
}, },
], ],
default: '', default: {},
description: 'Array of supported attachments to add to the message.', description: 'Array of supported attachments to add to the message.',
}, },
], ],

View file

@ -249,7 +249,7 @@ export const messageFields: INodeProperties[] = [
], ],
}, },
], ],
default: '', default: {},
description: 'Array of supported attachments to add to the message.', description: 'Array of supported attachments to add to the message.',
}, },
{ {

View file

@ -82,7 +82,7 @@ export class GooglePerspective implements INodeType {
displayName: 'Attributes to Analyze', displayName: 'Attributes to Analyze',
name: 'requestedAttributesUi', name: 'requestedAttributesUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -230,7 +230,7 @@ export const threadFields: INodeProperties[] = [
], ],
}, },
], ],
default: '', default: {},
description: 'Array of supported attachments to add to the message.', description: 'Array of supported attachments to add to the message.',
}, },
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */

View file

@ -915,7 +915,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Filter Groups', displayName: 'Filter Groups',
name: 'filterGroupsUi', name: 'filterGroupsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Filter Group', placeholder: 'Add Filter Group',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -940,7 +940,7 @@ export const contactFields: INodeProperties[] = [
displayName: 'Filters', displayName: 'Filters',
name: 'filtersUi', name: 'filtersUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Filter', placeholder: 'Add Filter',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -618,7 +618,7 @@ export const dealFields: INodeProperties[] = [
displayName: 'Filter Groups', displayName: 'Filter Groups',
name: 'filterGroupsUi', name: 'filterGroupsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Filter Group', placeholder: 'Add Filter Group',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -643,7 +643,7 @@ export const dealFields: INodeProperties[] = [
displayName: 'Filters', displayName: 'Filters',
name: 'filtersUi', name: 'filtersUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Filter', placeholder: 'Add Filter',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -404,7 +404,7 @@ export const companyFields: INodeProperties[] = [
displayName: 'Custom Attributes', displayName: 'Custom Attributes',
name: 'customAttributesUi', name: 'customAttributesUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Attribute', placeholder: 'Add Attribute',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -472,7 +472,7 @@ export const leadFields: INodeProperties[] = [
displayName: 'Custom Attributes', displayName: 'Custom Attributes',
name: 'customAttributesUi', name: 'customAttributesUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Attribute', placeholder: 'Add Attribute',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -524,7 +524,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Custom Attributes', displayName: 'Custom Attributes',
name: 'customAttributesUi', name: 'customAttributesUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Attribute', placeholder: 'Add Attribute',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -84,7 +84,7 @@ export const eventFields: INodeProperties[] = [
displayName: 'Data Fields', displayName: 'Data Fields',
name: 'dataFieldsUi', name: 'dataFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Data Field', placeholder: 'Add Data Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -128,7 +128,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Data Fields', displayName: 'Data Fields',
name: 'dataFieldsUi', name: 'dataFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Data Field', placeholder: 'Add Data Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -170,7 +170,7 @@ export class Jenkins implements INodeType {
}, },
}, },
required: true, required: true,
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -182,7 +182,7 @@ export const issueFields: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -347,7 +347,7 @@ export const issueFields: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -106,7 +106,7 @@ export const companyFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
default: '', default: {},
placeholder: 'Add Address', placeholder: 'Add Address',
displayOptions: { displayOptions: {
show: { show: {

View file

@ -241,7 +241,7 @@ export const contactFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
placeholder: 'Add Address', placeholder: 'Add Address',
displayOptions: { displayOptions: {
show: { show: {
@ -506,7 +506,7 @@ export const contactFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
placeholder: 'Add Social Account', placeholder: 'Add Social Account',
displayOptions: { displayOptions: {
show: { show: {

View file

@ -175,7 +175,7 @@ export const ecommerceOrderFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
default: '', default: {},
placeholder: 'Add Address', placeholder: 'Add Address',
displayOptions: { displayOptions: {
show: { show: {

View file

@ -456,7 +456,7 @@ export const emailFields: INodeProperties[] = [
], ],
}, },
], ],
default: '', default: {},
description: 'Attachments to be sent with each copy of the email, maximum of 10 with size of 1MB each', description: 'Attachments to be sent with each copy of the email, maximum of 10 with size of 1MB each',
}, },
]; ];

View file

@ -122,7 +122,7 @@ export const formFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
default: '', default: {},
placeholder: 'Add Sort', placeholder: 'Add Sort',
options: [ options: [
{ {

View file

@ -283,7 +283,7 @@ export function getSearchFilters(resource: string, filterableAttributeFunction:
], ],
}, },
}, },
default: '', default: {},
placeholder: 'Add Condition', placeholder: 'Add Condition',
options: [ options: [
{ {
@ -571,7 +571,7 @@ export function getCustomerOptionalFields(): INodeProperties[] {
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
placeholder: 'Add Custom Attribute', placeholder: 'Add Custom Attribute',
options: [ options: [
{ {

View file

@ -458,7 +458,7 @@ export class Mandrill implements INodeType {
name: 'mergeVarsUi', name: 'mergeVarsUi',
placeholder: 'Add Merge Vars', placeholder: 'Add Merge Vars',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -496,7 +496,7 @@ export class Mandrill implements INodeType {
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -634,7 +634,7 @@ export class Mandrill implements INodeType {
], ],
}, },
], ],
default: '', default: {},
description: 'Array of supported attachments to add to the message.', description: 'Array of supported attachments to add to the message.',
}, },
{ {
@ -662,7 +662,7 @@ export class Mandrill implements INodeType {
name: 'headersUi', name: 'headersUi',
placeholder: 'Add Headers', placeholder: 'Add Headers',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -357,7 +357,7 @@ export const text = (displayOptions: IDisplayOptions): INodeProperties[] => [
name: 'text', name: 'text',
placeholder: 'Add Text', placeholder: 'Add Text',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -526,7 +526,7 @@ export const blocks = (resource: string, operation: string): INodeProperties[] =
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [

View file

@ -170,7 +170,7 @@ export const databasePageFields = [
], ],
}, },
}, },
default: '', default: {},
placeholder: 'Add Property', placeholder: 'Add Property',
options: [ options: [
{ {
@ -585,7 +585,7 @@ export const databasePageFields = [
], ],
}, },
}, },
default: '', default: {},
placeholder: 'Add Property', placeholder: 'Add Property',
options: [ options: [
{ {

View file

@ -874,7 +874,7 @@ export function getSearchFilters(resource: string) {
], ],
}, },
}, },
default: '', default: {},
placeholder: 'Add Condition', placeholder: 'Add Condition',
options: [ options: [
{ {

View file

@ -643,7 +643,7 @@ export const couponFields: INodeProperties[] = [
displayName: 'Discount', displayName: 'Discount',
name: 'discount', name: 'discount',
type: 'fixedCollection', type: 'fixedCollection',
default: 'discountProperties', default: {},
options: [ options: [
{ {
displayName: 'Discount Properties', displayName: 'Discount Properties',

View file

@ -338,7 +338,7 @@ export const agentFields: INodeProperties[] = [
name: 'argumentsUi', name: 'argumentsUi',
placeholder: 'Add Argument', placeholder: 'Add Argument',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -377,7 +377,7 @@ export const agentFields: INodeProperties[] = [
name: 'bonusArgumentUi', name: 'bonusArgumentUi',
placeholder: 'Add Bonus Argument', placeholder: 'Add Bonus Argument',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -238,7 +238,7 @@ export class Pushover implements INodeType {
], ],
}, },
], ],
default: '', default: {},
}, },
{ {
displayName: 'Device', displayName: 'Device',

View file

@ -336,7 +336,7 @@ export class Rocketchat implements INodeType {
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
options: [ options: [
{ {
name: 'fieldsValues', name: 'fieldsValues',

View file

@ -73,7 +73,7 @@ export const orderFields: INodeProperties[] = [
name: 'billingAddressUi', name: 'billingAddressUi',
placeholder: 'Add Billing Address', placeholder: 'Add Billing Address',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
@ -152,7 +152,7 @@ export const orderFields: INodeProperties[] = [
name: 'discountCodesUi', name: 'discountCodesUi',
placeholder: 'Add Discount Code', placeholder: 'Add Discount Code',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -302,7 +302,7 @@ export const orderFields: INodeProperties[] = [
name: 'shippingAddressUi', name: 'shippingAddressUi',
placeholder: 'Add Shipping', placeholder: 'Add Shipping',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
@ -859,7 +859,7 @@ export const orderFields: INodeProperties[] = [
name: 'shippingAddressUi', name: 'shippingAddressUi',
placeholder: 'Add Shipping', placeholder: 'Add Shipping',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },

View file

@ -130,7 +130,7 @@ export function getFilters(
], ],
}, },
}, },
default: '', default: {},
placeholder: 'Add Condition', placeholder: 'Add Condition',
options: [ options: [
{ {

View file

@ -243,7 +243,7 @@ export const rowFields: INodeProperties[] = [
], ],
}, },
}, },
default: '', default: {},
placeholder: 'Add Condition', placeholder: 'Add Condition',
options: [ options: [
{ {

View file

@ -73,7 +73,7 @@ export const affiliateMetadataFields: INodeProperties[] = [
], ],
}, },
}, },
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -363,7 +363,7 @@ export const alertFields: INodeProperties[] = [
name: 'artifactUi', name: 'artifactUi',
type: 'fixedCollection', type: 'fixedCollection',
placeholder: 'Add Artifact', placeholder: 'Add Artifact',
default: '', default: {},
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@ -621,7 +621,7 @@ export const alertFields: INodeProperties[] = [
name: 'artifactUi', name: 'artifactUi',
type: 'fixedCollection', type: 'fixedCollection',
placeholder: 'Add Artifact', placeholder: 'Add Artifact',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -173,7 +173,7 @@ export const orderFields: INodeProperties[] = [
name: 'billingUi', name: 'billingUi',
placeholder: 'Add Billing', placeholder: 'Add Billing',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
@ -263,7 +263,7 @@ export const orderFields: INodeProperties[] = [
name: 'couponLinesUi', name: 'couponLinesUi',
placeholder: 'Add Coupon Line', placeholder: 'Add Coupon Line',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -295,7 +295,7 @@ export const orderFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -332,7 +332,7 @@ export const orderFields: INodeProperties[] = [
name: 'feeLinesUi', name: 'feeLinesUi',
placeholder: 'Add Fee Line', placeholder: 'Add Fee Line',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -395,7 +395,7 @@ export const orderFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -432,7 +432,7 @@ export const orderFields: INodeProperties[] = [
name: 'lineItemsUi', name: 'lineItemsUi',
placeholder: 'Add Line Item', placeholder: 'Add Line Item',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -506,7 +506,7 @@ export const orderFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -543,7 +543,7 @@ export const orderFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -586,7 +586,7 @@ export const orderFields: INodeProperties[] = [
name: 'shippingUi', name: 'shippingUi',
placeholder: 'Add Shipping', placeholder: 'Add Shipping',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
@ -664,7 +664,7 @@ export const orderFields: INodeProperties[] = [
name: 'shippingLinesUi', name: 'shippingLinesUi',
placeholder: 'Add Shipping Line', placeholder: 'Add Shipping Line',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -710,7 +710,7 @@ export const orderFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -879,7 +879,7 @@ export const orderFields: INodeProperties[] = [
name: 'billingUi', name: 'billingUi',
placeholder: 'Add Billing', placeholder: 'Add Billing',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
@ -969,7 +969,7 @@ export const orderFields: INodeProperties[] = [
name: 'couponLinesUi', name: 'couponLinesUi',
placeholder: 'Add Coupon Line', placeholder: 'Add Coupon Line',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -1001,7 +1001,7 @@ export const orderFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -1038,7 +1038,7 @@ export const orderFields: INodeProperties[] = [
name: 'feeLinesUi', name: 'feeLinesUi',
placeholder: 'Add Fee Line', placeholder: 'Add Fee Line',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -1101,7 +1101,7 @@ export const orderFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -1138,7 +1138,7 @@ export const orderFields: INodeProperties[] = [
name: 'lineItemsUi', name: 'lineItemsUi',
placeholder: 'Add Line Item', placeholder: 'Add Line Item',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -1212,7 +1212,7 @@ export const orderFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -1249,7 +1249,7 @@ export const orderFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -1292,7 +1292,7 @@ export const orderFields: INodeProperties[] = [
name: 'shippingUi', name: 'shippingUi',
placeholder: 'Add Shipping', placeholder: 'Add Shipping',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
@ -1370,7 +1370,7 @@ export const orderFields: INodeProperties[] = [
name: 'shippingLinesUi', name: 'shippingLinesUi',
placeholder: 'Add Shipping Line', placeholder: 'Add Shipping Line',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -1416,7 +1416,7 @@ export const orderFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -427,7 +427,7 @@ export const productFields: INodeProperties[] = [
name: 'dimensionsUi', name: 'dimensionsUi',
placeholder: 'Add Dimension', placeholder: 'Add Dimension',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
@ -477,7 +477,7 @@ export const productFields: INodeProperties[] = [
name: 'imagesUi', name: 'imagesUi',
placeholder: 'Add Image', placeholder: 'Add Image',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -527,7 +527,7 @@ export const productFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -952,7 +952,7 @@ export const productFields: INodeProperties[] = [
name: 'dimensionsUi', name: 'dimensionsUi',
placeholder: 'Add Dimension', placeholder: 'Add Dimension',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: false, multipleValues: false,
}, },
@ -1002,7 +1002,7 @@ export const productFields: INodeProperties[] = [
name: 'imagesUi', name: 'imagesUi',
placeholder: 'Add Image', placeholder: 'Add Image',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -1052,7 +1052,7 @@ export const productFields: INodeProperties[] = [
name: 'metadataUi', name: 'metadataUi',
placeholder: 'Add Metadata', placeholder: 'Add Metadata',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -115,7 +115,7 @@ export const contactFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
placeholder: 'Add Address', placeholder: 'Add Address',
options: [ options: [
{ {
@ -257,7 +257,7 @@ export const contactFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
placeholder: 'Add Phone', placeholder: 'Add Phone',
options: [ options: [
{ {
@ -590,7 +590,7 @@ export const contactFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
placeholder: 'Add Address', placeholder: 'Add Address',
options: [ options: [
{ {
@ -739,7 +739,7 @@ export const contactFields: INodeProperties[] = [
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
default: '', default: {},
placeholder: 'Add Phone', placeholder: 'Add Phone',
options: [ options: [
{ {

View file

@ -119,7 +119,7 @@ export const invoiceFields: INodeProperties[] = [
name: 'lineItemsUi', name: 'lineItemsUi',
placeholder: 'Add Line Item', placeholder: 'Add Line Item',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -582,7 +582,7 @@ export const invoiceFields: INodeProperties[] = [
name: 'lineItemsUi', name: 'lineItemsUi',
placeholder: 'Add Line Item', placeholder: 'Add Line Item',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },

View file

@ -150,7 +150,7 @@ export const groupDescription: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -219,7 +219,7 @@ export const groupDescription: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -149,7 +149,7 @@ export const organizationDescription: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -218,7 +218,7 @@ export const organizationDescription: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -257,7 +257,7 @@ export const ticketDescription: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,

View file

@ -216,7 +216,7 @@ export const userDescription: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -393,7 +393,7 @@ export const userDescription: INodeProperties[] = [
displayName: 'Custom Fields', displayName: 'Custom Fields',
name: 'customFieldsUi', name: 'customFieldsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: '', default: {},
placeholder: 'Add Custom Field', placeholder: 'Add Custom Field',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,