Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit 148f70a

Browse files
committed
feat: 🏷️ update plugin catalogue api types
1 parent 98e0688 commit 148f70a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

types/plugins.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export type MCDRLocale = "en_us" | "zh_cn";
77
export interface PluginMetaSummary extends Readonly<object> {
88
plugin_amount: number;
99
plugins: Record<string, MetaInfo>;
10+
plugin_info: Record<string, FormattedPluginInfo>;
1011
}
1112

1213
export interface AuthorSummary extends Readonly<object> {
@@ -20,7 +21,7 @@ export interface MetaInfo extends Readonly<object> {
2021
name: string;
2122
version: string;
2223
repository: string;
23-
link: string;
24+
link?: string;
2425
authors: string[];
2526
dependencies: Record<string, string>;
2627
requirements: string[];

0 commit comments

Comments
 (0)