n8n-nodes-mallabe-websites
Version:
n8n community node that allows the to get website status, thumbnail and icon using Mallabe Websites
62 lines • 1.79 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWebsiteIconFields = void 0;
exports.getWebsiteIconFields = [
{
displayName: 'Website URL',
name: 'website',
type: 'string',
default: '',
displayOptions: {
show: {
operation: ['getWebsiteIcon'],
resource: ['website'],
},
},
required: true,
description: 'The full URL of the website to retrieve the favicon from (e.g., https://www.google.com)',
},
{
displayName: 'Download Image?',
name: 'download',
type: 'boolean',
required: true,
displayOptions: {
show: {
operation: ['getWebsiteIcon'],
resource: ['website'],
},
},
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: ['getWebsiteIcon'],
resource: ['website'],
download: [true],
},
},
default: 'data',
description: 'The name of the output field to put the binary file data in',
},
{
displayName: 'Webhook URL (Optional)',
name: 'webhookUrl',
type: 'string',
default: '',
displayOptions: {
show: {
operation: ['getWebsiteIcon'],
resource: ['website'],
},
},
description: 'Optional webhook URL to send the icon data',
}
];
//# sourceMappingURL=GetWebsiteIconOperation.js.map