From deba31ee010f785a9739fd4df8a64a3056c9593d Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Thu, 18 Apr 2024 10:01:45 +0100 Subject: refactor: Move the shared types to the shared package --- packages/trpc/routers/lists.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/trpc/routers/lists.ts') diff --git a/packages/trpc/routers/lists.ts b/packages/trpc/routers/lists.ts index fb6d8637..74b4f737 100644 --- a/packages/trpc/routers/lists.ts +++ b/packages/trpc/routers/lists.ts @@ -4,10 +4,10 @@ import { z } from "zod"; import { SqliteError } from "@hoarder/db"; import { bookmarkLists, bookmarksInLists } from "@hoarder/db/schema"; +import { zBookmarkListSchema } from "@hoarder/shared/types/lists"; import type { Context } from "../index"; import { authedProcedure, router } from "../index"; -import { zBookmarkListSchema } from "../types/lists"; import { ensureBookmarkOwnership } from "./bookmarks"; export const ensureListOwnership = experimental_trpcMiddleware<{ -- cgit v1.2.3-70-g09d2