From a27278a427442852eca2391b719525fcb121116f Mon Sep 17 00:00:00 2001 From: smamudhan <48641776+smamudhan@users.noreply.github.com> Date: Mon, 14 Sep 2020 13:28:01 +0530 Subject: [PATCH] Minor fixes for docs compatibility (#955) * :zap: Add documentationUrls for several nodes * :zap: Minor Updates - Updated Paddle documentationUrl - Updated CrateDB description - Updated Monday.com description - Fixed Nextcloud branding - Updated Redis description --- packages/nodes-base/credentials/PaddleApi.credentials.ts | 1 + packages/nodes-base/nodes/CrateDb/CrateDb.node.ts | 8 ++++---- .../nodes-base/nodes/MondayCom/BoardGroupDescription.ts | 2 +- .../nodes-base/nodes/MondayCom/BoardItemDescription.ts | 2 +- packages/nodes-base/nodes/NextCloud/NextCloud.node.ts | 8 ++++---- packages/nodes-base/nodes/Redis/Redis.node.ts | 8 ++++---- 6 files changed, 15 insertions(+), 14 deletions(-) diff --git a/packages/nodes-base/credentials/PaddleApi.credentials.ts b/packages/nodes-base/credentials/PaddleApi.credentials.ts index 143a24b3b8..76c0d5bfb3 100644 --- a/packages/nodes-base/credentials/PaddleApi.credentials.ts +++ b/packages/nodes-base/credentials/PaddleApi.credentials.ts @@ -6,6 +6,7 @@ import { export class PaddleApi implements ICredentialType { name = 'paddleApi'; displayName = 'Paddle API'; + documentationUrl = 'paddle'; properties = [ { displayName: 'Vendor Auth Code', diff --git a/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts b/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts index daddda1294..a93c0c222d 100644 --- a/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts +++ b/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts @@ -21,7 +21,7 @@ export class CrateDb implements INodeType { icon: 'file:cratedb.png', group: ['input'], version: 1, - description: 'Gets, add and update data in CrateDB.', + description: 'Add and update data in CrateDB.', defaults: { name: 'CrateDB', color: '#47889f', @@ -43,17 +43,17 @@ export class CrateDb implements INodeType { { name: 'Execute Query', value: 'executeQuery', - description: 'Executes a SQL query.', + description: 'Execute an SQL query', }, { name: 'Insert', value: 'insert', - description: 'Insert rows in database.', + description: 'Insert rows in database', }, { name: 'Update', value: 'update', - description: 'Updates rows in database.', + description: 'Update rows in database', }, ], default: 'insert', diff --git a/packages/nodes-base/nodes/MondayCom/BoardGroupDescription.ts b/packages/nodes-base/nodes/MondayCom/BoardGroupDescription.ts index d98ec67912..3650ff8374 100644 --- a/packages/nodes-base/nodes/MondayCom/BoardGroupDescription.ts +++ b/packages/nodes-base/nodes/MondayCom/BoardGroupDescription.ts @@ -28,7 +28,7 @@ export const boardGroupOperations = [ { name: 'Get All', value: 'getAll', - description: `Get board's groups`, + description: `Get list of groups in a board`, }, ], default: 'create', diff --git a/packages/nodes-base/nodes/MondayCom/BoardItemDescription.ts b/packages/nodes-base/nodes/MondayCom/BoardItemDescription.ts index 9537c32521..c34203ec6a 100644 --- a/packages/nodes-base/nodes/MondayCom/BoardItemDescription.ts +++ b/packages/nodes-base/nodes/MondayCom/BoardItemDescription.ts @@ -48,7 +48,7 @@ export const boardItemOperations = [ { name: 'Get All', value: 'getAll', - description: 'Get all item', + description: 'Get all items', }, { name: 'Get By Column Value', diff --git a/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts b/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts index a5b3109c6e..47e8fe47a9 100644 --- a/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts +++ b/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts @@ -20,15 +20,15 @@ import { export class NextCloud implements INodeType { description: INodeTypeDescription = { - displayName: 'NextCloud', + displayName: 'Nextcloud', name: 'nextCloud', icon: 'file:nextcloud.png', group: ['input'], version: 1, subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', - description: 'Access data on NextCloud', + description: 'Access data on Nextcloud', defaults: { - name: 'NextCloud', + name: 'Nextcloud', color: '#1cafff', }, inputs: ['main'], @@ -170,7 +170,7 @@ export class NextCloud implements INodeType { { name: 'List', value: 'list', - description: 'Return the files and folders in a given folder', + description: 'Return the contents of a given folder', }, { name: 'Move', diff --git a/packages/nodes-base/nodes/Redis/Redis.node.ts b/packages/nodes-base/nodes/Redis/Redis.node.ts index 12263b1d64..53cdaf2bd7 100644 --- a/packages/nodes-base/nodes/Redis/Redis.node.ts +++ b/packages/nodes-base/nodes/Redis/Redis.node.ts @@ -19,7 +19,7 @@ export class Redis implements INodeType { icon: 'file:redis.png', group: ['input'], version: 1, - description: 'Gets, sends data to Redis and receives generic information.', + description: 'Get, send and update data in Redis.', defaults: { name: 'Redis', color: '#0033AA', @@ -41,12 +41,12 @@ export class Redis implements INodeType { { name: 'Delete', value: 'delete', - description: 'Deletes a key from Redis.', + description: 'Delete a key from Redis.', }, { name: 'Get', value: 'get', - description: 'Returns the value of a key from Redis.', + description: 'Get the value of a key from Redis.', }, { name: 'Info', @@ -61,7 +61,7 @@ export class Redis implements INodeType { { name: 'Set', value: 'set', - description: 'Sets the value of a key in redis.', + description: 'Set the value of a key in redis.', }, ], default: 'info',