n8n/packages/nodes-base/nodes/Contentful/SearchParameterDescription.ts
Iván Ovejero b03e358a12
refactor: Integrate consistent-type-imports in nodes-base (no-changelog) (#5267)
* 👕 Enable `consistent-type-imports` for nodes-base

* 👕 Apply to nodes-base

*  Undo unrelated changes

* 🚚 Move to `.eslintrc.js` in nodes-base

*  Revert "Enable `consistent-type-imports` for nodes-base"

This reverts commit 529ad72b05.

* 👕 Fix severity
2023-01-27 12:22:44 +01:00

38 lines
830 B
TypeScript

import type { INodeProperties } from 'n8n-workflow';
export const fields: INodeProperties[] = [
{
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',
},
],
},
],
},
];