perf: Use built types for appRouter (#20083)

* perf: Use built types for appRouter

* Got it working just for server

* Added dependency to turbo.json
This commit is contained in:
Keith Williams authored and GitHub committed 2025-03-14 10:42:45 -07:00
1 parent 3b381b037c
commit 587af33179
10 files changed
+16 -13

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import type { AppRouter } from "@calcom/trpc/server/routers/_app";
import type { AppRouter } from "@calcom/trpc/types/server/routers/_app";
import { createTRPCReact } from "@trpc/react-query";
+1 -1
View File
@@ -7,7 +7,7 @@ import { useState } from "react";
import superjson from "superjson";
import { ENDPOINTS } from "@calcom/trpc/react/shared";
import type { AppRouter } from "@calcom/trpc/server/routers/_app";
import type { AppRouter } from "@calcom/trpc/types/server/routers/_app";
import { httpBatchLink, httpLink, loggerLink, splitLink, TRPCClientError } from "@trpc/client";