<?php

namespace App\Http\Controllers;

use App\Sitemap\QueryParamFilterRegistry;
use Illuminate\Http\JsonResponse;

class SitemapQueryParamFilterController extends Controller
{
    public function available(QueryParamFilterRegistry $registry): JsonResponse
    {
        return response()->json($registry->selectable());
    }
}
