Files
nexus-hub/types/plugin.d.ts
2025-03-20 05:47:13 +00:00

8 lines
264 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export interface CardPlugin {
id: string; // 唯一标识
displayName: string; // 显示名称
component: React.ComponentType<{ config?: any }>; // 卡片组件
configSchema?: any; // 配置的JSON Schema用于后台配置界面
}