n8n-nodes-mallabe-images
Version:
n8n community node to alter images using Mallabe Images
75 lines • 2.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.blurFields = void 0;
exports.blurFields = [
{
displayName: 'Image URL',
name: 'url',
type: 'string',
displayOptions: {
show: {
operation: ['blur'],
resource: ['image'],
},
},
default: '',
description: 'Public URL of the image file to blur',
},
{
displayName: 'Blur Value',
name: 'value',
type: 'number',
default: null,
required: true,
displayOptions: {
show: {
operation: ['blur'],
resource: ['image'],
},
},
description: 'A value ranging from 0.3 to 1000. The higher the number, the more pronounced the blur effect.',
},
{
displayName: 'Download Image?',
name: 'download',
type: 'boolean',
required: true,
displayOptions: {
show: {
operation: ['blur'],
resource: ['image'],
},
},
default: false,
description: 'Whether to download the Image or return a link to it',
},
{
displayName: 'Put Output File In Field',
name: 'output',
type: 'string',
required: true,
displayOptions: {
show: {
operation: ['blur'],
resource: ['image'],
download: [true],
},
},
default: 'data',
description: 'The name of the output field to put the binary file data in',
},
{
displayName: 'Webhook URL (Advanced)',
name: 'webhookUrl',
type: 'string',
displayOptions: {
show: {
operation: ['blur'],
resource: ['image'],
},
},
default: '',
description: 'URL to send a webhook with the data of the operation',
},
];
//# sourceMappingURL=BlurOperation.js.map