n8n/packages/nodes-base/nodes/Contentful/SearchParameterDescription.ts

38 lines
830 B
TypeScript
Raw Normal View History

2020-07-09 02:36:28 -07:00
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,
2020-07-09 02:36:28 -07:00
},
default: {},
options: [
{
displayName: 'Parameters',
name: 'parameters',
values: [
{
displayName: 'Parameter Name',
name: 'name',
type: 'string',
default: '',
2020-10-22 06:46:03 -07:00
description: 'Name of the search parameter to set.',
2020-07-09 02:36:28 -07:00
},
{
displayName: 'Parameter Value',
name: 'value',
type: 'string',
default: '',
2020-10-22 06:46:03 -07:00
description: 'Value of the search parameter to set.',
},
],
},
],
2020-10-22 06:46:03 -07:00
},
2020-07-09 02:36:28 -07:00
] as INodeProperties[];