<?php
// =============================================================================
// modules/support/module.php — Support tools sidebar entries.
//
// Buyer-facing pages that don't need a support token:
//   Health Check — pass/fail per requirement
//   Self Test    — probe every endpoint the app depends on
//
// debug.php is intentionally NOT listed here — it's token-gated and only the
// reseller/vendor knows the URL.
// =============================================================================

return [
    'id'      => 'support',
    'label'   => 'Support',
    'enabled' => true,
    'sort'    => 90,
    'sidebar' => [
        [
            'section' => 'Support',
            'parent'  => [
                'label' => 'Diagnostics',
                'icon'  => 'ph-first-aid',
            ],
            'pages'   => [
                ['key' => 'health',   'href' => 'health.php',   'label' => 'Health Check'],
                ['key' => 'selftest', 'href' => 'selftest.php', 'label' => 'Self Test'],
            ],
        ],
    ],
];
