mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
👕 Apply node-param-default-wrong-for-boolean (#3181)
* Autofixed default missing * Autofixed booleans, worked well * ⚡ Fix params * ⏪ Undo exempted autofixes * 📦 Update package-lock.json
This commit is contained in:
parent
ca49288bcd
commit
f2df0bf7c8
|
@ -379,7 +379,8 @@ module.exports = {
|
|||
"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-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"
|
||||
}
|
||||
},
|
||||
],
|
||||
|
|
|
@ -143,7 +143,7 @@ export const eventFields: INodeProperties[] = [
|
|||
{
|
||||
displayName: 'All Day',
|
||||
name: 'allday',
|
||||
type: 'boolean',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Yes',
|
||||
|
@ -780,7 +780,7 @@ export const eventFields: INodeProperties[] = [
|
|||
{
|
||||
displayName: 'All Day',
|
||||
name: 'allday',
|
||||
type: 'boolean',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Yes',
|
||||
|
|
|
@ -1275,7 +1275,7 @@ export class GoogleDrive implements INodeType {
|
|||
],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
default: false,
|
||||
description: `<p>This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item.</p><p>When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed.</p>`,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -277,7 +277,7 @@ export const taskFields: INodeProperties[] = [
|
|||
displayName: 'Billable By Default',
|
||||
name: 'billable_by_default',
|
||||
type: 'boolean',
|
||||
default: '',
|
||||
default: false,
|
||||
description: 'Used in determining whether default tasks should be marked billable when creating a new project. Defaults to true.',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -446,7 +446,7 @@ export const userFields: INodeProperties[] = [
|
|||
displayName: 'Unsubscribed From Emails',
|
||||
name: 'unsubscribedFromEmails',
|
||||
type: 'boolean',
|
||||
default: '',
|
||||
default: false,
|
||||
placeholder: '',
|
||||
description: 'Whether the user is unsubscribed from emails',
|
||||
},
|
||||
|
|
|
@ -136,7 +136,7 @@ export const groupFields: INodeProperties[] = [
|
|||
displayName: 'Active',
|
||||
name: 'active',
|
||||
type: 'boolean',
|
||||
default: '',
|
||||
default: false,
|
||||
description: 'Whether a user is active',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -118,7 +118,7 @@ export const identifyFields: INodeProperties[] = [
|
|||
displayName: 'Active',
|
||||
name: 'active',
|
||||
type: 'boolean',
|
||||
default: '',
|
||||
default: false,
|
||||
description: 'Whether a user is active',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -99,7 +99,7 @@ export const trackFields: INodeProperties[] = [
|
|||
displayName: 'Active',
|
||||
name: 'active',
|
||||
type: 'boolean',
|
||||
default: '',
|
||||
default: false,
|
||||
description: 'Whether a user is active',
|
||||
},
|
||||
{
|
||||
|
@ -418,7 +418,7 @@ export const trackFields: INodeProperties[] = [
|
|||
displayName: 'Active',
|
||||
name: 'active',
|
||||
type: 'boolean',
|
||||
default: '',
|
||||
default: false,
|
||||
description: 'Whether a user is active',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -394,7 +394,7 @@ export const orderFields: INodeProperties[] = [
|
|||
displayName: 'Test',
|
||||
name: 'test',
|
||||
type: 'boolean',
|
||||
default: '',
|
||||
default: false,
|
||||
description: 'Whether this is a test order.',
|
||||
},
|
||||
],
|
||||
|
|
|
@ -167,7 +167,7 @@ export class Signl4 implements INodeType {
|
|||
displayName: 'Filtering',
|
||||
name: 'filtering',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
default: false,
|
||||
description: `Specify a boolean value of true or false to apply event filtering for this event, or not. If set to true, the event will only trigger a notification to the team, if it contains at least one keyword from one of your services and system categories (i.e. it is whitelisted)`,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -124,7 +124,7 @@ export const stockOnHandFields: INodeProperties[] = [
|
|||
displayName: 'Is Assembled',
|
||||
name: 'IsAssembled',
|
||||
type: 'boolean',
|
||||
default: '',
|
||||
default: false,
|
||||
description: 'If set to True, the AvailableQty will also include the quantity that can be assembled.',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -347,7 +347,7 @@ export const meetingFields: INodeProperties[] = [
|
|||
displayName: 'Show Previous Occurrences',
|
||||
name: 'showPreviousOccurrences',
|
||||
type: 'boolean',
|
||||
default: '',
|
||||
default: false,
|
||||
description: 'To view meeting details of all previous occurrences of the recurring meeting.',
|
||||
},
|
||||
],
|
||||
|
|
|
@ -318,7 +318,7 @@ export const webinarFields: INodeProperties[] = [
|
|||
displayName: 'Show Previous Occurrences',
|
||||
name: 'showPreviousOccurrences',
|
||||
type: 'boolean',
|
||||
default: '',
|
||||
default: false,
|
||||
description: 'To view webinar details of all previous occurrences of the recurring webinar.',
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue