Backstage
Docs
Github
Preparing search index...
@backstage/frontend-plugin-api
FrontendPlugin
Interface FrontendPlugin<TRoutes, TExternalRoutes>
interface
FrontendPlugin
<
TRoutes
extends
{
[
name
in
string
]
:
RouteRef
|
SubRouteRef
}
=
{
[
name
in
string
]
:
RouteRef
|
SubRouteRef
}
,
TExternalRoutes
extends
{
[
name
in
string
]
:
ExternalRouteRef
}
=
{
[
name
in
string
]
:
ExternalRouteRef
}
,
>
{
$$type
:
"@backstage/FrontendPlugin"
;
externalRoutes
:
TExternalRoutes
;
id
:
string
;
routes
:
TRoutes
;
info
()
:
Promise
<
FrontendPluginInfo
>
;
}
Type Parameters
TRoutes
extends
{
[
name
in
string
]
:
RouteRef
|
SubRouteRef
}
=
{
[
name
in
string
]
:
RouteRef
|
SubRouteRef
}
TExternalRoutes
extends
{
[
name
in
string
]
:
ExternalRouteRef
}
=
{
[
name
in
string
]
:
ExternalRouteRef
}
Hierarchy (
View Summary
)
FrontendPlugin
OverridableFrontendPlugin
Index
Properties
$$type
external
Routes
id
routes
Methods
info
Properties
Readonly
$$type
$$type
:
"@backstage/FrontendPlugin"
Readonly
external
Routes
externalRoutes
:
TExternalRoutes
Readonly
id
id
:
string
Readonly
routes
routes
:
TRoutes
Methods
info
info
()
:
Promise
<
FrontendPluginInfo
>
Loads the plugin info.
Returns
Promise
<
FrontendPluginInfo
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
$$type
external
Routes
id
routes
Methods
info
Docs
Github
Backstage
Loading...
Loads the plugin info.