UNPKG

n8n-nodes-agenthub

Version:

n8n nodes for AgentHub integration

42 lines (41 loc) 1.35 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AgentHubApi = void 0; class AgentHubApi { constructor() { this.name = 'agentHubApi'; this.displayName = 'AgentHub API'; this.documentationUrl = 'https://docs.agenthub.com'; this.properties = [ { displayName: 'Base URL', name: 'baseUrl', type: 'string', default: 'http://localhost:8002', placeholder: 'http://localhost:8002', description: 'The base URL of your AgentHub server', required: true, }, { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true, }, default: '', description: 'Your AgentHub API key for authentication', required: true, }, { displayName: 'User ID', name: 'userId', type: 'number', default: 1, description: 'Your AgentHub user ID (optional, used for user-specific operations)', required: false, }, ]; } } exports.AgentHubApi = AgentHubApi;