From d2b97c071372e68fbadaf118e11d29ea6769c92e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Tue, 25 Oct 2022 09:06:54 +0200 Subject: [PATCH] refactor(core): apply lint rule `node-class-description-non-core-color-present` (#4426) * :shirt: Enable rule `node-class-description-non-core-color-present` * :shirt: Apply rule to remove deprecated `color` * :pencil2: Fix unrelated typos * :pencil2: Fix another unrelated typo Co-authored-by: Michael Kret --- packages/nodes-base/.eslintrc.js | 1 + packages/nodes-base/nodes/Adalo/Adalo.node.ts | 1 - .../Aws/CertificateManager/AwsCertificateManager.node.ts | 1 - packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts | 1 - packages/nodes-base/nodes/Cal/CalTrigger.node.ts | 1 - packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts | 1 - packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts | 1 - packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts | 1 - .../nodes/Google/CloudStorage/GoogleCloudStorage.node.ts | 1 - packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts | 1 - packages/nodes-base/nodes/HighLevel/HighLevel.node.ts | 1 - packages/nodes-base/nodes/Jenkins/Jenkins.node.ts | 1 - packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts | 1 - .../nodes/KoBoToolbox/KoBoToolboxTrigger.node.ts | 1 - packages/nodes-base/nodes/Linear/LinearTrigger.node.ts | 1 - packages/nodes-base/nodes/Markdown/Markdown.node.ts | 1 - packages/nodes-base/nodes/Mautic/Mautic.node.ts | 1 - packages/nodes-base/nodes/Metabase/Metabase.node.ts | 1 - .../GraphSecurity/MicrosoftGraphSecurity.node.ts | 1 - packages/nodes-base/nodes/Notion/v1/VersionDescription.ts | 1 - packages/nodes-base/nodes/Notion/v2/VersionDescription.ts | 1 - packages/nodes-base/nodes/Odoo/Odoo.node.ts | 1 - packages/nodes-base/nodes/Onfleet/Onfleet.node.ts | 1 - packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts | 1 - packages/nodes-base/nodes/PostBin/PostBin.node.ts | 1 - packages/nodes-base/nodes/SendInBlue/SendInBlue.node.ts | 1 - .../nodes-base/nodes/SendInBlue/SendInBlueTrigger.node.ts | 1 - packages/nodes-base/nodes/Supabase/Supabase.node.ts | 1 - .../nodes/SyncroMSP/v1/actions/versionDescription.ts | 1 - .../Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts | 1 - .../Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts | 3 +-- .../Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts | 1 - .../ProtectCloud/VenafiTlsProtectCloudTrigger.node.ts | 8 +++++--- 33 files changed, 7 insertions(+), 35 deletions(-) diff --git a/packages/nodes-base/.eslintrc.js b/packages/nodes-base/.eslintrc.js index ca87ba2613..cbdbb994ed 100644 --- a/packages/nodes-base/.eslintrc.js +++ b/packages/nodes-base/.eslintrc.js @@ -87,6 +87,7 @@ module.exports = { 'n8n-nodes-base/node-class-description-inputs-wrong-regular-node': 'error', 'n8n-nodes-base/node-class-description-inputs-wrong-trigger-node': 'error', 'n8n-nodes-base/node-class-description-missing-subtitle': 'error', + 'n8n-nodes-base/node-class-description-non-core-color-present': 'error', 'n8n-nodes-base/node-class-description-name-unsuffixed-trigger-node': 'error', 'n8n-nodes-base/node-class-description-outputs-wrong': 'error', 'n8n-nodes-base/node-dirname-against-convention': 'error', diff --git a/packages/nodes-base/nodes/Adalo/Adalo.node.ts b/packages/nodes-base/nodes/Adalo/Adalo.node.ts index 3f35023bbe..a3d7d20c18 100644 --- a/packages/nodes-base/nodes/Adalo/Adalo.node.ts +++ b/packages/nodes-base/nodes/Adalo/Adalo.node.ts @@ -21,7 +21,6 @@ export class Adalo implements INodeType { description: 'Consume Adalo API', defaults: { name: 'Adalo', - color: '#4f44d7', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts b/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts index 3039268da3..5a0b9a147b 100644 --- a/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts +++ b/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts @@ -17,7 +17,6 @@ export class AwsCertificateManager implements INodeType { description: 'Sends data to AWS Certificate Manager', defaults: { name: 'AWS Certificate Manager', - color: '#7d9a4b', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts b/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts index 0753d321f4..005dfd52ab 100644 --- a/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts +++ b/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts @@ -30,7 +30,6 @@ export class AwsElb implements INodeType { description: 'Sends data to AWS ELB API', defaults: { name: 'AWS ELB', - color: '#FF9900', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Cal/CalTrigger.node.ts b/packages/nodes-base/nodes/Cal/CalTrigger.node.ts index 16c0a58847..17a44e40e1 100644 --- a/packages/nodes-base/nodes/Cal/CalTrigger.node.ts +++ b/packages/nodes-base/nodes/Cal/CalTrigger.node.ts @@ -21,7 +21,6 @@ export class CalTrigger implements INodeType { description: 'Handle Cal events via webhooks', defaults: { name: 'Cal Trigger', - color: '#888', }, inputs: [], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts b/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts index 356159e851..862332272b 100644 --- a/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts +++ b/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts @@ -24,7 +24,6 @@ export class Cloudflare implements INodeType { description: 'Consume Cloudflare API', defaults: { name: 'Cloudflare', - color: '#000000', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts b/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts index 06211ea560..8a71399ddf 100644 --- a/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts +++ b/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts @@ -13,7 +13,6 @@ export class GoogleAds implements INodeType { description: 'Use the Google Ads API', defaults: { name: 'Google Ads', - color: '#ff0000', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts b/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts index 038bc51faa..33298144e2 100644 --- a/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts +++ b/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts @@ -48,7 +48,6 @@ export class GoogleChat implements INodeType { description: 'Consume Google Chat API', defaults: { name: 'Google Chat', - color: '#0aa55c', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts b/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts index 3b7a5de9d7..92c9be06b1 100644 --- a/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts +++ b/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts @@ -14,7 +14,6 @@ export class GoogleCloudStorage implements INodeType { description: 'Use the Google Cloud Storage API', defaults: { name: 'Google Cloud Storage', - color: '#ff0000', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts b/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts index bd853ec85c..61f57ada4c 100644 --- a/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts +++ b/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts @@ -45,7 +45,6 @@ export class HaloPSA implements INodeType { subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', defaults: { name: 'HaloPSA', - color: '#fd314e', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/HighLevel/HighLevel.node.ts b/packages/nodes-base/nodes/HighLevel/HighLevel.node.ts index b22cc567ca..8792a8027c 100644 --- a/packages/nodes-base/nodes/HighLevel/HighLevel.node.ts +++ b/packages/nodes-base/nodes/HighLevel/HighLevel.node.ts @@ -46,7 +46,6 @@ export class HighLevel implements INodeType { subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', defaults: { name: 'HighLevel', - color: '#f1be40', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts b/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts index 679bddb62f..6a68b27f29 100644 --- a/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts +++ b/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts @@ -32,7 +32,6 @@ export class Jenkins implements INodeType { description: 'Consume Jenkins API', defaults: { name: 'Jenkins', - color: '#04AA51', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts b/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts index 9f468ae784..079d98e7a3 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts @@ -36,7 +36,6 @@ export class KoBoToolbox implements INodeType { subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', defaults: { name: 'KoBoToolbox', - color: '#64C0FF', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/KoBoToolbox/KoBoToolboxTrigger.node.ts b/packages/nodes-base/nodes/KoBoToolbox/KoBoToolboxTrigger.node.ts index 02a52fbe47..876498f718 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/KoBoToolboxTrigger.node.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/KoBoToolboxTrigger.node.ts @@ -27,7 +27,6 @@ export class KoBoToolboxTrigger implements INodeType { description: 'Process KoBoToolbox submissions', defaults: { name: 'KoBoToolbox Trigger', - color: '#64C0FF', }, inputs: [], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts b/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts index ac570e456f..d851be3b09 100644 --- a/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts +++ b/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts @@ -21,7 +21,6 @@ export class LinearTrigger implements INodeType { description: 'Starts the workflow when Linear events occur', defaults: { name: 'Linear Trigger', - color: '#D9DCF8', }, inputs: [], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Markdown/Markdown.node.ts b/packages/nodes-base/nodes/Markdown/Markdown.node.ts index 9650d5aa0e..e49b330591 100644 --- a/packages/nodes-base/nodes/Markdown/Markdown.node.ts +++ b/packages/nodes-base/nodes/Markdown/Markdown.node.ts @@ -27,7 +27,6 @@ export class Markdown implements INodeType { description: 'Convert data between Markdown and HTML', defaults: { name: 'Markdown', - color: '#000000', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Mautic/Mautic.node.ts b/packages/nodes-base/nodes/Mautic/Mautic.node.ts index 4251d40deb..30c207301d 100644 --- a/packages/nodes-base/nodes/Mautic/Mautic.node.ts +++ b/packages/nodes-base/nodes/Mautic/Mautic.node.ts @@ -39,7 +39,6 @@ export class Mautic implements INodeType { description: 'Consume Mautic API', defaults: { name: 'Mautic', - color: '#52619b', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Metabase/Metabase.node.ts b/packages/nodes-base/nodes/Metabase/Metabase.node.ts index c8f5a98f3d..4f8570588f 100644 --- a/packages/nodes-base/nodes/Metabase/Metabase.node.ts +++ b/packages/nodes-base/nodes/Metabase/Metabase.node.ts @@ -19,7 +19,6 @@ export class Metabase implements INodeType { description: 'Use the Metabase API', defaults: { name: 'Metabase', - color: '#ff0000', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts b/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts index 1fb5e47a5e..32809e1c2d 100644 --- a/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts +++ b/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts @@ -26,7 +26,6 @@ export class MicrosoftGraphSecurity implements INodeType { description: 'Consume the Microsoft Graph Security API', defaults: { name: 'Microsoft Graph Security', - color: '#0078d4', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Notion/v1/VersionDescription.ts b/packages/nodes-base/nodes/Notion/v1/VersionDescription.ts index c1d8027234..bd3cabbe85 100644 --- a/packages/nodes-base/nodes/Notion/v1/VersionDescription.ts +++ b/packages/nodes-base/nodes/Notion/v1/VersionDescription.ts @@ -21,7 +21,6 @@ export const versionDescription: INodeTypeDescription = { description: 'Consume Notion API (Beta)', defaults: { name: 'Notion', - color: '#000000', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Notion/v2/VersionDescription.ts b/packages/nodes-base/nodes/Notion/v2/VersionDescription.ts index 3eb7363fa9..a496d1a051 100644 --- a/packages/nodes-base/nodes/Notion/v2/VersionDescription.ts +++ b/packages/nodes-base/nodes/Notion/v2/VersionDescription.ts @@ -21,7 +21,6 @@ export const versionDescription: INodeTypeDescription = { description: 'Consume Notion API (Beta)', defaults: { name: 'Notion', - color: '#000000', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Odoo/Odoo.node.ts b/packages/nodes-base/nodes/Odoo/Odoo.node.ts index 0d7c4cb2dd..90ec72daf0 100644 --- a/packages/nodes-base/nodes/Odoo/Odoo.node.ts +++ b/packages/nodes-base/nodes/Odoo/Odoo.node.ts @@ -52,7 +52,6 @@ export class Odoo implements INodeType { subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', defaults: { name: 'Odoo', - color: '#714B67', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts b/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts index 66145f5bae..7542142db0 100644 --- a/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts +++ b/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts @@ -48,7 +48,6 @@ export class Onfleet implements INodeType { subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', description: 'Consume Onfleet API', defaults: { - color: '#AA81F3', name: 'Onfleet', }, inputs: ['main'], diff --git a/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts b/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts index cefac81b89..f0991209bb 100644 --- a/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts +++ b/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts @@ -25,7 +25,6 @@ export class OnfleetTrigger implements INodeType { description: 'Starts the workflow when Onfleet events occur', defaults: { name: 'Onfleet Trigger', - color: '#AA81F3', }, inputs: [], outputs: ['main'], diff --git a/packages/nodes-base/nodes/PostBin/PostBin.node.ts b/packages/nodes-base/nodes/PostBin/PostBin.node.ts index d23c1f7c03..4e131562ee 100644 --- a/packages/nodes-base/nodes/PostBin/PostBin.node.ts +++ b/packages/nodes-base/nodes/PostBin/PostBin.node.ts @@ -15,7 +15,6 @@ export class PostBin implements INodeType { description: 'Consume PostBin API', defaults: { name: 'PostBin', - color: '#4dc0b5', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/SendInBlue/SendInBlue.node.ts b/packages/nodes-base/nodes/SendInBlue/SendInBlue.node.ts index 30079c7e49..b84966c411 100644 --- a/packages/nodes-base/nodes/SendInBlue/SendInBlue.node.ts +++ b/packages/nodes-base/nodes/SendInBlue/SendInBlue.node.ts @@ -16,7 +16,6 @@ export class SendInBlue implements INodeType { description: 'Consume Sendinblue API', defaults: { name: 'SendInBlue', - color: '#044a75', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/SendInBlue/SendInBlueTrigger.node.ts b/packages/nodes-base/nodes/SendInBlue/SendInBlueTrigger.node.ts index ed7c8b5b2d..57e4a71dda 100644 --- a/packages/nodes-base/nodes/SendInBlue/SendInBlueTrigger.node.ts +++ b/packages/nodes-base/nodes/SendInBlue/SendInBlueTrigger.node.ts @@ -21,7 +21,6 @@ export class SendInBlueTrigger implements INodeType { displayName: 'SendInBlue Trigger', defaults: { name: 'SendInBlue-Trigger', - color: '#044a75', }, description: 'Starts the workflow when SendInBlue events occur', group: ['trigger'], diff --git a/packages/nodes-base/nodes/Supabase/Supabase.node.ts b/packages/nodes-base/nodes/Supabase/Supabase.node.ts index cfbb42ce4c..b3d3ef6dcc 100644 --- a/packages/nodes-base/nodes/Supabase/Supabase.node.ts +++ b/packages/nodes-base/nodes/Supabase/Supabase.node.ts @@ -40,7 +40,6 @@ export class Supabase implements INodeType { description: 'Add, get, delete and update data in a table', defaults: { name: 'Supabase', - color: '#ea5929', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/versionDescription.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/versionDescription.ts index 1096519851..571179d521 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/versionDescription.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/versionDescription.ts @@ -17,7 +17,6 @@ export const versionDescription: INodeTypeDescription = { description: 'Gets data from SyncroMSP', defaults: { name: 'SyncroMSP', - color: '#08a4ab', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts index 4c68bbe3e6..081ac300bb 100644 --- a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts +++ b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts @@ -19,7 +19,6 @@ export class VenafiTlsProtectDatacenter implements INodeType { description: 'Consume Venafi TLS Protect Datacenter​', defaults: { name: 'Venafi TLS Protect Datacenter​', - color: '#000000', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts index 893b305c2e..0f66636db7 100644 --- a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts +++ b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts @@ -14,10 +14,9 @@ export class VenafiTlsProtectDatacenterTrigger implements INodeType { group: ['trigger'], version: 1, subtitle: '={{$parameter["triggerOn"]}}', - description: 'Starts the workflow when Venafi events occure', + description: 'Starts the workflow when Venafi events occur', defaults: { name: 'Venafi TLS Protect Datacenter​', - color: '#000000', }, credentials: [ { diff --git a/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts b/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts index ef125f44ce..fb64a153c9 100644 --- a/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts +++ b/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts @@ -37,7 +37,6 @@ export class VenafiTlsProtectCloud implements INodeType { description: 'Consume Venafi TLS Protect Cloud​ API', defaults: { name: 'Venafi TLS Protect Cloud​', - color: '#000000', }, inputs: ['main'], outputs: ['main'], diff --git a/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.ts b/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.ts index 92fa8a2c1e..77e590a4dc 100644 --- a/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.ts +++ b/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.ts @@ -17,10 +17,9 @@ export class VenafiTlsProtectCloudTrigger implements INodeType { icon: 'file:../venafi.svg', group: ['trigger'], version: 1, - description: 'Starts the workflow when Venafi events occure', + description: 'Starts the workflow when Venafi events occur', defaults: { name: 'Venafi TLS Protect Cloud​ Trigger', - color: '#000000', }, credentials: [ { @@ -87,7 +86,10 @@ export class VenafiTlsProtectCloudTrigger implements INodeType { const activity = activitytypes.find(({ key }: { key: string }) => key === resource) as { values: [{ key: string; readableName: string }]; }; - const subActivities = activity.values.map(({ key, readableName }) => ({ name: readableName, value: key })); + const subActivities = activity.values.map(({ key, readableName }) => ({ + name: readableName, + value: key, + })); subActivities.unshift({ name: '[All]', value: '*' }); return subActivities; },