UNPKG

n8n-nodes-image-sharp

Version:

n8n node for image processing and optimization with sharp

36 lines 945 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.imageSharpOperations = void 0; const optimizeOperation = [ { displayName: 'Max File Size', name: 'maxFileSize', type: 'number', displayOptions: { show: { operation: ['optimize'], }, }, default: undefined, description: 'Max file size in bytes' } ]; exports.imageSharpOperations = [ { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, options: [ { name: 'OPTIMIZE', value: 'optimize', description: 'Optimize and limit an image size', action: 'Optimize an image', } ], default: 'optimize', }, ...optimizeOperation, ]; //# sourceMappingURL=ImageSharpDescription.js.map