<?php

namespace App\Support;

final class AdminApiResourceCatalog
{
    /**
     * 兼容壳：资源目录已收口至 {@see AdminAuthorizationRegistry}。
     *
     * @return list<array{
     *   code: string,
     *   module_code: string,
     *   name: string,
     *   http_method: string,
     *   uri_pattern: string,
     *   route_name: string,
     *   auth_mode: string,
     *   is_audit_required: bool,
     *   permission_codes: list<string>
     * }>
     */
    public static function resources(): array
    {
        return AdminAuthorizationRegistry::resources();
    }
}
