mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
fix: Fix issue with required optional parameters (#3577)
This commit is contained in:
parent
891844ea8b
commit
42d2959f47
|
@ -147,7 +147,6 @@ export const collectionFields: INodeProperties[] = [
|
||||||
displayName: 'Populate',
|
displayName: 'Populate',
|
||||||
name: 'populate',
|
name: 'populate',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
required: true,
|
|
||||||
default: true,
|
default: true,
|
||||||
description: 'Whether to resolve linked collection items',
|
description: 'Whether to resolve linked collection items',
|
||||||
},
|
},
|
||||||
|
|
|
@ -795,7 +795,6 @@ export class Freshdesk implements INodeType {
|
||||||
displayName: 'Source',
|
displayName: 'Source',
|
||||||
name: 'source',
|
name: 'source',
|
||||||
type: 'options',
|
type: 'options',
|
||||||
required: true,
|
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'Chat',
|
name: 'Chat',
|
||||||
|
|
|
@ -167,7 +167,6 @@ export class Ftp implements INodeType {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Whether folders can be deleted',
|
description: 'Whether folders can be deleted',
|
||||||
required: true,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Recursive',
|
displayName: 'Recursive',
|
||||||
|
@ -182,7 +181,6 @@ export class Ftp implements INodeType {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Whether to remove all files and directories in target directory',
|
description: 'Whether to remove all files and directories in target directory',
|
||||||
required: true,
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
|
@ -508,7 +508,6 @@ export const webinarFields: INodeProperties[] = [
|
||||||
displayName: 'Timezone Name or ID',
|
displayName: 'Timezone Name or ID',
|
||||||
name: 'timezone',
|
name: 'timezone',
|
||||||
type: 'options',
|
type: 'options',
|
||||||
required: true,
|
|
||||||
default: '',
|
default: '',
|
||||||
placeholder: '2020-12-11T09:00:00Z',
|
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>.',
|
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>.',
|
||||||
|
|
|
@ -167,7 +167,6 @@ export class GoogleCloudNaturalLanguage implements INodeType {
|
||||||
],
|
],
|
||||||
default: 'PLAIN_TEXT',
|
default: 'PLAIN_TEXT',
|
||||||
description: 'The type of input document',
|
description: 'The type of input document',
|
||||||
required: true,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Encoding Type',
|
displayName: 'Encoding Type',
|
||||||
|
|
|
@ -1020,7 +1020,6 @@ export class GoogleDrive implements INodeType {
|
||||||
value: 'webViewLink',
|
value: 'webViewLink',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
required: true,
|
|
||||||
default: [],
|
default: [],
|
||||||
description: 'The fields to return',
|
description: 'The fields to return',
|
||||||
},
|
},
|
||||||
|
@ -1254,7 +1253,6 @@ export class GoogleDrive implements INodeType {
|
||||||
value: 'webViewLink',
|
value: 'webViewLink',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
required: true,
|
|
||||||
default: [],
|
default: [],
|
||||||
description: 'The fields to return',
|
description: 'The fields to return',
|
||||||
},
|
},
|
||||||
|
@ -1423,7 +1421,6 @@ export class GoogleDrive implements INodeType {
|
||||||
value: 'photos',
|
value: 'photos',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
required: true,
|
|
||||||
default: [],
|
default: [],
|
||||||
description: 'The spaces to operate on',
|
description: 'The spaces to operate on',
|
||||||
},
|
},
|
||||||
|
@ -1463,7 +1460,6 @@ export class GoogleDrive implements INodeType {
|
||||||
description: 'All drives',
|
description: 'All drives',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
required: true,
|
|
||||||
default: '',
|
default: '',
|
||||||
description: 'The corpora to operate on',
|
description: 'The corpora to operate on',
|
||||||
},
|
},
|
||||||
|
|
|
@ -302,7 +302,6 @@ export const dealFields: INodeProperties[] = [
|
||||||
displayName: 'Deal Stage Name or ID',
|
displayName: 'Deal Stage Name or ID',
|
||||||
name: 'stage',
|
name: 'stage',
|
||||||
type: 'options',
|
type: 'options',
|
||||||
required: true,
|
|
||||||
typeOptions: {
|
typeOptions: {
|
||||||
loadOptionsMethod: 'getDealStages',
|
loadOptionsMethod: 'getDealStages',
|
||||||
},
|
},
|
||||||
|
|
|
@ -91,7 +91,6 @@ export const activityFields: INodeProperties[] = [
|
||||||
displayName: 'Campaign Name or ID',
|
displayName: 'Campaign Name or ID',
|
||||||
name: 'campaignId',
|
name: 'campaignId',
|
||||||
type: 'options',
|
type: 'options',
|
||||||
required: true,
|
|
||||||
default: '',
|
default: '',
|
||||||
typeOptions: {
|
typeOptions: {
|
||||||
loadOptionsMethod: 'getCampaigns',
|
loadOptionsMethod: 'getCampaigns',
|
||||||
|
|
|
@ -1221,7 +1221,6 @@ export class Mailchimp implements INodeType {
|
||||||
displayName: 'Status',
|
displayName: 'Status',
|
||||||
name: 'status',
|
name: 'status',
|
||||||
type: 'options',
|
type: 'options',
|
||||||
required: true,
|
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'Cleaned',
|
name: 'Cleaned',
|
||||||
|
|
|
@ -159,7 +159,6 @@ export const nodeDescription: INodeTypeDescription = {
|
||||||
},
|
},
|
||||||
default: '{}',
|
default: '{}',
|
||||||
placeholder: '{ "field": -1 }',
|
placeholder: '{ "field": -1 }',
|
||||||
required: true,
|
|
||||||
description: 'A JSON that defines the sort order of the result set',
|
description: 'A JSON that defines the sort order of the result set',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue