UNPKG

n8n-nodes-mallabe-images

Version:

n8n community node to alter images using Mallabe Images

88 lines 2.36 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.rotateFields = void 0; exports.rotateFields = [ { displayName: 'Image URL', name: 'url', type: 'string', displayOptions: { show: { operation: ['rotate'], resource: ['image'], }, }, default: '', description: 'Public URL of the image file to rotate' }, { displayName: 'Rotation Angle', name: 'angle', type: 'number', default: null, required: true, displayOptions: { show: { operation: ['rotate'], resource: ['image'], }, }, description: 'Defines the angle of rotation', }, { displayName: 'Image Background Color', name: 'backgroundColor', type: 'color', default: '#000000', displayOptions: { show: { operation: ['rotate'], resource: ['image'], }, }, description: 'Apply a different background color', }, { displayName: 'Download Image?', name: 'download', type: 'boolean', required: true, displayOptions: { show: { operation: ['rotate'], 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: ['rotate'], 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: ['rotate'], resource: ['image'], }, }, default: '', description: 'URL to send a webhook with the data of the operation', }, ]; //# sourceMappingURL=RotateOperation.js.map