fix: Fix issue with required optional parameters (#3577)

This commit is contained in:
Ricardo Espinoza 2022-06-23 13:44:25 -04:00 committed by GitHub
parent 891844ea8b
commit 42d2959f47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 0 additions and 14 deletions

View file

@ -147,7 +147,6 @@ export const collectionFields: INodeProperties[] = [
displayName: 'Populate',
name: 'populate',
type: 'boolean',
required: true,
default: true,
description: 'Whether to resolve linked collection items',
},

View file

@ -795,7 +795,6 @@ export class Freshdesk implements INodeType {
displayName: 'Source',
name: 'source',
type: 'options',
required: true,
options: [
{
name: 'Chat',

View file

@ -167,7 +167,6 @@ export class Ftp implements INodeType {
type: 'boolean',
default: false,
description: 'Whether folders can be deleted',
required: true,
},
{
displayName: 'Recursive',
@ -182,7 +181,6 @@ export class Ftp implements INodeType {
type: 'boolean',
default: false,
description: 'Whether to remove all files and directories in target directory',
required: true,
},
],
},

View file

@ -508,7 +508,6 @@ export const webinarFields: INodeProperties[] = [
displayName: 'Timezone Name or ID',
name: 'timezone',
type: 'options',
required: true,
default: '',
placeholder: '2020-12-11T09:00:00Z',
description: 'Timezone where the webinar is to take place. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',

View file

@ -167,7 +167,6 @@ export class GoogleCloudNaturalLanguage implements INodeType {
],
default: 'PLAIN_TEXT',
description: 'The type of input document',
required: true,
},
{
displayName: 'Encoding Type',

View file

@ -1020,7 +1020,6 @@ export class GoogleDrive implements INodeType {
value: 'webViewLink',
},
],
required: true,
default: [],
description: 'The fields to return',
},
@ -1254,7 +1253,6 @@ export class GoogleDrive implements INodeType {
value: 'webViewLink',
},
],
required: true,
default: [],
description: 'The fields to return',
},
@ -1423,7 +1421,6 @@ export class GoogleDrive implements INodeType {
value: 'photos',
},
],
required: true,
default: [],
description: 'The spaces to operate on',
},
@ -1463,7 +1460,6 @@ export class GoogleDrive implements INodeType {
description: 'All drives',
},
],
required: true,
default: '',
description: 'The corpora to operate on',
},

View file

@ -302,7 +302,6 @@ export const dealFields: INodeProperties[] = [
displayName: 'Deal Stage Name or ID',
name: 'stage',
type: 'options',
required: true,
typeOptions: {
loadOptionsMethod: 'getDealStages',
},

View file

@ -91,7 +91,6 @@ export const activityFields: INodeProperties[] = [
displayName: 'Campaign Name or ID',
name: 'campaignId',
type: 'options',
required: true,
default: '',
typeOptions: {
loadOptionsMethod: 'getCampaigns',

View file

@ -1221,7 +1221,6 @@ export class Mailchimp implements INodeType {
displayName: 'Status',
name: 'status',
type: 'options',
required: true,
options: [
{
name: 'Cleaned',

View file

@ -159,7 +159,6 @@ export const nodeDescription: INodeTypeDescription = {
},
default: '{}',
placeholder: '{ "field": -1 }',
required: true,
description: 'A JSON that defines the sort order of the result set',
},
],