plugin.ts: Add homepageURL to plugin and application
This commit is contained in:
@ -22,6 +22,7 @@ describe("plugin", () => {
|
||||
|
||||
description: "This app does XYZ.",
|
||||
iconPath: "/test-plugin/test-app/icon.svg",
|
||||
homepageURL: "https://example.com",
|
||||
path: "/test-plugin/test-app",
|
||||
|
||||
plugin: {
|
||||
@ -32,6 +33,7 @@ describe("plugin", () => {
|
||||
displayName: "Test Plugin",
|
||||
description: "Plugin used in code-server tests.",
|
||||
routerPath: "/test-plugin",
|
||||
homepageURL: "https://example.com",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@ -4,6 +4,7 @@ import * as pluginapi from "../../../typings/pluginapi"
|
||||
|
||||
export const displayName = "Test Plugin"
|
||||
export const routerPath = "/test-plugin"
|
||||
export const homepageURL = "https://example.com"
|
||||
export const description = "Plugin used in code-server tests."
|
||||
|
||||
export function init(config: pluginapi.PluginConfig) {
|
||||
@ -27,6 +28,7 @@ export function applications(): pluginapi.Application[] {
|
||||
path: "/test-app",
|
||||
|
||||
description: "This app does XYZ.",
|
||||
homepageURL: "https://example.com",
|
||||
},
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user