<?php

// این فایل نهایی و تجمیعی است — ترکیب Phase 3 (پایه)، Phase 4، Phase 6، Phase 10.
// همه‌ی کلیدها از FileUploadService (app/Services/FileUploadService.php) خوانده می‌شوند.

return [

    // --- Phase 3 ---
    'coach_photo' => [
        'max_size_kb' => 2048,
        'allowed_mimes' => ['image/jpeg', 'image/png', 'image/webp'],
        'allowed_extensions' => ['jpg', 'jpeg', 'png', 'webp'],
        'disk' => 'public',
    ],

    'coach_document' => [
        'max_size_kb' => 5120,
        'allowed_mimes' => [
            'application/pdf',
            'image/jpeg',
            'image/png',
            'application/msword',
            'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
        ],
        'allowed_extensions' => ['pdf', 'jpg', 'jpeg', 'png', 'doc', 'docx'],
        'disk' => 'local_private',
    ],

    // --- Phase 4 ---
    'athlete_photo' => [
        'max_size_kb' => 2048,
        'allowed_mimes' => ['image/jpeg', 'image/png', 'image/webp'],
        'allowed_extensions' => ['jpg', 'jpeg', 'png', 'webp'],
        'disk' => 'public',
    ],

    'body_photo' => [
        'max_size_kb' => 4096,
        'allowed_mimes' => ['image/jpeg', 'image/png'],
        'allowed_extensions' => ['jpg', 'jpeg', 'png'],
        'disk' => 'local_private',
    ],

    // --- Phase 6 ---
    'exercise_gif' => [
        'max_size_kb' => 6144,
        'allowed_mimes' => ['image/gif'],
        'allowed_extensions' => ['gif'],
        'disk' => 'public',
    ],

    'exercise_image' => [
        'max_size_kb' => 2048,
        'allowed_mimes' => ['image/jpeg', 'image/png', 'image/webp'],
        'allowed_extensions' => ['jpg', 'jpeg', 'png', 'webp'],
        'disk' => 'public',
    ],

    // --- Phase 10 ---
    'payment_receipt' => [
        'max_size_kb' => 5120,
        'allowed_mimes' => ['image/jpeg', 'image/png', 'application/pdf'],
        'allowed_extensions' => ['jpg', 'jpeg', 'png', 'pdf'],
        'disk' => 'local_private',
    ],

];
