From 3f56389f55ef116f8cea17c15c684798fb942290 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Fri, 27 Dec 2024 19:21:43 +0000 Subject: feat: Add REST APIs for manipulating highlights. Fixes #620 --- apps/web/app/api/v1/utils/pagination.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'apps/web/app/api/v1/utils') diff --git a/apps/web/app/api/v1/utils/pagination.ts b/apps/web/app/api/v1/utils/pagination.ts index 5ce9ac8f..1b438217 100644 --- a/apps/web/app/api/v1/utils/pagination.ts +++ b/apps/web/app/api/v1/utils/pagination.ts @@ -1,9 +1,7 @@ import { z } from "zod"; -import { - MAX_NUM_BOOKMARKS_PER_PAGE, - zCursorV2, -} from "@hoarder/shared/types/bookmarks"; +import { MAX_NUM_BOOKMARKS_PER_PAGE } from "@hoarder/shared/types/bookmarks"; +import { zCursorV2 } from "@hoarder/shared/types/pagination"; export const zPagination = z.object({ limit: z.coerce.number().max(MAX_NUM_BOOKMARKS_PER_PAGE).optional(), -- cgit v1.2.3-70-g09d2