n8n/packages/nodes-base/nodes/Contentful/SearchParameterDescription.ts
2020-08-25 11:22:14 +02:00

38 lines
827 B
TypeScript

import { INodeProperties } from 'n8n-workflow';
export const fields = [
{
displayName: 'Search Parameters',
name: 'search_parameters',
description: 'You can use a variety of query parameters to search and filter items.',
placeholder: 'Add parameter',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
},
default: {},
options: [
{
displayName: 'Parameters',
name: 'parameters',
values: [
{
displayName: 'Parameter Name',
name: 'name',
type: 'string',
default: '',
description: 'Name of the search parameter to set.'
},
{
displayName: 'Parameter Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the search parameter to set.'
},
],
},
],
}
] as INodeProperties[];