wip: change local dev
This commit is contained in:
7
types/plugin.d.ts
vendored
Normal file
7
types/plugin.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
export interface CardPlugin {
|
||||
id: string; // 唯一标识
|
||||
displayName: string; // 显示名称
|
||||
component: React.ComponentType<{ config?: any }>; // 卡片组件
|
||||
configSchema?: any; // 配置的JSON Schema(用于后台配置界面)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user