<?php

return [
    'rate_limits' => [
        'auth_per_minute' => (int) env('BOOKLIO_AUTH_RATE_LIMIT', 5),
        'public_booking_per_minute' => (int) env('BOOKLIO_PUBLIC_BOOKING_RATE_LIMIT', 60),
        'webhook_per_minute' => (int) env('BOOKLIO_WEBHOOK_RATE_LIMIT', 120),
    ],

    'hsts' => [
        'enabled' => env('BOOKLIO_HSTS_ENABLED', false),
        'max_age' => (int) env('BOOKLIO_HSTS_MAX_AGE', 31536000),
        'include_subdomains' => env('BOOKLIO_HSTS_INCLUDE_SUBDOMAINS', true),
        'preload' => env('BOOKLIO_HSTS_PRELOAD', false),
    ],

    'storage' => [
        'backup_disk' => env('BOOKLIO_BACKUP_DISK', 'backups'),
        'private_export_disk' => env('BOOKLIO_PRIVATE_EXPORT_DISK', 'local'),
    ],
];
