Archived
1
0

plugin.ts: Add homepageURL to plugin and application

This commit is contained in:
Anmol Sethi
2020-11-03 21:45:25 -05:00
parent 687094802e
commit 2a13d003d3
4 changed files with 18 additions and 0 deletions

View File

@ -72,6 +72,7 @@ export class PluginAPI {
displayName: p.displayName,
description: p.description,
routerPath: p.routerPath,
homepageURL: p.homepageURL,
},
}
}),
@ -197,6 +198,9 @@ export class PluginAPI {
if (!p.routerPath) {
throw new Error("plugin missing router path")
}
if (!p.homepageURL) {
throw new Error("plugin missing homepage")
}
p.init({
logger: logger,