1
0
Эх сурвалжийг харах

refactor(web): keep the plugin manager's store state types package-private

The Client entry re-exported ConfirmState, InstallState, ManagerNotice and
PluginManagerState from the controller store although no other package names
them; the page, its tests and the presentation module import them from the
store directly. Only the face, the page props and the locale key stay public.
Yichen Jiang 3 долоо хоног өмнө
parent
commit
430f88d1c5

+ 1 - 3
packages/client/ui-plugin-manager/src/client/index.ts

@@ -25,9 +25,7 @@ import { PluginManagerController } from './manager-store.ts'
 import { en, zh, type PluginManagerLocaleKey } from './locales.ts'
 
 export type { PluginManagerPageProps } from './PluginManagerPage.tsx'
-export type {
-  ConfirmState, InstallState, ManagerNotice, PluginManagerFace, PluginManagerState,
-} from './manager-store.ts'
+export type { PluginManagerFace } from './manager-store.ts'
 export type { PluginManagerLocaleKey } from './locales.ts'
 
 declare module '@deepseek-ai/dsh-client-ui-slots' {