From d149c25aaba0dd171bb7e8bc713d1257c0a4e107 Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Tue, 9 Dec 2025 21:44:34 -0600 Subject: [PATCH] fix: types --- packages/desktop/src/components/prompt-input.tsx | 2 +- packages/enterprise/src/routes/share/[shareID].tsx | 2 +- packages/ui/package.json | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/desktop/src/components/prompt-input.tsx b/packages/desktop/src/components/prompt-input.tsx index 4396fd2c9..6590b6d18 100644 --- a/packages/desktop/src/components/prompt-input.tsx +++ b/packages/desktop/src/components/prompt-input.tsx @@ -17,7 +17,7 @@ import { IconButton } from "@opencode-ai/ui/icon-button" import { ProviderIcon } from "@opencode-ai/ui/provider-icon" import { Select } from "@opencode-ai/ui/select" import { getDirectory, getFilename } from "@opencode-ai/util/path" -import { IconName } from "../../../ui/src/components/provider-icons/types" +import { type IconName } from "@opencode-ai/ui/icons/provider" interface PromptInputProps { class?: string diff --git a/packages/enterprise/src/routes/share/[shareID].tsx b/packages/enterprise/src/routes/share/[shareID].tsx index f324cbbe1..15a36b2ff 100644 --- a/packages/enterprise/src/routes/share/[shareID].tsx +++ b/packages/enterprise/src/routes/share/[shareID].tsx @@ -22,7 +22,7 @@ import { Tabs } from "@opencode-ai/ui/tabs" import { preloadMultiFileDiff, PreloadMultiFileDiffResult } from "@pierre/precision-diffs/ssr" import { Diff as SSRDiff } from "@opencode-ai/ui/diff-ssr" import { clientOnly } from "@solidjs/start" -import { IconName } from "../../../../ui/src/components/provider-icons/types" +import { type IconName } from "@opencode-ai/ui/icons/provider" const ClientOnlyDiff = clientOnly(() => import("@opencode-ai/ui/diff").then((m) => ({ default: m.Diff }))) diff --git a/packages/ui/package.json b/packages/ui/package.json index 5448a7470..e772c613b 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -10,6 +10,8 @@ "./context/*": "./src/context/*.tsx", "./styles": "./src/styles/index.css", "./styles/tailwind": "./src/styles/tailwind/index.css", + "./icons/provider": "./src/components/provider-icons/types.ts", + "./icons/file-type": "./src/components/file-icons/types.ts", "./fonts/*": "./src/assets/fonts/*" }, "scripts": {