🐛 Fix wrong default values

This commit is contained in:
Jan Oberhauser 2020-01-04 22:19:10 -06:00
parent 4c3750db9f
commit f4acd47f80
9 changed files with 23 additions and 23 deletions

View file

@ -73,7 +73,7 @@ export const tableFields = [
loadOptionsMethod: 'getTables', loadOptionsMethod: 'getTables',
}, },
required: true, required: true,
default: [], default: '',
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@ -153,7 +153,7 @@ export const tableFields = [
loadOptionsMethod: 'getTables', loadOptionsMethod: 'getTables',
}, },
required: true, required: true,
default: [], default: '',
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@ -223,7 +223,7 @@ export const tableFields = [
displayName: 'ValueFormat', displayName: 'ValueFormat',
name: 'valueFormat', name: 'valueFormat',
type: 'options', type: 'options',
default: [], default: '',
options: [ options: [
{ {
name: 'Simple', name: 'Simple',
@ -274,7 +274,7 @@ export const tableFields = [
loadOptionsMethod: 'getTables', loadOptionsMethod: 'getTables',
}, },
required: true, required: true,
default: [], default: '',
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@ -358,7 +358,7 @@ export const tableFields = [
displayName: 'ValueFormat', displayName: 'ValueFormat',
name: 'valueFormat', name: 'valueFormat',
type: 'options', type: 'options',
default: [], default: '',
options: [ options: [
{ {
name: 'Simple', name: 'Simple',
@ -386,7 +386,7 @@ export const tableFields = [
displayName: 'Sort By', displayName: 'Sort By',
name: 'sortBy', name: 'sortBy',
type: 'options', type: 'options',
default: [], default: '',
options: [ options: [
{ {
name: 'Created At', name: 'Created At',
@ -441,7 +441,7 @@ export const tableFields = [
loadOptionsMethod: 'getTables', loadOptionsMethod: 'getTables',
}, },
required: true, required: true,
default: [], default: '',
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [

View file

@ -54,7 +54,7 @@ export class EventbriteTrigger implements INodeType {
typeOptions: { typeOptions: {
loadOptionsMethod: 'getOrganizations' loadOptionsMethod: 'getOrganizations'
}, },
default: [], default: '',
description: '', description: '',
}, },
{ {
@ -65,7 +65,7 @@ export class EventbriteTrigger implements INodeType {
typeOptions: { typeOptions: {
loadOptionsMethod: 'getEvents' loadOptionsMethod: 'getEvents'
}, },
default: [], default: '',
description: '', description: '',
}, },
{ {

View file

@ -66,7 +66,7 @@ export class FlowTrigger implements INodeType {
name: 'listIds', name: 'listIds',
type: 'string', type: 'string',
required: true, required: true,
default: [], default: '',
displayOptions: { displayOptions: {
show: { show: {
resource:[ resource:[
@ -86,7 +86,7 @@ export class FlowTrigger implements INodeType {
name: 'taskIds', name: 'taskIds',
type: 'string', type: 'string',
required: true, required: true,
default: [], default: '',
displayOptions: { displayOptions: {
show: { show: {
resource:[ resource:[

View file

@ -107,7 +107,7 @@ export const taskFields = [
displayName: 'List ID', displayName: 'List ID',
name: 'listID', name: 'listID',
type: 'string', type: 'string',
default: [], default: '',
required : false, required : false,
description: 'Put the new task in a list ("project"). Omit this param to have the task be private.', description: 'Put the new task in a list ("project"). Omit this param to have the task be private.',
}, },

View file

@ -776,7 +776,7 @@ export class GoogleDrive implements INodeType {
}, },
], ],
required: true, required: true,
default: [], default: '',
description: 'The corpora to operate on.', description: 'The corpora to operate on.',
}, },
{ {

View file

@ -135,7 +135,7 @@ export const dealFields = [
typeOptions: { typeOptions: {
loadOptionsMethod: 'getDealTypes', loadOptionsMethod: 'getDealTypes',
}, },
default: [], default: '',
}, },
{ {
displayName: 'Associated Company', displayName: 'Associated Company',
@ -209,7 +209,7 @@ export const dealFields = [
typeOptions: { typeOptions: {
loadOptionsMethod: 'getDealStages' loadOptionsMethod: 'getDealStages'
}, },
default: [], default: '',
description: 'The dealstage is required when creating a deal. See the CRM Pipelines API for details on managing pipelines and stages.', description: 'The dealstage is required when creating a deal. See the CRM Pipelines API for details on managing pipelines and stages.',
}, },
{ {
@ -243,7 +243,7 @@ export const dealFields = [
typeOptions: { typeOptions: {
loadOptionsMethod: 'getDealTypes', loadOptionsMethod: 'getDealTypes',
}, },
default: [], default: '',
}, },
] ]
}, },

View file

@ -160,7 +160,7 @@ export const issueFields = [
typeOptions: { typeOptions: {
loadOptionsMethod: 'getPriorities', loadOptionsMethod: 'getPriorities',
}, },
default: [], default: '',
required : false, required : false,
description: 'Priority', description: 'Priority',
}, },
@ -171,7 +171,7 @@ export const issueFields = [
typeOptions: { typeOptions: {
loadOptionsMethod: 'getUsers', loadOptionsMethod: 'getUsers',
}, },
default: [], default: '',
required : false, required : false,
description: 'Assignee', description: 'Assignee',
}, },
@ -278,7 +278,7 @@ export const issueFields = [
typeOptions: { typeOptions: {
loadOptionsMethod: 'getPriorities', loadOptionsMethod: 'getPriorities',
}, },
default: [], default: '',
required : false, required : false,
description: 'Priority', description: 'Priority',
}, },
@ -289,7 +289,7 @@ export const issueFields = [
typeOptions: { typeOptions: {
loadOptionsMethod: 'getUsers', loadOptionsMethod: 'getUsers',
}, },
default: [], default: '',
required : false, required : false,
description: 'Assignee', description: 'Assignee',
}, },

View file

@ -55,7 +55,7 @@ export class MailchimpTrigger implements INodeType {
name: 'list', name: 'list',
type: 'options', type: 'options',
required: true, required: true,
default: [], default: '',
description: 'The list that is gonna fire the event.', description: 'The list that is gonna fire the event.',
typeOptions: { typeOptions: {
loadOptionsMethod: 'getLists' loadOptionsMethod: 'getLists'

View file

@ -104,7 +104,7 @@ export class Todoist implements INodeType {
] ]
}, },
}, },
default: [], default: '',
description: 'The project you want to add the task to.', description: 'The project you want to add the task to.',
}, },
{ {
@ -145,7 +145,7 @@ export class Todoist implements INodeType {
] ]
}, },
}, },
default: [], default: '',
required: true, required: true,
description: 'Task content', description: 'Task content',
}, },