refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3432)

*  Update `lintfix` script

* 👕 Remove unneeded lint exceptions

* 👕 Run baseline `lintfix`

* 👕 Apply `node-param-description-miscased-url` (#3441)

* 👕 Apply `rule node-param-placeholder-miscased-id` (#3443)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-option-name-wrong-for-upsert` (#3446)

* 👕 Apply `node-param-min-value-wrong-for-limit` (#3442)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* Apply `node-param-display-name-wrong-for-dynamic-options` (#3454)

* 🔨 fix

*  Fix `Assigned To` fields

Co-authored-by: Michael Kret <michael.k@radency.com>

* 👕 Apply `rule node-param-default-wrong-for-number` (#3453)

* 👕 Apply `node-param-default-wrong-for-string` (#3452)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* Apply `node-param-display-name-miscased` (#3449)

* 🔨 fix

* 🔨 exceptions

*  review fixes

* 👕 Apply `node-param-description-lowercase-first-char` (#3451)

*  fix

*  review fixes

*  fix

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-description-wrong-for-dynamic-options` (#3456)

* Rule working as intended

* Add rule

* 🔥 Remove repetitions

* 👕 Add exceptions

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Small fix for `node-param-description-wrong-for-dynamic-options`

* 👕 Apply `node-param-default-wrong-for-fixed-collection` (#3460)

* 👕 Apply `node-param-description-line-break-html-tag` (#3462)

* 👕 Run baseline `lintfix`

* 👕 Apply `node-param-options-type-unsorted-items` (#3459)

*  fix

* 🔨 exceptions

* Add exception for Salesmate and Zoom

Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

*  Restore `lintfix` command

Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: brianinoa <54530642+brianinoa@users.noreply.github.com>
This commit is contained in:
Iván Ovejero
2022-06-03 19:23:49 +02:00
committed by GitHub
parent 58ecadf53c
commit 70ae90fa3c
501 changed files with 4668 additions and 4555 deletions

View File

@@ -28,7 +28,7 @@ export const reportOperations: INodeProperties[] = [
export const reportFields: INodeProperties[] = [
{
displayName: 'View ID',
displayName: 'View Name or ID',
name: 'viewId',
type: 'options',
typeOptions: {
@@ -47,7 +47,7 @@ export const reportFields: INodeProperties[] = [
},
},
placeholder: '123456',
description: 'The View ID of Google Analytics',
description: 'The View ID of Google Analytics. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Return All',
@@ -168,14 +168,14 @@ export const reportFields: INodeProperties[] = [
name: 'dimensionValues',
values: [
{
displayName: 'Name',
displayName: 'Name or ID',
name: 'name',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getDimensions',
},
default: '',
description: 'Name of the dimension to fetch, for example ga:browser',
description: 'Name of the dimension to fetch, for example ga:browser. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
],
},
@@ -197,14 +197,14 @@ export const reportFields: INodeProperties[] = [
name: 'filterValues',
values: [
{
displayName: 'Dimension Name',
displayName: 'Dimension Name or ID',
name: 'dimensionName',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getDimensions',
},
default: '',
description: 'Name of the dimension to filter by',
description: 'Name of the dimension to filter by. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
// https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet#Operator
{
@@ -222,14 +222,22 @@ export const reportFields: INodeProperties[] = [
name: 'Ends With',
value: 'ENDS_WITH',
},
{
name: 'Equal (Number)',
value: 'NUMERIC_EQUAL',
},
{
name: 'Exact',
value: 'EXACT',
},
{
name: 'Greater Than (number)',
name: 'Greater Than (Number)',
value: 'NUMERIC_GREATER_THAN',
},
{
name: 'Less Than (Number)',
value: 'NUMERIC_LESS_THAN',
},
{
name: 'Partial',
value: 'PARTIAL',
@@ -238,14 +246,6 @@ export const reportFields: INodeProperties[] = [
name: 'Regular Expression',
value: 'REGEXP',
},
{
name: 'Equal (number)',
value: 'NUMERIC_EQUAL',
},
{
name: 'Less Than (number)',
value: 'NUMERIC_LESS_THAN',
},
],
},
{

View File

@@ -28,7 +28,7 @@ export const userActivityOperations: INodeProperties[] = [
export const userActivityFields: INodeProperties[] = [
{
displayName: 'View ID',
displayName: 'View Name or ID',
name: 'viewId',
type: 'options',
typeOptions: {
@@ -47,7 +47,7 @@ export const userActivityFields: INodeProperties[] = [
},
},
placeholder: '123456',
description: 'The View ID of Google Analytics',
description: 'The View ID of Google Analytics. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'User ID',

View File

@@ -36,7 +36,7 @@ export const recordFields: INodeProperties[] = [
// record: create
// ----------------------------------
{
displayName: 'Project ID',
displayName: 'Project Name or ID',
name: 'projectId',
type: 'options',
typeOptions: {
@@ -54,10 +54,10 @@ export const recordFields: INodeProperties[] = [
},
},
default: '',
description: 'ID of the project to create the record in',
description: 'ID of the project to create the record in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Dataset ID',
displayName: 'Dataset Name or ID',
name: 'datasetId',
type: 'options',
typeOptions: {
@@ -78,10 +78,10 @@ export const recordFields: INodeProperties[] = [
},
},
default: '',
description: 'ID of the dataset to create the record in',
description: 'ID of the dataset to create the record in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Table ID',
displayName: 'Table Name or ID',
name: 'tableId',
type: 'options',
typeOptions: {
@@ -103,7 +103,7 @@ export const recordFields: INodeProperties[] = [
},
},
default: '',
description: 'ID of the table to create the record in',
description: 'ID of the table to create the record in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Columns',
@@ -121,6 +121,7 @@ export const recordFields: INodeProperties[] = [
},
default: '',
required: true,
// eslint-disable-next-line n8n-nodes-base/node-param-placeholder-miscased-id
placeholder: 'id,name,description',
description: 'Comma-separated list of the item properties to use as columns',
},
@@ -176,7 +177,7 @@ export const recordFields: INodeProperties[] = [
// record: getAll
// ----------------------------------
{
displayName: 'Project ID',
displayName: 'Project Name or ID',
name: 'projectId',
type: 'options',
typeOptions: {
@@ -194,10 +195,10 @@ export const recordFields: INodeProperties[] = [
},
},
default: '',
description: 'ID of the project to retrieve all rows from',
description: 'ID of the project to retrieve all rows from. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Dataset ID',
displayName: 'Dataset Name or ID',
name: 'datasetId',
type: 'options',
typeOptions: {
@@ -218,10 +219,10 @@ export const recordFields: INodeProperties[] = [
},
},
default: '',
description: 'ID of the dataset to retrieve all rows from',
description: 'ID of the dataset to retrieve all rows from. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Table ID',
displayName: 'Table Name or ID',
name: 'tableId',
type: 'options',
typeOptions: {
@@ -243,7 +244,7 @@ export const recordFields: INodeProperties[] = [
},
},
default: '',
description: 'ID of the table to retrieve all rows from',
description: 'ID of the table to retrieve all rows from. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Return All',

View File

@@ -31,7 +31,7 @@ export const calendarFields: INodeProperties[] = [
/* calendar:availability */
/* -------------------------------------------------------------------------- */
{
displayName: 'Calendar ID',
displayName: 'Calendar Name or ID',
name: 'calendar',
type: 'options',
typeOptions: {
@@ -125,14 +125,14 @@ export const calendarFields: INodeProperties[] = [
description: 'The format to return the data in',
},
{
displayName: 'Timezone',
displayName: 'Timezone Name or ID',
name: 'timezone',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getTimezones',
},
default: '',
description: 'Time zone used in the response. By default n8n timezone is used.',
description: 'Time zone used in the response. By default n8n timezone is used. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
],
},

View File

@@ -51,7 +51,7 @@ export const eventFields: INodeProperties[] = [
/* event:getAll */
/* -------------------------------------------------------------------------- */
{
displayName: 'Calendar ID',
displayName: 'Calendar Name or ID',
name: 'calendar',
type: 'options',
typeOptions: {
@@ -169,14 +169,14 @@ export const eventFields: INodeProperties[] = [
description: 'The attendees of the event. Multiple ones can be separated by comma.',
},
{
displayName: 'Color',
displayName: 'Color Name or ID',
name: 'color',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getColors',
},
default: '',
description: 'The color of the event',
description: 'The color of the event. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Conference Data',
@@ -193,7 +193,7 @@ export const eventFields: INodeProperties[] = [
name: 'conferenceDataValues',
values: [
{
displayName: 'Type',
displayName: 'Type Name or ID',
name: 'conferenceSolution',
type: 'options',
typeOptions: {
@@ -554,14 +554,14 @@ export const eventFields: INodeProperties[] = [
description: 'The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned.',
},
{
displayName: 'Timezone',
displayName: 'Timezone Name or ID',
name: 'timeZone',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getTimezones',
},
default: '',
description: 'Time zone used in the response. The default is the time zone of the calendar.',
description: 'Time zone used in the response. The default is the time zone of the calendar. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
],
},
@@ -703,14 +703,14 @@ export const eventFields: INodeProperties[] = [
description: 'Lower bound (exclusive) for an event\'s end time to filter by',
},
{
displayName: 'Timezone',
displayName: 'Timezone Name or ID',
name: 'timeZone',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getTimezones',
},
default: '',
description: 'Time zone used in the response. The default is the time zone of the calendar.',
description: 'Time zone used in the response. The default is the time zone of the calendar. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Updated Min',
@@ -804,14 +804,14 @@ export const eventFields: INodeProperties[] = [
description: 'The attendees of the event. Multiple ones can be separated by comma.',
},
{
displayName: 'Color',
displayName: 'Color Name or ID',
name: 'color',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getColors',
},
default: '',
description: 'The color of the event',
description: 'The color of the event. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Description',

View File

@@ -41,7 +41,7 @@ export class GoogleCalendarTrigger implements INodeType {
polling: true,
properties: [
{
displayName: 'Calendar Name/ID',
displayName: 'Calendar Name or ID',
name: 'calendarId',
type: 'options',
required: true,

View File

@@ -63,7 +63,7 @@ export const memberFields: INodeProperties[] = [
/* member:getAll */
/* -------------------------------------------------------------------------- */
{
displayName: 'Space Name/ID',
displayName: 'Space Name or ID',
name: 'spaceId',
type: 'options',
required: true,
@@ -81,7 +81,7 @@ export const memberFields: INodeProperties[] = [
},
},
default: [],
description: 'The name of the space for which to retrieve members, in the form "spaces/*"',
description: 'The name of the space for which to retrieve members, in the form "spaces/*". Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
...getPagingParameters('member'),

View File

@@ -47,7 +47,7 @@ export const messageFields: INodeProperties[] = [
/* message:create */
/* -------------------------------------------------------------------------- */
{
displayName: 'Space Name/ID',
displayName: 'Space Name or ID',
name: 'spaceId',
type: 'options',
required: true,
@@ -65,7 +65,7 @@ export const messageFields: INodeProperties[] = [
},
},
default: '',
description: 'Space resource name, in the form "spaces/*". Example: spaces/AAAAMpdlehY.',
description: 'Space resource name, in the form "spaces/*". Example: spaces/AAAAMpdlehY. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'JSON Parameters',

View File

@@ -395,25 +395,29 @@ export const contactFields: INodeProperties[] = [
name: 'type',
type: 'options',
options: [
{
name: 'Google Voice',
value: 'googleVoice',
},
{
name: 'Home',
value: 'home',
},
{
name: 'Work',
value: 'work',
},
{
name: 'Mobile',
value: 'mobile',
},
{
name: 'Home Fax',
value: 'homeFax',
},
{
name: 'Work Fax',
value: 'workFax',
name: 'Main',
value: 'main',
},
{
name: 'Mobile',
value: 'mobile',
},
{
name: 'Other',
value: 'other',
},
{
name: 'Other Fax',
@@ -423,6 +427,14 @@ export const contactFields: INodeProperties[] = [
name: 'Pager',
value: 'pager',
},
{
name: 'Work',
value: 'work',
},
{
name: 'Work Fax',
value: 'workFax',
},
{
name: 'Work Mobile',
value: 'workMobile',
@@ -431,18 +443,6 @@ export const contactFields: INodeProperties[] = [
name: 'Work Pager',
value: 'workPager',
},
{
name: 'Main',
value: 'main',
},
{
name: 'Google Voice',
value: 'googleVoice',
},
{
name: 'Other',
value: 'other',
},
],
default: '',
},
@@ -1460,25 +1460,29 @@ export const contactFields: INodeProperties[] = [
name: 'type',
type: 'options',
options: [
{
name: 'Google Voice',
value: 'googleVoice',
},
{
name: 'Home',
value: 'home',
},
{
name: 'Work',
value: 'work',
},
{
name: 'Mobile',
value: 'mobile',
},
{
name: 'Home Fax',
value: 'homeFax',
},
{
name: 'Work Fax',
value: 'workFax',
name: 'Main',
value: 'main',
},
{
name: 'Mobile',
value: 'mobile',
},
{
name: 'Other',
value: 'other',
},
{
name: 'Other Fax',
@@ -1488,6 +1492,14 @@ export const contactFields: INodeProperties[] = [
name: 'Pager',
value: 'pager',
},
{
name: 'Work',
value: 'work',
},
{
name: 'Work Fax',
value: 'workFax',
},
{
name: 'Work Mobile',
value: 'workMobile',
@@ -1496,18 +1508,6 @@ export const contactFields: INodeProperties[] = [
name: 'Work Pager',
value: 'workPager',
},
{
name: 'Main',
value: 'main',
},
{
name: 'Google Voice',
value: 'googleVoice',
},
{
name: 'Other',
value: 'other',
},
],
default: '',
},

View File

@@ -38,7 +38,7 @@ export const documentFields: INodeProperties[] = [
/* document: create */
/* -------------------------------------------------------------------------- */
{
displayName: 'Drive',
displayName: 'Drive Name or ID',
name: 'driveId',
type: 'options',
typeOptions: {
@@ -58,7 +58,7 @@ export const documentFields: INodeProperties[] = [
},
},
{
displayName: 'Folder',
displayName: 'Folder Name or ID',
name: 'folderId',
type: 'options',
typeOptions: {
@@ -267,7 +267,7 @@ export const documentFields: INodeProperties[] = [
type: 'options',
options: [
{
name: 'Find and replace text',
name: 'Find and Replace Text',
value: 'replaceAll',
},
{
@@ -584,7 +584,7 @@ export const documentFields: INodeProperties[] = [
},
// delete named range
{
displayName: 'Specify range by',
displayName: 'Specify Range By',
name: 'namedRangeReference',
type: 'options',
options: [
@@ -740,12 +740,12 @@ export const documentFields: INodeProperties[] = [
type: 'options',
options: [
{
name: 'At end of specific position',
name: 'At End of Specific Position',
value: 'endOfSegmentLocation',
description: 'Inserts the text at the end of a header, footer, footnote, or document body',
},
{
name: 'At index',
name: 'At Index',
value: 'location',
},
],
@@ -792,12 +792,12 @@ export const documentFields: INodeProperties[] = [
type: 'options',
options: [
{
name: 'At end of specific position',
name: 'At End of Specific Position',
value: 'endOfSegmentLocation',
description: 'Inserts the text at the end of a header, footer, footnote, or document body',
},
{
name: 'At index',
name: 'At Index',
value: 'location',
},
],
@@ -878,12 +878,12 @@ export const documentFields: INodeProperties[] = [
type: 'options',
options: [
{
name: 'At end of specific position',
name: 'At End of Specific Position',
value: 'endOfSegmentLocation',
description: 'Inserts the text at the end of a header, footer, footnote, or document body',
},
{
name: 'At index',
name: 'At Index',
value: 'location',
},
],
@@ -1086,11 +1086,11 @@ export const documentFields: INodeProperties[] = [
type: 'options',
options: [
{
name: 'Before content at index',
name: 'Before Content at Index',
value: false,
},
{
name: 'After content at index',
name: 'After Content at Index',
value: true,
},
],
@@ -1181,7 +1181,7 @@ export const documentFields: INodeProperties[] = [
name: 'writeControlObject',
values: [
{
displayName: 'Revision mode',
displayName: 'Revision Mode',
name: 'control',
type: 'options',
options: [

View File

@@ -113,7 +113,7 @@ export class GoogleDocs implements INodeType {
value: 'myDrive',
},
{
name: 'Shared with me',
name: 'Shared with Me',
value: 'sharedWithMe',
},
];

View File

@@ -307,20 +307,20 @@ export class GoogleDrive implements INodeType {
type: 'options',
options: [
{
name: 'To MS Word',
value: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
name: 'To HTML',
value: 'text/html',
},
{
name: 'To PDF',
value: 'application/pdf',
name: 'To MS Word',
value: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
},
{
name: 'To OpenOffice Doc',
value: 'application/vnd.oasis.opendocument.text',
},
{
name: 'To HTML',
value: 'text/html',
name: 'To PDF',
value: 'application/pdf',
},
{
name: 'To Rich Text',
@@ -546,19 +546,18 @@ export class GoogleDrive implements INodeType {
name: 'mimeType',
type: 'options',
options: [
{
name: 'Custom Mime Type',
value: 'custom',
},
{
name: '3rd party shortcut',
name: '3rd Party Shortcut',
value: 'application/vnd.google-apps.drive-sdk',
},
{
name: 'Audio',
value: 'application/vnd.google-apps.audio',
},
{
name: 'Custom Mime Type',
value: 'custom',
},
{
name: 'Google Apps Scripts',
value: 'application/vnd.google-apps.script',
@@ -572,11 +571,11 @@ export class GoogleDrive implements INodeType {
value: 'application/vnd.google-apps.drawing',
},
{
name: 'Google Drive file',
name: 'Google Drive File',
value: 'application/vnd.google-apps.file',
},
{
name: 'Google Drive folder',
name: 'Google Drive Folder',
value: 'application/vnd.google-apps.folder',
},
{
@@ -615,7 +614,6 @@ export class GoogleDrive implements INodeType {
name: 'Video',
value: 'application/vnd.google-apps.video',
},
],
default: 'application/vnd.google-apps.file',
description: 'The Mime-Type of the files to return',
@@ -692,29 +690,29 @@ export class GoogleDrive implements INodeType {
type: 'options',
options: [
{
name: 'Owner',
value: 'owner',
},
{
name: 'Organizer',
value: 'organizer',
name: 'Commenter',
value: 'commenter',
},
{
name: 'File Organizer',
value: 'fileOrganizer',
},
{
name: 'Writer',
value: 'writer',
name: 'Organizer',
value: 'organizer',
},
{
name: 'Commenter',
value: 'commenter',
name: 'Owner',
value: 'owner',
},
{
name: 'Reader',
value: 'reader',
},
{
name: 'Writer',
value: 'writer',
},
],
default: '',
},
@@ -978,11 +976,11 @@ export class GoogleDrive implements INodeType {
value: 'id',
},
{
name: 'kind',
name: 'Kind',
value: 'kind',
},
{
name: 'name',
name: 'Name',
value: 'name',
},
{
@@ -990,19 +988,19 @@ export class GoogleDrive implements INodeType {
value: 'mimeType',
},
{
name: 'permissions',
name: 'Permissions',
value: 'permissions',
},
{
name: 'shared',
name: 'Shared',
value: 'shared',
},
{
name: 'spaces',
name: 'Spaces',
value: 'spaces',
},
{
name: 'starred',
name: 'Starred',
value: 'starred',
},
{
@@ -1010,11 +1008,11 @@ export class GoogleDrive implements INodeType {
value: 'thumbnailLink',
},
{
name: 'trashed',
name: 'Trashed',
value: 'trashed',
},
{
name: 'version',
name: 'Version',
value: 'version',
},
{
@@ -1211,11 +1209,11 @@ export class GoogleDrive implements INodeType {
value: 'id',
},
{
name: 'kind',
name: 'Kind',
value: 'kind',
},
{
name: 'name',
name: 'Name',
value: 'name',
},
{
@@ -1223,19 +1221,19 @@ export class GoogleDrive implements INodeType {
value: 'mimeType',
},
{
name: 'permissions',
name: 'Permissions',
value: 'permissions',
},
{
name: 'shared',
name: 'Shared',
value: 'shared',
},
{
name: 'spaces',
name: 'Spaces',
value: 'spaces',
},
{
name: 'starred',
name: 'Starred',
value: 'starred',
},
{
@@ -1243,11 +1241,11 @@ export class GoogleDrive implements INodeType {
value: 'thumbnailLink',
},
{
name: 'trashed',
name: 'Trashed',
value: 'trashed',
},
{
name: 'version',
name: 'Version',
value: 'version',
},
{
@@ -1415,11 +1413,11 @@ export class GoogleDrive implements INodeType {
value: 'appDataFolder',
},
{
name: 'drive',
name: 'Drive',
value: 'drive',
},
{
name: 'photos',
name: 'Photos',
value: 'photos',
},
],
@@ -1443,17 +1441,17 @@ export class GoogleDrive implements INodeType {
},
options: [
{
name: 'user',
name: 'User',
value: 'user',
description: 'All files in "My Drive" and "Shared with me"',
},
{
name: 'domain',
name: 'Domain',
value: 'domain',
description: 'All files shared to the user\'s domain that are searchable',
},
{
name: 'drive',
name: 'Drive',
value: 'drive',
description: 'All files contained in a single shared drive',
},

View File

@@ -208,6 +208,7 @@ export class GoogleDriveTrigger implements INodeType {
default: '',
},
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-options
displayName: 'Drive To Watch',
name: 'driveToWatch',
type: 'options',
@@ -223,7 +224,7 @@ export class GoogleDriveTrigger implements INodeType {
},
default: 'root',
required: true,
description: 'The drive to monitor',
description: 'The drive to monitor. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Watch For',

View File

@@ -31,7 +31,7 @@ export const collectionFields: INodeProperties[] = [
/* collection:getAll */
/* -------------------------------------------------------------------------- */
{
displayName: 'Project ID',
displayName: 'Project Name or ID',
name: 'projectId',
type: 'options',
default: '',
@@ -48,7 +48,7 @@ export const collectionFields: INodeProperties[] = [
],
},
},
description: 'As displayed in firebase console URL',
description: 'As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
required: true,
},
{

View File

@@ -22,7 +22,7 @@ export const documentOperations: INodeProperties[] = [
description: 'Create a document',
},
{
name: 'Create/Update',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new document, or update the current one if it already exists (upsert)',
},
@@ -61,7 +61,7 @@ export const documentFields: INodeProperties[] = [
/* document:create */
/* -------------------------------------------------------------------------- */
{
displayName: 'Project ID',
displayName: 'Project Name or ID',
name: 'projectId',
type: 'options',
default: '',
@@ -78,7 +78,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'As displayed in firebase console URL',
description: 'As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
required: true,
},
{
@@ -118,7 +118,7 @@ export const documentFields: INodeProperties[] = [
required: true,
},
{
displayName: 'Columns / attributes',
displayName: 'Columns / Attributes',
name: 'columns',
type: 'string',
default: '',
@@ -158,7 +158,7 @@ export const documentFields: INodeProperties[] = [
/* document:get */
/* -------------------------------------------------------------------------- */
{
displayName: 'Project ID',
displayName: 'Project Name or ID',
name: 'projectId',
type: 'options',
default: '',
@@ -175,7 +175,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'As displayed in firebase console URL',
description: 'As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
required: true,
},
{
@@ -253,7 +253,7 @@ export const documentFields: INodeProperties[] = [
/* document:getAll */
/* -------------------------------------------------------------------------- */
{
displayName: 'Project ID',
displayName: 'Project Name or ID',
name: 'projectId',
type: 'options',
default: '',
@@ -270,7 +270,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'As displayed in firebase console URL',
description: 'As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
required: true,
},
{
@@ -373,7 +373,7 @@ export const documentFields: INodeProperties[] = [
/* document:delete */
/* -------------------------------------------------------------------------- */
{
displayName: 'Project ID',
displayName: 'Project Name or ID',
name: 'projectId',
type: 'options',
default: '',
@@ -390,7 +390,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'As displayed in firebase console URL',
description: 'As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
required: true,
},
{
@@ -565,7 +565,7 @@ export const documentFields: INodeProperties[] = [
/* document:upsert */
/* -------------------------------------------------------------------------- */
{
displayName: 'Project ID',
displayName: 'Project Name or ID',
name: 'projectId',
type: 'options',
default: '',
@@ -582,7 +582,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'As displayed in firebase console URL',
description: 'As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
required: true,
},
{
@@ -663,7 +663,7 @@ export const documentFields: INodeProperties[] = [
/* document:query */
/* -------------------------------------------------------------------------- */
{
displayName: 'Project ID',
displayName: 'Project Name or ID',
name: 'projectId',
type: 'options',
default: '',
@@ -680,7 +680,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'As displayed in firebase console URL',
description: 'As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
required: true,
},
{

View File

@@ -40,14 +40,14 @@ export class RealtimeDatabase implements INodeType {
],
properties: [
{
displayName: 'Project ID',
displayName: 'Project Name or ID',
name: 'projectId',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getProjects',
},
description: 'As displayed in firebase console URL',
description: 'As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
required: true,
},
{

View File

@@ -106,7 +106,7 @@ export const userFields: INodeProperties[] = [
description: 'Stores the password for the user account. A minimum of 8 characters is required. The maximum length is 100 characters.',
},
{
displayName: 'Domain',
displayName: 'Domain Name or ID',
name: 'domain',
type: 'options',
typeOptions: {
@@ -236,6 +236,7 @@ export const userFields: INodeProperties[] = [
value: 'home_fax',
},
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased
name: 'isdn',
value: 'isdn',
},
@@ -268,6 +269,7 @@ export const userFields: INodeProperties[] = [
value: 'telex',
},
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased
name: 'tty tdd',
value: 'tty_tdd',
},
@@ -810,7 +812,7 @@ export const userFields: INodeProperties[] = [
value: 'home_fax',
},
{
name: 'isdn',
name: 'Isdn',
value: 'isdn',
},
{
@@ -842,7 +844,7 @@ export const userFields: INodeProperties[] = [
value: 'telex',
},
{
name: 'tty tdd',
name: 'Tty Tdd',
value: 'tty_tdd',
},
{

View File

@@ -122,7 +122,7 @@ export const labelFields: INodeProperties[] = [
value: 'hide',
},
{
name: 'show',
name: 'Show',
value: 'show',
},
],

View File

@@ -16,11 +16,6 @@ export const messageOperations: INodeProperties[] = [
},
},
options: [
{
name: 'Send',
value: 'send',
description: 'Send an email',
},
{
name: 'Delete',
value: 'delete',
@@ -41,6 +36,11 @@ export const messageOperations: INodeProperties[] = [
value: 'reply',
description: 'Reply to an email',
},
{
name: 'Send',
value: 'send',
description: 'Send an email',
},
],
default: 'send',
},

View File

@@ -173,14 +173,14 @@ export class GooglePerspective implements INodeType {
placeholder: 'Add Option',
options: [
{
displayName: 'Languages',
displayName: 'Language Name or ID',
name: 'languages',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getLanguages',
},
default: '',
description: 'Languages of the text input. If unspecified, the API will auto-detect the comment language.',
description: 'Languages of the text input. If unspecified, the API will auto-detect the comment language. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
],
},

View File

@@ -238,7 +238,7 @@ export class GoogleSheets implements INodeType {
name: 'columns',
values: [
{
displayName: 'Sheet',
displayName: 'Sheet Name or ID',
name: 'sheetId',
type: 'options',
typeOptions: {
@@ -247,7 +247,7 @@ export class GoogleSheets implements INodeType {
options: [],
default: '',
required: true,
description: 'The sheet to delete columns from',
description: 'The sheet to delete columns from. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Start Index',
@@ -276,7 +276,7 @@ export class GoogleSheets implements INodeType {
name: 'rows',
values: [
{
displayName: 'Sheet',
displayName: 'Sheet Name or ID',
name: 'sheetId',
type: 'options',
typeOptions: {
@@ -285,7 +285,7 @@ export class GoogleSheets implements INodeType {
options: [],
default: '',
required: true,
description: 'The sheet to delete columns from',
description: 'The sheet to delete columns from. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Start Index',

View File

@@ -51,7 +51,7 @@ export const taskFields: INodeProperties[] = [
/* task:create */
/* -------------------------------------------------------------------------- */
{
displayName: 'TaskList',
displayName: 'TaskList Name or ID',
name: 'task',
type: 'options',
typeOptions: {
@@ -170,7 +170,7 @@ export const taskFields: INodeProperties[] = [
/* task:delete */
/* -------------------------------------------------------------------------- */
{
displayName: 'TaskList',
displayName: 'TaskList Name or ID',
name: 'task',
type: 'options',
typeOptions: {
@@ -210,7 +210,7 @@ export const taskFields: INodeProperties[] = [
/* task:get */
/* -------------------------------------------------------------------------- */
{
displayName: 'TaskList',
displayName: 'TaskList Name or ID',
name: 'task',
type: 'options',
typeOptions: {
@@ -250,7 +250,7 @@ export const taskFields: INodeProperties[] = [
/* task:getAll */
/* -------------------------------------------------------------------------- */
{
displayName: 'TaskList',
displayName: 'TaskList Name or ID',
name: 'task',
type: 'options',
typeOptions: {
@@ -390,7 +390,7 @@ export const taskFields: INodeProperties[] = [
/* task:update */
/* -------------------------------------------------------------------------- */
{
displayName: 'TaskList',
displayName: 'TaskList Name or ID',
name: 'task',
type: 'options',
typeOptions: {

View File

@@ -128,6 +128,7 @@ export class GoogleTranslate implements INodeType {
},
},
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-options
displayName: 'Translate To',
name: 'translateTo',
type: 'options',
@@ -135,7 +136,7 @@ export class GoogleTranslate implements INodeType {
loadOptionsMethod: 'getLanguages',
},
default: '',
description: 'The language to use for translation of the input text, set to one of the language codes listed in <a href="https://cloud.google.com/translate/docs/languages">Language Support</a>',
description: 'The language to use for translation of the input text, set to one of the language codes listed in <a href="https://cloud.google.com/translate/docs/languages">Language Support</a>. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
required: true,
displayOptions: {
show: {

View File

@@ -211,6 +211,7 @@ export const channelFields: INodeProperties[] = [
},
options: [
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-options
displayName: 'Language Code',
name: 'h1',
type: 'options',
@@ -218,7 +219,7 @@ export const channelFields: INodeProperties[] = [
loadOptionsMethod: 'getLanguages',
},
default: '',
description: 'The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports',
description: 'The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'On Behalf Of Content Owner',
@@ -502,7 +503,7 @@ export const channelFields: INodeProperties[] = [
default: '',
},
{
displayName: 'watch Icon Image Url',
displayName: 'Watch Icon Image Url',
name: 'watchIconImageUrl',
type: 'string',
default: '',

View File

@@ -121,14 +121,14 @@ export const playlistFields: INodeProperties[] = [
description: 'Keyword tags associated with the playlist. Mulplie can be defined separated by comma.',
},
{
displayName: 'Default Language',
displayName: 'Default Language Name or ID',
name: 'defaultLanguage',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getLanguages',
},
default: '',
description: 'The language of the text in the playlist resource\'s title and description properties',
description: 'The language of the text in the playlist resource\'s title and description properties. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'On Behalf Of Content Owner Channel',
@@ -508,14 +508,14 @@ export const playlistFields: INodeProperties[] = [
},
options: [
{
displayName: 'Default Language',
displayName: 'Default Language Name or ID',
name: 'defaultLanguage',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getLanguages',
},
default: '',
description: 'The language of the text in the playlist resource\'s title and description properties',
description: 'The language of the text in the playlist resource\'s title and description properties. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Description',

View File

@@ -46,7 +46,7 @@ export const playlistItemFields: INodeProperties[] = [
/* playlistItem:add */
/* -------------------------------------------------------------------------- */
{
displayName: 'Playlist ID',
displayName: 'Playlist Name or ID',
name: 'playlistId',
type: 'options',
typeOptions: {
@@ -275,7 +275,7 @@ export const playlistItemFields: INodeProperties[] = [
/* playlistItem:getAll */
/* -------------------------------------------------------------------------- */
{
displayName: 'Playlist ID',
displayName: 'Playlist Name or ID',
name: 'playlistId',
type: 'options',
typeOptions: {

View File

@@ -32,6 +32,7 @@ export const videoCategoryFields: INodeProperties[] = [
/* videoCategory:getAll */
/* -------------------------------------------------------------------------- */
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-options
displayName: 'Region Code',
name: 'regionCode',
type: 'options',

View File

@@ -73,6 +73,7 @@ export const videoFields: INodeProperties[] = [
default: '',
},
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-options
displayName: 'Region Code',
name: 'regionCode',
type: 'options',
@@ -92,7 +93,7 @@ export const videoFields: INodeProperties[] = [
default: '',
},
{
displayName: 'Category ID',
displayName: 'Category Name or ID',
name: 'categoryId',
type: 'options',
typeOptions: {
@@ -148,14 +149,14 @@ export const videoFields: INodeProperties[] = [
},
options: [
{
displayName: 'Default Language',
displayName: 'Default Language Name or ID',
name: 'defaultLanguage',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getLanguages',
},
default: '',
description: 'The language of the text in the playlist resource\'s title and description properties',
description: 'The language of the text in the playlist resource\'s title and description properties. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Description',
@@ -507,6 +508,7 @@ export const videoFields: INodeProperties[] = [
description: 'The q parameter specifies the query term to search for',
},
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-options
displayName: 'Region Code',
name: 'regionCode',
type: 'options',
@@ -514,7 +516,7 @@ export const videoFields: INodeProperties[] = [
loadOptionsMethod: 'getCountriesCodes',
},
default: '',
description: 'The regionCode parameter instructs the API to select a video chart available in the specified region',
description: 'The regionCode parameter instructs the API to select a video chart available in the specified region. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Related To Video ID',
@@ -604,7 +606,7 @@ export const videoFields: INodeProperties[] = [
description: 'YouTube will filter some content from search results and, at the least, will filter content that is restricted in your locale',
},
{
name: 'none',
name: 'None',
value: 'none',
description: 'YouTube will not filter the search result set',
},
@@ -709,6 +711,7 @@ export const videoFields: INodeProperties[] = [
default: '',
},
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-options
displayName: 'Region Code',
name: 'regionCode',
type: 'options',
@@ -728,7 +731,7 @@ export const videoFields: INodeProperties[] = [
default: '',
},
{
displayName: 'Category ID',
displayName: 'Category Name or ID',
name: 'categoryId',
type: 'options',
typeOptions: {
@@ -767,14 +770,14 @@ export const videoFields: INodeProperties[] = [
},
options: [
{
displayName: 'Default Language',
displayName: 'Default Language Name or ID',
name: 'defaultLanguage',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getLanguages',
},
default: '',
description: 'The language of the text in the playlist resource\'s title and description properties',
description: 'The language of the text in the playlist resource\'s title and description properties. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Description',