<?php
declare(strict_types=1);

use App\Core\Registries\PermissionRegistry;

PermissionRegistry::register('player_affairs', [
    'player.view'              => ['ar' => 'عرض اللاعبين',           'en' => 'View Players'],
    'player.search'            => ['ar' => 'بحث عن لاعبين',         'en' => 'Search Players'],
    'player.register'          => ['ar' => 'تسجيل لاعب',            'en' => 'Register Player'],
    'player.edit'              => ['ar' => 'تعديل بيانات لاعب',     'en' => 'Edit Player'],
    'player.manage_card'       => ['ar' => 'إدارة كارنيه اللاعب',    'en' => 'Manage Player Card'],
    'player.view_medical'      => ['ar' => 'عرض السجل الطبي',       'en' => 'View Medical Records'],
    'player.manage_medical'    => ['ar' => 'إدارة السجل الطبي',     'en' => 'Manage Medical Records'],
    'player.record_attendance' => ['ar' => 'تسجيل الحضور',          'en' => 'Record Attendance'],
]);

// ── Cross-module event listeners for the sports system ──
require_once __DIR__ . '/EventListeners.php';
