aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--packages/trpc/testUtils.ts (renamed from packages/web/lib/testUtils.ts)4
-rw-r--r--packages/trpc/types/bookmarks.ts (renamed from packages/web/lib/types/api/bookmarks.ts)2
-rw-r--r--packages/trpc/types/lists.ts (renamed from packages/web/lib/types/api/lists.ts)0
-rw-r--r--packages/trpc/types/tags.ts (renamed from packages/web/lib/types/api/tags.ts)0
-rw-r--r--packages/trpc/types/users.ts (renamed from packages/web/lib/types/api/users.ts)0
-rw-r--r--packages/web/lib/trpc.tsx2
6 files changed, 4 insertions, 4 deletions
diff --git a/packages/web/lib/testUtils.ts b/packages/trpc/testUtils.ts
index bad78463..d5f24def 100644
--- a/packages/web/lib/testUtils.ts
+++ b/packages/trpc/testUtils.ts
@@ -1,7 +1,7 @@
import { users } from "@hoarder/db/schema";
import { getInMemoryDB } from "@hoarder/db/drizzle";
-import { appRouter } from "@/server/api/routers/_app";
-import { createCallerFactory } from "@/server/api/trpc";
+import { appRouter } from "./routers/_app";
+import { createCallerFactory } from "./index";
export function getTestDB() {
return getInMemoryDB(true);
diff --git a/packages/web/lib/types/api/bookmarks.ts b/packages/trpc/types/bookmarks.ts
index 5fabc7ca..b61ab0e0 100644
--- a/packages/web/lib/types/api/bookmarks.ts
+++ b/packages/trpc/types/bookmarks.ts
@@ -1,5 +1,5 @@
import { z } from "zod";
-import { zBookmarkTagSchema } from "@/lib/types/api/tags";
+import { zBookmarkTagSchema } from "./tags";
export const zBookmarkedLinkSchema = z.object({
type: z.literal("link"),
diff --git a/packages/web/lib/types/api/lists.ts b/packages/trpc/types/lists.ts
index 4b0ccaca..4b0ccaca 100644
--- a/packages/web/lib/types/api/lists.ts
+++ b/packages/trpc/types/lists.ts
diff --git a/packages/web/lib/types/api/tags.ts b/packages/trpc/types/tags.ts
index 7a99dad4..7a99dad4 100644
--- a/packages/web/lib/types/api/tags.ts
+++ b/packages/trpc/types/tags.ts
diff --git a/packages/web/lib/types/api/users.ts b/packages/trpc/types/users.ts
index c2fe182a..c2fe182a 100644
--- a/packages/web/lib/types/api/users.ts
+++ b/packages/trpc/types/users.ts
diff --git a/packages/web/lib/trpc.tsx b/packages/web/lib/trpc.tsx
index aa246047..79a2a9fe 100644
--- a/packages/web/lib/trpc.tsx
+++ b/packages/web/lib/trpc.tsx
@@ -1,5 +1,5 @@
"use client";
-import type { AppRouter } from "@/server/api/routers/_app";
+import type { AppRouter } from "@hoarder/trpc/routers/_app";
import { createTRPCReact } from "@trpc/react-query";
export const api = createTRPCReact<AppRouter>();