From e2aa8ae9b860850107293f07785433ec71f32dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Sat, 10 Jul 2021 11:38:45 +0200 Subject: [PATCH] :hammer: Standardize the simple response option (#1813) --- .../nodes/ActiveCampaign/GenericFunctions.ts | 4 ++-- .../Aws/Comprehend/AwsComprehend.node.ts | 4 ++-- .../nodes/Discourse/SearchDescription.ts | 4 ++-- packages/nodes-base/nodes/Egoi/Egoi.node.ts | 4 ++-- .../Google/Analytics/ReportDescription.ts | 4 ++-- .../Google/BigQuery/RecordDescription.ts | 2 +- .../CloudFirestore/DocumentDescription.ts | 16 +++++++-------- .../nodes/Mautic/CompanyDescription.ts | 20 +++++++++---------- .../nodes/Notion/DatabasePageDescription.ts | 4 ++-- .../nodes/ProfitWell/MetricDescription.ts | 4 ++-- .../nodes/QuickBase/RecordDescription.ts | 12 +++++------ .../descriptions/CompanyDescription.ts | 6 +++--- .../descriptions/IndustryDescription.ts | 4 ++-- 13 files changed, 44 insertions(+), 44 deletions(-) diff --git a/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts b/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts index 215d31934c..172cbd37ec 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts @@ -163,7 +163,7 @@ export function activeCampaignDefaultGetAllProperties(resource: string, operatio description: 'How many results to return.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -177,7 +177,7 @@ export function activeCampaignDefaultGetAllProperties(resource: string, operatio }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, ]; } diff --git a/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts b/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts index 7223ddc282..e611586aa9 100644 --- a/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts +++ b/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts @@ -158,7 +158,7 @@ export class AwsComprehend implements INodeType { description: 'The text to send.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -172,7 +172,7 @@ export class AwsComprehend implements INodeType { }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Additional Fields', diff --git a/packages/nodes-base/nodes/Discourse/SearchDescription.ts b/packages/nodes-base/nodes/Discourse/SearchDescription.ts index f9bc7b9756..91846f3a36 100644 --- a/packages/nodes-base/nodes/Discourse/SearchDescription.ts +++ b/packages/nodes-base/nodes/Discourse/SearchDescription.ts @@ -50,7 +50,7 @@ export const searchFields: INodeProperties[] = [ description: 'Term to search for.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -64,6 +64,6 @@ export const searchFields: INodeProperties[] = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, ]; diff --git a/packages/nodes-base/nodes/Egoi/Egoi.node.ts b/packages/nodes-base/nodes/Egoi/Egoi.node.ts index 88151f10b8..ab96a1bfdd 100644 --- a/packages/nodes-base/nodes/Egoi/Egoi.node.ts +++ b/packages/nodes-base/nodes/Egoi/Egoi.node.ts @@ -515,7 +515,7 @@ export class Egoi implements INodeType { description: 'How many results to return.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -530,7 +530,7 @@ export class Egoi implements INodeType { }, }, default: true, - description: 'When set to true a simple version of the response will be returned else the RAW data.', + description: 'Return a simplified version of the response instead of the raw data.', }, ], }; diff --git a/packages/nodes-base/nodes/Google/Analytics/ReportDescription.ts b/packages/nodes-base/nodes/Google/Analytics/ReportDescription.ts index abb20b1b5a..7b18604762 100644 --- a/packages/nodes-base/nodes/Google/Analytics/ReportDescription.ts +++ b/packages/nodes-base/nodes/Google/Analytics/ReportDescription.ts @@ -91,7 +91,7 @@ export const reportFields = [ description: 'How many results to return.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -105,7 +105,7 @@ export const reportFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Additional Fields', diff --git a/packages/nodes-base/nodes/Google/BigQuery/RecordDescription.ts b/packages/nodes-base/nodes/Google/BigQuery/RecordDescription.ts index 3f490ee648..dcae15e41f 100644 --- a/packages/nodes-base/nodes/Google/BigQuery/RecordDescription.ts +++ b/packages/nodes-base/nodes/Google/BigQuery/RecordDescription.ts @@ -287,7 +287,7 @@ export const recordFields = [ description: 'How many results to return.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { diff --git a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts index b8f74c82a5..fb95476a8a 100644 --- a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts +++ b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts @@ -137,7 +137,7 @@ export const documentFields = [ placeholder: 'productId, modelName, description', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -151,7 +151,7 @@ export const documentFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, /* -------------------------------------------------------------------------- */ @@ -233,7 +233,7 @@ export const documentFields = [ required: true, }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -247,7 +247,7 @@ export const documentFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, /* -------------------------------------------------------------------------- */ @@ -353,7 +353,7 @@ export const documentFields = [ description: 'How many results to return.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -367,7 +367,7 @@ export const documentFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, /* -------------------------------------------------------------------------- */ @@ -726,7 +726,7 @@ export const documentFields = [ placeholder: '{"structuredQuery": {"where": {"fieldFilter": {"field": {"fieldPath": "age"},"op": "EQUAL", "value": {"integerValue": 28}}}, "from": [{"collectionId": "users-collection"}]}}', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -740,6 +740,6 @@ export const documentFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, ] as INodeProperties[]; diff --git a/packages/nodes-base/nodes/Mautic/CompanyDescription.ts b/packages/nodes-base/nodes/Mautic/CompanyDescription.ts index 4a8ed49440..36bd1ee5cf 100644 --- a/packages/nodes-base/nodes/Mautic/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Mautic/CompanyDescription.ts @@ -69,7 +69,7 @@ export const companyFields = [ description: 'The name of the company to create.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -83,7 +83,7 @@ export const companyFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Additional Fields', @@ -139,7 +139,7 @@ export const companyFields = [ description: 'The ID of the company to update.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -153,7 +153,7 @@ export const companyFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Update Fields', @@ -216,7 +216,7 @@ export const companyFields = [ description: 'The ID of the company to return.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -230,7 +230,7 @@ export const companyFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, /* -------------------------------------------------------------------------- */ @@ -278,7 +278,7 @@ export const companyFields = [ description: 'How many results to return.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -292,7 +292,7 @@ export const companyFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Additional Fields', @@ -368,7 +368,7 @@ export const companyFields = [ description: 'The ID of the company to delete.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -382,6 +382,6 @@ export const companyFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, ] as INodeProperties[]; diff --git a/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts b/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts index 3a868247e7..9fd9a3901f 100644 --- a/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts +++ b/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts @@ -432,7 +432,7 @@ export const databasePageFields = [ description: 'The ID of the databasePage to update.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -446,7 +446,7 @@ export const databasePageFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Properties', diff --git a/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts b/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts index 8602711f32..74ed1329e1 100644 --- a/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts +++ b/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts @@ -84,7 +84,7 @@ export const metricFields = [ description: 'Can only be the current or previous month. Format should be YYYY-MM', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', default: true, @@ -98,7 +98,7 @@ export const metricFields = [ ], }, }, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Options', diff --git a/packages/nodes-base/nodes/QuickBase/RecordDescription.ts b/packages/nodes-base/nodes/QuickBase/RecordDescription.ts index 7b572fe837..bd08835843 100644 --- a/packages/nodes-base/nodes/QuickBase/RecordDescription.ts +++ b/packages/nodes-base/nodes/QuickBase/RecordDescription.ts @@ -88,7 +88,7 @@ export const recordFields = [ description: 'Comma separated list of the properties which should used as columns for the new rows.', }, { - displayName: 'Simplified Response', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -102,7 +102,7 @@ export const recordFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Options', @@ -385,7 +385,7 @@ export const recordFields = [ description: 'update can use the key field on the table, or any other supported unique field.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -399,7 +399,7 @@ export const recordFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Options', @@ -532,7 +532,7 @@ export const recordFields = [ choosing the field in the app table that holds unique matching values. This is called a merge field.`, }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -546,7 +546,7 @@ export const recordFields = [ }, }, default: true, - description: 'When set to true a simplify version of the response will be used else the raw data.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Options', diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts index a2509495b6..5b26ca780d 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts @@ -135,7 +135,7 @@ export const companyFields = [ description: 'Number of results to return.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -150,7 +150,7 @@ export const companyFields = [ }, }, default: true, - description: 'Simplify the response.', + description: 'Return a simplified version of the response instead of the raw data.', }, // company:getFactor @@ -188,7 +188,7 @@ export const companyFields = [ }, ], }, - + // company:getFactorHistorical // company:getHistoricalScore { diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/IndustryDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/IndustryDescription.ts index 665c4bdd28..3d9dbc8b43 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/IndustryDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/IndustryDescription.ts @@ -118,7 +118,7 @@ export const industryFields = [ description: 'Number of results to return.', }, { - displayName: 'Simple', + displayName: 'Simplify Response', name: 'simple', type: 'boolean', displayOptions: { @@ -133,7 +133,7 @@ export const industryFields = [ }, }, default: true, - description: 'Simplify the response.', + description: 'Return a simplified version of the response instead of the raw data.', }, { displayName: 'Options',