<?php  namespace App\Http\Controllers\Api;  use App\Models\Recipe; use Illuminate\View\View; use App\Enums\UserActivityType; use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Http\Requests\DataTableSearch; use Yajra\DataTables\Facades\DataTables; use App\Http\Requests\SearchUserActivity; use App\Http\Resources\RecipeListResource; use App\Http\Resources\RecipeSingleResource; use App\Http\Resources\UserActivityResource; use Illuminate\Http\Resources\Json\JsonResource;  class RecipeController extends Controller { 	public function index(): JsonResource{}  	public function single(string $slug): RecipeSingleResource{}  	public function activities(Recipe $id, SearchUserActivity $request): JsonResource{}  	public function indexSSR(DataTableSearch $request): JsonResponse{} }