@pagerduty/backstage-plugin
Version:
A Backstage plugin that integrates towards PagerDuty
121 lines (118 loc) • 6.27 kB
TypeScript
import * as _backstage_catalog_model from '@backstage/catalog-model';
import * as react from 'react';
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
/** @alpha */
declare const pagerDutyPlugin: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
root: _backstage_frontend_plugin_api.RouteRef<undefined>;
}, {}, {
"api:pagerduty": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
kind: "api";
name: undefined;
config: {};
configInput: {};
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
inputs: {};
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
}>;
"entity-card:pagerduty/EntityPagerDutyCard": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
config: {
readOnly: boolean | undefined;
disableChangeEvents: boolean | undefined;
disableOnCall: boolean | undefined;
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type: "content" | "summary" | "info" | undefined;
};
configInput: {
readOnly?: boolean | undefined;
disableChangeEvents?: boolean | undefined;
disableOnCall?: boolean | undefined;
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type?: "content" | "summary" | "info" | undefined | undefined;
};
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
optional: true;
}>;
inputs: {};
kind: "entity-card";
name: "EntityPagerDutyCard";
params: {
loader: () => Promise<JSX.Element>;
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
};
}>;
"entity-card:pagerduty/EntityPagerDutySmallCard": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
config: {
readOnly: boolean | undefined;
disableOnCall: boolean | undefined;
disableInsights: boolean | undefined;
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type: "content" | "summary" | "info" | undefined;
};
configInput: {
readOnly?: boolean | undefined;
disableOnCall?: boolean | undefined;
disableInsights?: boolean | undefined;
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type?: "content" | "summary" | "info" | undefined | undefined;
};
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
optional: true;
}>;
inputs: {};
kind: "entity-card";
name: "EntityPagerDutySmallCard";
params: {
loader: () => Promise<JSX.Element>;
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
};
}>;
"nav-item:pagerduty/PagerDutyNavBarItem": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
kind: "nav-item";
name: "PagerDutyNavBarItem";
config: {};
configInput: {};
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
title: string;
icon: _backstage_frontend_plugin_api.IconComponent;
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
}, "core.nav-item.target", {}>;
inputs: {};
params: {
title: string;
icon: _backstage_frontend_plugin_api.IconComponent;
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
};
}>;
"page:pagerduty": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
kind: "page";
name: undefined;
config: {
path: string | undefined;
};
configInput: {
path?: string | undefined;
};
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
optional: true;
}>;
inputs: {};
params: {
defaultPath?: [Error: `Use the 'path' param instead`];
path: string;
loader: () => Promise<JSX.Element>;
routeRef?: _backstage_frontend_plugin_api.RouteRef;
};
}>;
}>;
export { pagerDutyPlugin as default };