mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
✏️ Generalize references in getAll fields
This commit is contained in:
parent
81f31e0698
commit
360fc74ee4
|
@ -380,14 +380,14 @@ export const makeGetAllFields = (resource: CamelCaseResource) => {
|
||||||
name: 'approved',
|
name: 'approved',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: true,
|
default: true,
|
||||||
description: 'Retrieve only approved leads. Defaults to true.',
|
description: 'Retrieve only approved records. Defaults to true.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Converted',
|
displayName: 'Converted',
|
||||||
name: 'converted',
|
name: 'converted',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Retrieve only converted leads. Defaults to false.',
|
description: 'Retrieve only converted records. Defaults to false.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Fields',
|
displayName: 'Fields',
|
||||||
|
@ -404,7 +404,7 @@ export const makeGetAllFields = (resource: CamelCaseResource) => {
|
||||||
name: 'include_child',
|
name: 'include_child',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Retrieve only leads from child territories.',
|
description: 'Retrieve only records from child territories.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Sort By',
|
displayName: 'Sort By',
|
||||||
|
@ -414,7 +414,7 @@ export const makeGetAllFields = (resource: CamelCaseResource) => {
|
||||||
loadOptionsMethod,
|
loadOptionsMethod,
|
||||||
},
|
},
|
||||||
default: [],
|
default: [],
|
||||||
description: 'Field to sort leads by.',
|
description: 'Field to sort records by.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Sort Order',
|
displayName: 'Sort Order',
|
||||||
|
@ -438,7 +438,7 @@ export const makeGetAllFields = (resource: CamelCaseResource) => {
|
||||||
name: 'territory_id',
|
name: 'territory_id',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Retrieve only leads from this territory.',
|
description: 'Retrieve only records from this territory.',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue