mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-11-28 10:30:23 +08:00
适配 DSH 0.1.6-alpha.2 并更新本体接口与验证
This commit is contained in:
1 parent
5c6492db71
commit
fa575632e5
34 files changed
+284
-781
No files matched your search
@@ -6,14 +6,14 @@
|
||||
*/
|
||||
import { useState } from 'react'
|
||||
import type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'
|
||||
// Type-only: the `settings.plugin.item` keyed slot declaration.
|
||||
import type {} from '@deepseek-ai/dsh-client-ui-settings-plugins/client'
|
||||
// Type-only: 本体插件管理页的配置槽位。
|
||||
import type {} from '@deepseek-ai/dsh-client-ui-plugin-manager/client'
|
||||
import type { UnrestrictedCardInjected, UnrestrictedModeState } from './controller.ts'
|
||||
import type { UnrestrictedLocaleKey } from './locales.ts'
|
||||
|
||||
/** Full component props assembled by the Settings slot renderer. */
|
||||
export type UnrestrictedCardProps =
|
||||
PropsRuntime<'settings.plugin.item'>
|
||||
PropsRuntime<'plugins.bundle.config'>
|
||||
& PropsLocale<'settings.unrestricted'>
|
||||
& InjectFace<UnrestrictedCardInjected>
|
||||
|
||||
|
||||
Reference in new issue
Block a user