3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-14 13:55:03 +00:00

refactor: consolidate pluginInfo internal/legacy fields

This commit is contained in:
Dragory 2024-05-19 11:15:03 +00:00
parent 8a4f7fe0e8
commit dfdc6566cf
No known key found for this signature in database
41 changed files with 46 additions and 51 deletions

View file

@ -33,14 +33,15 @@ export type TZeppelinKnub = Knub;
*/
export type TMarkdown = string;
export type ZeppelinPluginType = "stable" | "legacy" | "internal";
export interface ZeppelinPluginInfo {
showInDocs: boolean;
type: ZeppelinPluginType;
prettyName: string;
configSchema: ZodTypeAny;
description?: TMarkdown;
usageGuide?: TMarkdown;
configurationGuide?: TMarkdown;
legacy?: boolean;
}
export interface CommandInfo {