Added RAW data option for assets, entries, content types

This commit is contained in:
Rupenieks
2020-08-28 15:27:12 +02:00
parent 3a61ad5997
commit 198cd6258c
5 changed files with 153 additions and 13 deletions

View File

@@ -201,4 +201,31 @@ 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[];