mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
🔨 Standardize the simple response option (#1813)
This commit is contained in:
parent
d3da5023f0
commit
e2aa8ae9b8
|
@ -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.',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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.',
|
||||
},
|
||||
];
|
||||
|
|
|
@ -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.',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -287,7 +287,7 @@ export const recordFields = [
|
|||
description: 'How many results to return.',
|
||||
},
|
||||
{
|
||||
displayName: 'Simple',
|
||||
displayName: 'Simplify Response',
|
||||
name: 'simple',
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
|
|
|
@ -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[];
|
||||
|
|
|
@ -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[];
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue