feat: debugmode full request

This commit is contained in:
Julien Froidefond
2025-02-23 15:12:59 +01:00
parent 1cffe6913a
commit 6b19f5b54b
18 changed files with 721 additions and 133 deletions

View File

@@ -3,6 +3,7 @@ import { LibraryService } from "@/lib/services/library.service";
import { PreferencesService } from "@/lib/services/preferences.service";
import { revalidatePath } from "next/cache";
import { RefreshButton } from "@/components/library/RefreshButton";
import { withPageTiming } from "@/lib/hoc/withPageTiming";
interface PageProps {
params: { libraryId: string };
@@ -49,7 +50,7 @@ async function getLibrarySeries(
}
}
export default async function LibraryPage({ params, searchParams }: PageProps) {
async function LibraryPage({ params, searchParams }: PageProps) {
const currentPage = searchParams.page ? parseInt(searchParams.page) : 1;
const preferences = await PreferencesService.getPreferences();
@@ -105,3 +106,5 @@ export default async function LibraryPage({ params, searchParams }: PageProps) {
);
}
}
export default withPageTiming("LibraryPage", LibraryPage);