Plugins: add build info to plugin metadata (#18164)

This commit is contained in:
Ryan McKinley
2019-07-18 11:52:34 -07:00
committed by GitHub
parent 7cac393ddc
commit 3e0625ff3d
2 changed files with 16 additions and 0 deletions

View File

@@ -77,6 +77,13 @@ interface PluginMetaInfoLink {
url: string;
}
export interface PluginBuildInfo {
time?: number;
repo?: string;
branch?: string;
hash?: string;
}
export interface PluginMetaInfo {
author: {
name: string;
@@ -88,6 +95,7 @@ export interface PluginMetaInfo {
large: string;
small: string;
};
build?: PluginBuildInfo;
screenshots: any[];
updated: string;
version: string;