2024-11-19 00:20:31 +08:00
|
|
|
import { Configuration } from "contracts/generalContract";
|
2024-11-14 17:43:18 +08:00
|
|
|
|
2024-11-14 01:44:26 +08:00
|
|
|
export interface PluginConfig {
|
2024-11-22 13:13:04 +08:00
|
|
|
name: string;
|
|
|
|
version: string;
|
|
|
|
displayName: string;
|
|
|
|
description?: string;
|
|
|
|
author?: string;
|
|
|
|
enabled: boolean;
|
|
|
|
icon?: string;
|
|
|
|
managePath?: string;
|
|
|
|
configuration?: Configuration;
|
|
|
|
routs: Set<{
|
2024-11-19 00:20:31 +08:00
|
|
|
description?: string;
|
2024-11-22 13:13:04 +08:00
|
|
|
path: string;
|
|
|
|
}>;
|
2024-11-14 01:44:26 +08:00
|
|
|
}
|