Minor improvements to Contentful-Node

This commit is contained in:
Jan Oberhauser
2020-08-28 17:37:39 +02:00
parent 322b94255a
commit 9be3b97cc3
4 changed files with 25 additions and 65 deletions

View File

@@ -182,6 +182,13 @@ export const fields = [
default: '',
description: ' Full-text search is case insensitive and might return more results than expected. A query will only take values with more than 1 character.',
},
{
displayName: 'RAW Data',
name: 'rawData',
type: 'boolean',
default: false,
description: 'If the data should be returned RAW instead of parsed.',
},
],
},
{
@@ -201,31 +208,4 @@ export const fields = [
},
},
},
{
displayName: 'Options',
name: 'options',
type: 'collection',
placeholder: 'Select Option',
default: {},
displayOptions: {
show: {
resource: [
resource.value,
],
operation: [
'get',
'getAll',
],
},
},
options: [
{
displayName: 'RAW Data',
name: 'rawData',
type: 'boolean',
default: false,
description: 'If the data should be returned RAW instead of parsed.',
},
],
},
] as INodeProperties[];