/**
 * SystemInfoSection Configurations
 *
 * Pre-defined configurations for each admin module.
 * Modular architecture - each config in its own file.
 */

import type { SystemInfoConfig } from './types'

// Import individual configurations
import { dashboardConfig } from './dashboard-config'

import { consentConfig } from './consent-config'
import { dsrConfig } from './dsr-config'
import { securityConfig } from './security-config'
import { middlewareConfig } from './middleware-config'
import { communicationConfig } from './communication-config'
import { mailConfig } from './mail-config'
import { sbomConfig } from './sbom-config'
import { brandbookConfig } from './brandbook-config'
import { dsmsConfig } from './dsms-config'
import { pcaPlatformConfig } from './pca-platform-config'
import { eduSearchConfig } from './edu-search-config'
import { backlogConfig } from './backlog-config'
import { zeugnisseCrawlerConfig } from './zeugnisse-crawler-config'
import { trainingConfig } from './training-config'
import { contentConfig } from './content-config'
import { docsConfig } from './docs-config'
import { gameConfig } from './game-config'
import { onboardingConfig } from './onboarding-config'
import { unityBridgeConfig } from './unity-bridge-config'
import { ragConfig } from './rag-config'

/**
 * Combined configuration object for all admin modules.
 * Keys match the module identifiers used in the admin panel.
 */
export const SYSTEM_INFO_CONFIGS: Record<string, SystemInfoConfig> = {
  // Dashboard
  dashboard: dashboardConfig,

  // Infrastructure
  dsms: dsmsConfig,
  sbom: sbomConfig,

  // Privacy & Compliance
  consent: consentConfig,
  dsr: dsrConfig,

  // AI & ML
  training: trainingConfig,
  rag: ragConfig,

  // Security
  security: securityConfig,
  middleware: middlewareConfig,

  // Communication
  communication: communicationConfig,
  mail: mailConfig,

  // Content & Education
  content: contentConfig,
  eduSearch: eduSearchConfig,
  docs: docsConfig,
  zeugnisseCrawler: zeugnisseCrawlerConfig,

  // Platform
  pcaPlatform: pcaPlatformConfig,
  brandbook: brandbookConfig,
  game: gameConfig,
  onboarding: onboardingConfig,
  unityBridge: unityBridgeConfig,

  // DevOps
  backlog: backlogConfig,
}

// Re-export types
export type { SystemInfoConfig } from './types'

/**
 * Module Architecture (Total: ~4,899 lines -> 24 modules)
 *
 * Individual config files:
 * ├── dashboard-config.ts      (~60 lines)
 * ├── gpu-config.ts            (~200 lines)
 * ├── consent-config.ts        (~200 lines)
 * ├── dsr-config.ts            (~200 lines)
 * ├── security-config.ts       (~250 lines)
 * ├── middleware-config.ts     (~250 lines)
 * ├── communication-config.ts  (~200 lines)
 * ├── mail-config.ts           (~200 lines)
 * ├── sbom-config.ts           (~200 lines)
 * ├── brandbook-config.ts      (~200 lines)
 * ├── dsms-config.ts           (~200 lines)
 * ├── pca-platform-config.ts   (~200 lines)
 * ├── edu-search-config.ts     (~200 lines)
 * ├── backlog-config.ts        (~200 lines)
 * ├── zeugnisse-crawler-config.ts (~100 lines)
 * ├── training-config.ts       (~100 lines)
 * ├── content-config.ts        (~100 lines)
 * ├── docs-config.ts           (~200 lines)
 * ├── game-config.ts           (~200 lines)
 * ├── onboarding-config.ts     (~200 lines)
 * ├── unity-bridge-config.ts   (~200 lines)
 * ├── rag-config.ts            (~250 lines)
 * └── workflow-config.ts       (~100 lines)
 *
 * Original file backed up as: index_original.ts
 */
