Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
/**
* Help Content Registry
*
* Central export point for all help content.
* Use getHelpContent(id) to retrieve content by ID.
*/
import type { HelpContent, HelpContentId, HelpContentRegistry } from './types';
import { alertsHelpContent } from './alerts';
import { aiHelpContent } from './ai';
import { updatesHelpContent } from './updates';
// Combine all help content sources
const allContent: HelpContent[] = [...alertsHelpContent, ...aiHelpContent, ...updatesHelpContent];
// Build registry for O(1) lookups
const registry: HelpContentRegistry = {};
for (const item of allContent) {
if (registry[item.id]) {
console.warn(`[HelpContent] Duplicate ID detected: ${item.id}`);
}
registry[item.id] = item;
}
/**
* Get help content by ID
* @param id - The help content ID (e.g., "alerts.thresholds.delay")
* @returns The help content or undefined if not found
*/
export function getHelpContent(id: HelpContentId): HelpContent | undefined {
return registry[id];
}
// Re-export types
export type { HelpContent, HelpContentId } from './types';