UNPKG

@backstage-community/plugin-jenkins

Version:

A Backstage plugin that integrates towards Jenkins

98 lines (95 loc) 5.24 kB
/// <reference types="react" /> 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_core_plugin_api from '@backstage/core-plugin-api'; import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api'; /** * @alpha */ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{ entityContent: _backstage_frontend_plugin_api.RouteRef<undefined>; }, {}, { [x: `api:${string}/jenkins`]: _backstage_frontend_plugin_api.ExtensionDefinition<{ kind: "api"; name: "jenkins"; config: {}; configInput: {}; output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>; inputs: {}; params: { factory: _backstage_core_plugin_api.AnyApiFactory; }; }>; [x: `entity-card:${string}/latest-run`]: _backstage_frontend_plugin_api.ExtensionDefinition<{ config: { branch: string; variant: "flex" | "fullHeight" | "gridItem" | undefined; } & { filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined; type: "content" | "summary" | "info" | undefined; }; configInput: { variant?: "flex" | "fullHeight" | "gridItem" | undefined; branch?: string | undefined; } & { filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined; type?: "content" | "summary" | "info" | undefined; }; output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", { optional: true; }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", { optional: true; }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", { optional: true; }>; inputs: { [x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }; kind: "entity-card"; name: "latest-run"; params: { loader: () => Promise<JSX.Element>; filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined; type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined; }; }>; [x: `entity-content:${string}/projects`]: _backstage_frontend_plugin_api.ExtensionDefinition<{ kind: "entity-content"; name: "projects"; config: { path: string | undefined; title: string | undefined; filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined; group: string | false | undefined; }; configInput: { filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined; title?: string | undefined; path?: string | undefined; group?: string | false | undefined; }; output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", { optional: true; }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", { optional: true; }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", { optional: true; }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-group", { optional: true; }>; inputs: {}; params: { loader: () => Promise<JSX.Element>; defaultPath: string; defaultTitle: string; defaultGroup?: (string & {}) | "development" | "deployment" | "overview" | "documentation" | "operation" | "observability" | undefined; routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined; filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined; }; }>; }>; export { _default as default };