n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
33 lines (28 loc) • 966 B
text/typescript
// api/topology/topology.descriptions.ts
import { INodeProperties } from 'n8n-workflow';
import { addDescriptions } from '../../helpers/deduplicate';
import { topologyDescriptions } from './topology/topology.descriptions';
/**
* Resource selection for the topology domain
*/
export const topologyResourceSelector: INodeProperties = {
displayName: 'Resource',
name: 'resource',
type: 'options',
displayOptions: {
show: {
domain: ['topology'],
},
},
options: [{ name: 'Topology', value: 'topology' }],
default: 'topology',
description: 'The resource to perform topology operations on',
};
/**
* Build the descriptions array for topology domain
*/
export const topologyDomainDescriptions: INodeProperties[] = [topologyResourceSelector];
// Add each resource's descriptions
addDescriptions(topologyDomainDescriptions, topologyDescriptions);
// Export using the expected variable name
export { topologyDomainDescriptions as topologyDescriptions };