diff options
| author | Adam <[email protected]> | 2025-12-09 21:44:34 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-09 21:44:34 -0600 |
| commit | d149c25aaba0dd171bb7e8bc713d1257c0a4e107 (patch) | |
| tree | 31315c5c386c8a913ce9f638efa9f9bdcd17369d | |
| parent | 18d24b8f5f9fb907c2bf0cd87d22b8f3638c0302 (diff) | |
| download | opencode-d149c25aaba0dd171bb7e8bc713d1257c0a4e107.tar.gz opencode-d149c25aaba0dd171bb7e8bc713d1257c0a4e107.zip | |
fix: types
| -rw-r--r-- | packages/desktop/src/components/prompt-input.tsx | 2 | ||||
| -rw-r--r-- | packages/enterprise/src/routes/share/[shareID].tsx | 2 | ||||
| -rw-r--r-- | 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": { |
