UNPKG

@veecode-platform/backstage-plugin-tenant-explorer

Version:

105 lines (102 loc) 5.17 kB
/// <reference types="react" /> import * as _backstage_core_plugin_api from '@backstage/core-plugin-api'; 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 _default: _backstage_frontend_plugin_api.FrontendPlugin<{ root: _backstage_frontend_plugin_api.RouteRef<undefined>; entityContent: _backstage_frontend_plugin_api.RouteRef<undefined>; }, {}, { [x: `entity-content:${string}/entity`]: _backstage_frontend_plugin_api.ExtensionDefinition<{ kind: "entity-content"; name: "entity"; 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 & {}) | "overview" | "documentation" | "development" | "deployment" | "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; }; }>; [x: `nav-item:${string}`]: _backstage_frontend_plugin_api.ExtensionDefinition<{ kind: "nav-item"; name: undefined; config: {}; configInput: {}; output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{ title: string; icon: _backstage_core_plugin_api.IconComponent; routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>; }, "core.nav-item.target", {}>; inputs: {}; params: { title: string; icon: _backstage_core_plugin_api.IconComponent; routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>; }; }>; [x: `page:${string}`]: _backstage_frontend_plugin_api.ExtensionDefinition<{ config: { title: string; subtitle: string; pageTitle: string; width: number | undefined; height: number | undefined; } & { path: string | undefined; }; configInput: { title?: string | undefined; height?: number | undefined; width?: number | undefined; subtitle?: string | undefined; pageTitle?: string | undefined; } & { path?: string | 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; }>; inputs: { [x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }; kind: "page"; name: undefined; params: { defaultPath: string; loader: () => Promise<JSX.Element>; routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined; }; }>; }>; export { _default as default };