UNPKG

n8n-nodes-gotenberg-pdf

Version:

n8n community node for Gotenberg PDF conversion API

40 lines 1.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GotenbergApi = void 0; class GotenbergApi { constructor() { this.name = 'gotenbergApi'; this.displayName = 'Gotenberg API'; this.documentationUrl = 'https://gotenberg.dev/docs'; this.properties = [ { displayName: 'Base URL', name: 'baseUrl', type: 'string', default: 'http://localhost:3000', placeholder: 'http://gotenberg:3000', description: 'The base URL of your Gotenberg instance', required: true, }, { displayName: 'API Key', name: 'apiKey', type: 'string', default: '', typeOptions: { password: true, }, description: 'Optional API key if your Gotenberg instance requires authentication', }, ]; this.test = { request: { baseURL: '={{$credentials?.baseUrl}}', url: '/health', method: 'GET', }, }; } } exports.GotenbergApi = GotenbergApi; //# sourceMappingURL=GotenbergApi.credentials.js.map