<?php  namespace App\Http\Controllers\Api;  use App\Models\Domain; use App\Models\Category; use Illuminate\View\View; use App\Enums\CategoryType; use App\Enums\UserActivityType; use App\Http\Requests\SearchTerm; use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Http\Requests\FilterProduct; use App\Http\Requests\DataTableSearch; use App\Http\Resources\ProductResource; use App\Http\Resources\BlogListResource; use App\Http\Resources\CategoryResource; use Yajra\DataTables\Facades\DataTables; use App\Http\Requests\SearchUserActivity; use App\Http\Resources\RecipeListResource; use App\Http\Resources\UserActivityResource; use App\Http\Resources\CategoryFilterResource; use Illuminate\Http\Resources\Json\JsonResource;  class CategoryController extends Controller { 	public function index(SearchTerm $request): JsonResource{}  	public function single(Domain $domain, string $slug): CategoryResource{}  	public function blogs(Domain $domain, string $slug, SearchTerm $request): JsonResource{}  	public function products(Domain $domain, string $slug, FilterProduct $request): JsonResource{}  	public function recipes(Domain $domain, string $slug): JsonResource{}  	public function filters(Domain $domain, string $slug): JsonResource{}  	public function activities(Domain $domain, Category $id, SearchUserActivity $request): JsonResource{}  	public function indexSSR(DataTableSearch $request): JsonResponse{} }