From 830e4f19b6edfadb0aea20b0ce8b1de553ae9ca2 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Thu, 25 Jun 2020 09:54:25 +0200 Subject: [PATCH] :zap: Minor improvements to Signl4-Node --- ...4Api.credentials.ts => Signl4Api.credentials.ts} | 0 .../nodes/{SIGNL4 => Signl4}/GenericFunctions.ts | 0 .../signl4.node.ts => Signl4/Signl4.node.ts} | 4 ++-- .../nodes-base/nodes/{SIGNL4 => Signl4}/signl4.png | Bin packages/nodes-base/package.json | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename packages/nodes-base/credentials/{SIGNL4Api.credentials.ts => Signl4Api.credentials.ts} (100%) rename packages/nodes-base/nodes/{SIGNL4 => Signl4}/GenericFunctions.ts (100%) rename packages/nodes-base/nodes/{SIGNL4/signl4.node.ts => Signl4/Signl4.node.ts} (99%) rename packages/nodes-base/nodes/{SIGNL4 => Signl4}/signl4.png (100%) diff --git a/packages/nodes-base/credentials/SIGNL4Api.credentials.ts b/packages/nodes-base/credentials/Signl4Api.credentials.ts similarity index 100% rename from packages/nodes-base/credentials/SIGNL4Api.credentials.ts rename to packages/nodes-base/credentials/Signl4Api.credentials.ts diff --git a/packages/nodes-base/nodes/SIGNL4/GenericFunctions.ts b/packages/nodes-base/nodes/Signl4/GenericFunctions.ts similarity index 100% rename from packages/nodes-base/nodes/SIGNL4/GenericFunctions.ts rename to packages/nodes-base/nodes/Signl4/GenericFunctions.ts diff --git a/packages/nodes-base/nodes/SIGNL4/signl4.node.ts b/packages/nodes-base/nodes/Signl4/Signl4.node.ts similarity index 99% rename from packages/nodes-base/nodes/SIGNL4/signl4.node.ts rename to packages/nodes-base/nodes/Signl4/Signl4.node.ts index 5a2ec290e3..29d3917cf6 100644 --- a/packages/nodes-base/nodes/SIGNL4/signl4.node.ts +++ b/packages/nodes-base/nodes/Signl4/Signl4.node.ts @@ -268,7 +268,7 @@ export class Signl4 implements INodeType { if (attachments) { if (attachments.attachmentsBinary && items[i].binary) { - const propertyName = (attachments.attachmentsBinary as IDataObject).property as string + const propertyName = (attachments.attachmentsBinary as IDataObject).property as string; const binaryProperty = (items[i].binary as IBinaryKeyData)[propertyName]; @@ -287,7 +287,7 @@ export class Signl4 implements INodeType { filename: binaryProperty.fileName, contentType: binaryProperty.mimeType, }, - } + }; } else { throw new Error(`Binary property ${propertyName} does not exist on input`); diff --git a/packages/nodes-base/nodes/SIGNL4/signl4.png b/packages/nodes-base/nodes/Signl4/signl4.png similarity index 100% rename from packages/nodes-base/nodes/SIGNL4/signl4.png rename to packages/nodes-base/nodes/Signl4/signl4.png diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index 915b3c81da..0fa350583b 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -261,7 +261,7 @@ "dist/nodes/Set.node.js", "dist/nodes/Shopify/Shopify.node.js", "dist/nodes/Shopify/ShopifyTrigger.node.js", - "dist/nodes/signl4/Signl4.node.js", + "dist/nodes/Signl4/Signl4.node.js", "dist/nodes/Slack/Slack.node.js", "dist/nodes/Sms77/Sms77.node.js", "dist/nodes/SplitInBatches.node.js",