diff options
| author | MohamedBassem <me@mbassem.com> | 2024-04-24 11:37:35 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-04-24 12:21:55 +0100 |
| commit | 3352a3ea393849550573deff8d774ba6bf149471 (patch) | |
| tree | a7d78db4fadbe7123c7d5045f5a537965382b84a /apps/cli/src/lib/trpc.ts | |
| parent | af0cf9c1ee10901ab91b04a1d73afdcb2191a88f (diff) | |
| download | karakeep-3352a3ea393849550573deff8d774ba6bf149471.tar.zst | |
build(cli): Prepare for publishing CLI to npm
Diffstat (limited to '')
| -rw-r--r-- | apps/cli/src/lib/trpc.ts (renamed from apps/cli/lib/trpc.ts) | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/cli/lib/trpc.ts b/apps/cli/src/lib/trpc.ts index 6f0dccfe..aa7aec21 100644 --- a/apps/cli/lib/trpc.ts +++ b/apps/cli/src/lib/trpc.ts @@ -1,10 +1,9 @@ +import { getGlobalOptions } from "@/lib/globals"; import { createTRPCClient, httpBatchLink } from "@trpc/client"; import superjson from "superjson"; import type { AppRouter } from "@hoarder/trpc/routers/_app"; -import { getGlobalOptions } from "./globals"; - export function getAPIClient() { const globals = getGlobalOptions(); return createTRPCClient<AppRouter>({ |
