mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3243)
* ✏️ Alphabetize rules * 🔖 Update version * ⚡ Update lintfix command * ⚡ Run baseline lintfix * 📦 Update package-lock.json * 👕 Apply `node-param-description-untrimmed` (#3200) * Removing unneeded backticks (#3249) * 👕 Apply node-param-description-wrong-for-return-all (#3253) * 👕 Apply node-param-description-missing-limit (#3252) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-excess-final-period (#3250) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-unencoded-angle-brackets (#3256) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-url-missing-protocol (#3258) * 👕 Apply `node-param-description-miscased-id` (#3254) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-limit (#3257) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-ignore-ssl-issues (#3261) * 👕 Apply rule * ⚡ Restore lintfix script * ⚡ Restore lintfix script Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
This commit is contained in:
@@ -30,12 +30,12 @@ export const timeEntryOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: `Delete a time entry`,
|
||||
description: 'Delete a time entry',
|
||||
},
|
||||
{
|
||||
name: 'Delete External Reference',
|
||||
value: 'deleteExternal',
|
||||
description: `Delete a time entry’s external reference.`,
|
||||
description: 'Delete a time entry’s external reference',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
@@ -86,7 +86,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'Returns a list of your time entries.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -108,7 +108,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -130,28 +130,28 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
name: 'client_id',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Only return time entries belonging to the client with the given ID.',
|
||||
description: 'Only return time entries belonging to the client with the given ID',
|
||||
},
|
||||
{
|
||||
displayName: 'From',
|
||||
name: 'from',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Only return time entries with a spent_date on or after the given date.',
|
||||
description: 'Only return time entries with a spent_date on or after the given date',
|
||||
},
|
||||
{
|
||||
displayName: 'Is Billed',
|
||||
name: 'is_billed',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Pass true to only return time entries that have been invoiced and false to return time entries that have not been invoiced.',
|
||||
description: 'Pass true to only return time entries that have been invoiced and false to return time entries that have not been invoiced',
|
||||
},
|
||||
{
|
||||
displayName: 'Is Running',
|
||||
name: 'is_running',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Pass true to only return running time entries and false to return non-running time entries.',
|
||||
description: 'Pass true to only return running time entries and false to return non-running time entries',
|
||||
},
|
||||
{
|
||||
displayName: 'Page',
|
||||
@@ -168,21 +168,21 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
name: 'to',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Only return time entries with a spent_date on or before the given date.',
|
||||
description: 'Only return time entries with a spent_date on or before the given date',
|
||||
},
|
||||
{
|
||||
displayName: 'Updated Since',
|
||||
name: 'updated_since',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Only return time entries that have been updated since the given date and time.',
|
||||
description: 'Only return time entries that have been updated since the given date and time',
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
name: 'user_id',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Only return time entries belonging to the user with the given ID.',
|
||||
description: 'Only return time entries belonging to the user with the given ID',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -204,7 +204,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
resource,
|
||||
},
|
||||
},
|
||||
description: 'The ID of the time entry you are retrieving.',
|
||||
description: 'The ID of the time entry you are retrieving',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -224,7 +224,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
resource,
|
||||
},
|
||||
},
|
||||
description: 'The ID of the time entry you are deleting.',
|
||||
description: 'The ID of the time entry you are deleting',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -244,7 +244,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
resource,
|
||||
},
|
||||
},
|
||||
description: 'The ID of the time entry whose external reference you are deleting.',
|
||||
description: 'The ID of the time entry whose external reference you are deleting',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -304,7 +304,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
resource,
|
||||
},
|
||||
},
|
||||
description: 'The ID of the time entry to update.',
|
||||
description: 'The ID of the time entry to update',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -327,7 +327,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: '3:00pm',
|
||||
description: 'The time the entry ended.',
|
||||
description: 'The time the entry ended',
|
||||
},
|
||||
{
|
||||
displayName: 'Hours',
|
||||
@@ -337,14 +337,14 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
minValue: 0,
|
||||
},
|
||||
default: 0,
|
||||
description: 'The current amount of time tracked.',
|
||||
description: 'The current amount of time tracked',
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
name: 'notes',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'These are notes about the time entry..',
|
||||
description: 'These are notes about the time entry',
|
||||
},
|
||||
{
|
||||
displayName: 'Started Time',
|
||||
@@ -374,7 +374,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'The ID of the project to associate with the time entry.',
|
||||
description: 'The ID of the project to associate with the time entry',
|
||||
},
|
||||
{
|
||||
displayName: 'Task Id',
|
||||
@@ -390,7 +390,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'The ID of the task to associate with the time entry.',
|
||||
description: 'The ID of the task to associate with the time entry',
|
||||
},
|
||||
{
|
||||
displayName: 'Spent Date',
|
||||
@@ -406,7 +406,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'The ISO 8601 formatted date the time entry was spent.',
|
||||
description: 'The ISO 8601 formatted date the time entry was spent',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -431,14 +431,14 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
minValue: 0,
|
||||
},
|
||||
default: 0,
|
||||
description: 'The current amount of time tracked.',
|
||||
description: 'The current amount of time tracked',
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
name: 'notes',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'These are notes about the time entry..',
|
||||
description: 'These are notes about the time entry',
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
@@ -467,7 +467,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'The ID of the project to associate with the time entry.',
|
||||
description: 'The ID of the project to associate with the time entry',
|
||||
},
|
||||
{
|
||||
displayName: 'Task Id',
|
||||
@@ -483,7 +483,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'The ID of the task to associate with the time entry.',
|
||||
description: 'The ID of the task to associate with the time entry',
|
||||
},
|
||||
{
|
||||
displayName: 'Spent Date',
|
||||
@@ -499,7 +499,7 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'The ISO 8601 formatted date the time entry was spent.',
|
||||
description: 'The ISO 8601 formatted date the time entry was spent',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -522,14 +522,14 @@ export const timeEntryFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: '3:00pm',
|
||||
description: 'The time the entry ended.',
|
||||
description: 'The time the entry ended',
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
name: 'notes',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'These are notes about the time entry..',
|
||||
description: 'These are notes about the time entry',
|
||||
},
|
||||
{
|
||||
displayName: 'Started Time',
|
||||
|
||||
Reference in New Issue
Block a user