Merge pull request #11404 from acierto/reconfigure
Make a possibility to configure existing components
This commit is contained in:
@@ -25,6 +25,7 @@ export const adrPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ export const airbrakePlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ export const allurePlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import { Config } from '@backstage/config';
|
||||
import { IdentityApi } from '@backstage/core-plugin-api';
|
||||
|
||||
// @public @deprecated (undocumented)
|
||||
export const analyticsModuleGA: BackstagePlugin<{}, {}>;
|
||||
export const analyticsModuleGA: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// @public
|
||||
export class GoogleAnalytics implements AnalyticsApi {
|
||||
|
||||
@@ -10,8 +10,8 @@ import { RouteRef } from '@backstage/core-plugin-api';
|
||||
|
||||
// @public
|
||||
export const ApacheAirflowDagTable: ({
|
||||
dagIds,
|
||||
}: {
|
||||
dagIds,
|
||||
}: {
|
||||
dagIds?: string[] | undefined;
|
||||
}) => JSX.Element;
|
||||
|
||||
@@ -27,6 +27,7 @@ export const apacheAirflowPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
```
|
||||
|
||||
@@ -47,7 +47,8 @@ const apiDocsPlugin: BackstagePlugin<
|
||||
},
|
||||
{
|
||||
registerApi: ExternalRouteRef<undefined, true>;
|
||||
}
|
||||
},
|
||||
{}
|
||||
>;
|
||||
export { apiDocsPlugin };
|
||||
export { apiDocsPlugin as plugin };
|
||||
|
||||
@@ -41,6 +41,7 @@ export const apolloExplorerPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@ export class AzureDevOpsClient implements AzureDevOpsApi {
|
||||
// Warning: (ae-missing-release-tag) "azureDevOpsPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const azureDevOpsPlugin: BackstagePlugin<{}, {}>;
|
||||
export const azureDevOpsPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "AzurePullRequestsIcon" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
|
||||
@@ -10,7 +10,7 @@ import { BackstagePlugin } from '@backstage/core-plugin-api';
|
||||
// Warning: (ae-missing-release-tag) "badgesPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const badgesPlugin: BackstagePlugin<{}, {}>;
|
||||
export const badgesPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "EntityBadgesDialog" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
|
||||
@@ -16,6 +16,7 @@ export const bazaarPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import { Entity } from '@backstage/catalog-model';
|
||||
// Warning: (ae-missing-release-tag) "bitrisePlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const bitrisePlugin: BackstagePlugin<{}, {}>;
|
||||
export const bitrisePlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "EntityBitriseContent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname);
|
||||
@@ -0,0 +1,57 @@
|
||||
# Backstage Catalog Frontend
|
||||
|
||||
This is the React frontend to customize Backstage [software
|
||||
catalog](http://backstage.io/docs/features/software-catalog/software-catalog-overview).
|
||||
This package supplies the example how it can be achieved.
|
||||
|
||||
## Installation
|
||||
|
||||
This `@internal/plugin-catalog-customized` package comes installed by default in example application of
|
||||
Backstage application.
|
||||
|
||||
To check if you already have the package, look under
|
||||
`packages/app/package.json`, in the `dependencies` block, for
|
||||
`@internal/plugin-catalog-customized`. The instructions below walk through restoring the
|
||||
plugin, if you previously removed it.
|
||||
|
||||
### Install the package
|
||||
|
||||
```bash
|
||||
# From your Backstage root directory
|
||||
yarn add --cwd packages/app @internal/plugin-catalog-customized
|
||||
```
|
||||
|
||||
### Add the plugin to your `packages/app`
|
||||
|
||||
Add the import to a file where is your plugin catalog is defined:
|
||||
|
||||
```diff
|
||||
// packages/app/src/App.tsx
|
||||
|
||||
import from '@internal/plugin-catalog-customized';
|
||||
|
||||
...
|
||||
|
||||
import {
|
||||
CatalogIndexPage,
|
||||
CatalogEntityPage,
|
||||
} from '@backstage/plugin-catalog';
|
||||
|
||||
...
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
This frontend plugin can be started in a standalone mode from directly in this
|
||||
package with `yarn start`. However, it will have limited functionality and that
|
||||
process is most convenient when developing the catalog frontend plugin itself.
|
||||
|
||||
To evaluate the catalog and have a greater amount of functionality available,
|
||||
run the entire Backstage example application from the root folder:
|
||||
|
||||
```bash
|
||||
yarn dev
|
||||
```
|
||||
|
||||
This will launch both frontend and backend in the same window, populated with
|
||||
some example entities.
|
||||
@@ -0,0 +1,9 @@
|
||||
## API Report File for "@internal/plugin-catalog-customized"
|
||||
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
export * from '@backstage/plugin-catalog';
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"name": "@internal/plugin-catalog-customized",
|
||||
"description": "The internal Backstage Customizable plugin for browsing the Backstage catalog",
|
||||
"version": "0.0.0",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
"private": true,
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"main": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts"
|
||||
},
|
||||
"backstage": {
|
||||
"role": "frontend-plugin"
|
||||
},
|
||||
"homepage": "https://backstage.io",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/backstage/backstage",
|
||||
"directory": "plugins/catalog-customized"
|
||||
},
|
||||
"keywords": [
|
||||
"backstage"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "backstage-cli package build",
|
||||
"start": "backstage-cli package start",
|
||||
"lint": "backstage-cli package lint",
|
||||
"test": "backstage-cli package test",
|
||||
"diff": "backstage-cli plugin:diff",
|
||||
"prepack": "backstage-cli package prepack",
|
||||
"postpack": "backstage-cli package postpack",
|
||||
"clean": "backstage-cli package clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/plugin-catalog": "^1.4.0",
|
||||
"@backstage/plugin-catalog-react": "^1.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^16.13.1 || ^17.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.13.1 || ^17.0.0"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright 2020 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import './plugin';
|
||||
|
||||
export * from '@backstage/plugin-catalog';
|
||||
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright 2020 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { catalogPlugin } from '@backstage/plugin-catalog';
|
||||
|
||||
// id: 'catalog-customized'
|
||||
catalogPlugin.__experimentalReconfigure({
|
||||
createButtonTitle: 'New',
|
||||
});
|
||||
@@ -48,7 +48,8 @@ export const catalogGraphPlugin: BackstagePlugin<
|
||||
},
|
||||
true
|
||||
>;
|
||||
}
|
||||
},
|
||||
{}
|
||||
>;
|
||||
|
||||
// @public
|
||||
|
||||
@@ -133,6 +133,7 @@ const catalogImportPlugin: BackstagePlugin<
|
||||
{
|
||||
importPage: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { catalogImportPlugin };
|
||||
|
||||
@@ -79,6 +79,8 @@ export interface CatalogKindHeaderProps {
|
||||
initialFilter?: string;
|
||||
}
|
||||
|
||||
// Warning: (ae-forgotten-export) The symbol "CatalogInputPluginOptions" needs to be exported by the entry point index.d.ts
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const catalogPlugin: BackstagePlugin<
|
||||
{
|
||||
@@ -99,7 +101,8 @@ export const catalogPlugin: BackstagePlugin<
|
||||
},
|
||||
true
|
||||
>;
|
||||
}
|
||||
},
|
||||
CatalogInputPluginOptions
|
||||
>;
|
||||
|
||||
// @public (undocumented)
|
||||
|
||||
@@ -23,8 +23,10 @@ import {
|
||||
} from '@backstage/catalog-model';
|
||||
import { TableColumn, TableProps } from '@backstage/core-components';
|
||||
import {
|
||||
createPlugin,
|
||||
IdentityApi,
|
||||
identityApiRef,
|
||||
PluginProvider,
|
||||
ProfileInfo,
|
||||
storageApiRef,
|
||||
} from '@backstage/core-plugin-api';
|
||||
@@ -133,6 +135,22 @@ describe('DefaultCatalogPage', () => {
|
||||
};
|
||||
const storageApi = MockStorageApi.create();
|
||||
|
||||
type TestInputPluginOptions = {
|
||||
'key-1': string;
|
||||
};
|
||||
|
||||
type TestPluginOptions = {
|
||||
'key-1': string;
|
||||
'key-2': string;
|
||||
};
|
||||
|
||||
const plugin = createPlugin({
|
||||
id: 'my-plugin',
|
||||
__experimentalConfigure(_: TestInputPluginOptions): TestPluginOptions {
|
||||
return { 'key-1': 'value-1', 'key-2': 'value-2' };
|
||||
},
|
||||
});
|
||||
|
||||
const renderWrapped = (children: React.ReactNode) =>
|
||||
renderWithEffects(
|
||||
wrapInTestApp(
|
||||
@@ -144,7 +162,7 @@ describe('DefaultCatalogPage', () => {
|
||||
[starredEntitiesApiRef, new MockStarredEntitiesApi()],
|
||||
]}
|
||||
>
|
||||
{children}
|
||||
<PluginProvider plugin={plugin}>{children}</PluginProvider>
|
||||
</TestApiProvider>,
|
||||
{
|
||||
mountedRoutes: {
|
||||
|
||||
@@ -39,6 +39,7 @@ import React from 'react';
|
||||
import { createComponentRouteRef } from '../../routes';
|
||||
import { CatalogTable, CatalogTableRow } from '../CatalogTable';
|
||||
import { CatalogKindHeader } from '../CatalogKindHeader';
|
||||
import { useCatalogPluginOptions } from '../../options';
|
||||
|
||||
/**
|
||||
* Props for root catalog pages.
|
||||
@@ -65,6 +66,8 @@ export function DefaultCatalogPage(props: DefaultCatalogPageProps) {
|
||||
useApi(configApiRef).getOptionalString('organization.name') ?? 'Backstage';
|
||||
const createComponentLink = useRouteRef(createComponentRouteRef);
|
||||
|
||||
const { createButtonTitle } = useCatalogPluginOptions();
|
||||
|
||||
return (
|
||||
<PageWithHeader title={`${orgName} Catalog`} themeId="home">
|
||||
<EntityListProvider>
|
||||
@@ -73,7 +76,7 @@ export function DefaultCatalogPage(props: DefaultCatalogPageProps) {
|
||||
titleComponent={<CatalogKindHeader initialFilter={initialKind} />}
|
||||
>
|
||||
<CreateButton
|
||||
title="Create Component"
|
||||
title={createButtonTitle}
|
||||
to={createComponentLink && createComponentLink()}
|
||||
/>
|
||||
<SupportButton>All your software catalog entities</SupportButton>
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright 2020 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { usePluginOptions } from '@backstage/core-plugin-api';
|
||||
|
||||
export type CatalogPluginOptions = {
|
||||
createButtonTitle: string;
|
||||
};
|
||||
|
||||
export type CatalogInputPluginOptions = {
|
||||
createButtonTitle: string;
|
||||
};
|
||||
|
||||
export const useCatalogPluginOptions = () =>
|
||||
usePluginOptions<CatalogPluginOptions>();
|
||||
@@ -43,6 +43,7 @@ import { HasSubcomponentsCardProps } from './components/HasSubcomponentsCard';
|
||||
import { HasSystemsCardProps } from './components/HasSystemsCard';
|
||||
import { RelatedEntitiesCardProps } from './components/RelatedEntitiesCard';
|
||||
import { rootRouteRef } from './routes';
|
||||
import { CatalogInputPluginOptions, CatalogPluginOptions } from './options';
|
||||
|
||||
/** @public */
|
||||
export const catalogPlugin = createPlugin({
|
||||
@@ -72,6 +73,14 @@ export const catalogPlugin = createPlugin({
|
||||
createComponent: createComponentRouteRef,
|
||||
viewTechDoc: viewTechDocRouteRef,
|
||||
},
|
||||
__experimentalConfigure(
|
||||
options?: CatalogInputPluginOptions,
|
||||
): CatalogPluginOptions {
|
||||
const defaultOptions = {
|
||||
createButtonTitle: 'Create',
|
||||
};
|
||||
return { ...defaultOptions, ...options };
|
||||
},
|
||||
});
|
||||
|
||||
/** @public */
|
||||
|
||||
@@ -107,6 +107,7 @@ export const cicdStatisticsPlugin: BackstagePlugin<
|
||||
{
|
||||
entityContent: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ export const circleCIBuildRouteRef: SubRouteRef<PathParams<'/:buildId'>>;
|
||||
// Warning: (ae-missing-release-tag) "circleCIPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const circleCIPlugin: BackstagePlugin<{}, {}>;
|
||||
const circleCIPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
export { circleCIPlugin };
|
||||
export { circleCIPlugin as plugin };
|
||||
|
||||
|
||||
@@ -141,6 +141,7 @@ const cloudbuildPlugin: BackstagePlugin<
|
||||
{
|
||||
entityContent: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { cloudbuildPlugin };
|
||||
|
||||
@@ -48,6 +48,7 @@ export const codeClimatePlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ export const codeCoveragePlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ export const codescenePlugin: BackstagePlugin<
|
||||
projectId: string;
|
||||
}>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ export const configSchemaPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -382,6 +382,7 @@ const costInsightsPlugin: BackstagePlugin<
|
||||
growthAlerts: RouteRef<undefined>;
|
||||
unlabeledDataflowAlerts: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { costInsightsPlugin };
|
||||
|
||||
@@ -9,7 +9,7 @@ import { BackstagePlugin } from '@backstage/core-plugin-api';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
|
||||
// @public
|
||||
export const dynatracePlugin: BackstagePlugin<{}, {}>;
|
||||
export const dynatracePlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// @public
|
||||
export const DynatraceTab: () => JSX.Element;
|
||||
|
||||
@@ -16,6 +16,7 @@ export const todoListPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -68,7 +68,8 @@ const explorePlugin: BackstagePlugin<
|
||||
},
|
||||
true
|
||||
>;
|
||||
}
|
||||
},
|
||||
{}
|
||||
>;
|
||||
export { explorePlugin };
|
||||
export { explorePlugin as plugin };
|
||||
|
||||
@@ -20,6 +20,7 @@ export const firehydrantPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
```
|
||||
|
||||
@@ -40,6 +40,7 @@ export const fossaPlugin: BackstagePlugin<
|
||||
{
|
||||
fossaOverview: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
```
|
||||
|
||||
@@ -65,6 +65,7 @@ export const gcalendarPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ const gcpProjectsPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { gcpProjectsPlugin };
|
||||
|
||||
@@ -203,6 +203,7 @@ export const gitReleaseManagerPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -198,6 +198,7 @@ const githubActionsPlugin: BackstagePlugin<
|
||||
{
|
||||
entityContent: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { githubActionsPlugin };
|
||||
|
||||
@@ -47,7 +47,7 @@ export const EntityGithubDeploymentsCard: (props: {
|
||||
// Warning: (ae-missing-release-tag) "githubDeploymentsPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const githubDeploymentsPlugin: BackstagePlugin<{}, {}>;
|
||||
export const githubDeploymentsPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// Warning: (ae-forgotten-export) The symbol "GithubDeploymentsTableProps" needs to be exported by the entry point index.d.ts
|
||||
// Warning: (ae-missing-release-tag) "GithubDeploymentsTable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
|
||||
@@ -149,6 +149,7 @@ const gitopsProfilesPlugin: BackstagePlugin<
|
||||
}>;
|
||||
createPage: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { gitopsProfilesPlugin };
|
||||
|
||||
@@ -15,7 +15,7 @@ export const EntityGoCdContent: () => JSX.Element;
|
||||
export const GOCD_PIPELINES_ANNOTATION = 'gocd.org/pipelines';
|
||||
|
||||
// @public
|
||||
export const gocdPlugin: BackstagePlugin<{}, {}>;
|
||||
export const gocdPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// @public
|
||||
export const isGoCdAvailable: (entity: Entity) => boolean;
|
||||
|
||||
@@ -39,7 +39,7 @@ export const GraphiQLIcon: IconComponent;
|
||||
export const GraphiQLPage: () => JSX.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
const graphiqlPlugin: BackstagePlugin<{}, {}>;
|
||||
const graphiqlPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
export { graphiqlPlugin };
|
||||
export { graphiqlPlugin as plugin };
|
||||
|
||||
|
||||
@@ -107,6 +107,7 @@ export const homePlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -249,6 +249,7 @@ const ilertPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { ilertPlugin };
|
||||
|
||||
@@ -108,6 +108,7 @@ const jenkinsPlugin: BackstagePlugin<
|
||||
{
|
||||
entityContent: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { jenkinsPlugin };
|
||||
|
||||
@@ -34,6 +34,7 @@ const kafkaPlugin: BackstagePlugin<
|
||||
{
|
||||
entityContent: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { kafkaPlugin };
|
||||
|
||||
@@ -353,6 +353,7 @@ const kubernetesPlugin: BackstagePlugin<
|
||||
{
|
||||
entityContent: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { kubernetesPlugin };
|
||||
|
||||
@@ -175,6 +175,7 @@ const lighthousePlugin: BackstagePlugin<
|
||||
root: RouteRef<undefined>;
|
||||
entityContent: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { lighthousePlugin };
|
||||
|
||||
@@ -42,6 +42,7 @@ export const newRelicDashboardPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ const newRelicPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { newRelicPlugin };
|
||||
|
||||
@@ -58,7 +58,8 @@ const orgPlugin: BackstagePlugin<
|
||||
{},
|
||||
{
|
||||
catalogIndex: ExternalRouteRef<undefined, false>;
|
||||
}
|
||||
},
|
||||
{}
|
||||
>;
|
||||
export { orgPlugin };
|
||||
export { orgPlugin as plugin };
|
||||
|
||||
@@ -166,7 +166,7 @@ export type PagerDutyOnCallsResponse = {
|
||||
// Warning: (ae-missing-release-tag) "pagerDutyPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const pagerDutyPlugin: BackstagePlugin<{}, {}>;
|
||||
const pagerDutyPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
export { pagerDutyPlugin };
|
||||
export { pagerDutyPlugin as plugin };
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ export class PeriskopClient implements PeriskopApi {
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const periskopPlugin: BackstagePlugin<{}, {}>;
|
||||
export const periskopPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RequestHeaders {
|
||||
|
||||
@@ -91,6 +91,7 @@ const rollbarPlugin: BackstagePlugin<
|
||||
{
|
||||
entityContent: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { rollbarPlugin as plugin };
|
||||
|
||||
@@ -367,7 +367,8 @@ export const scaffolderPlugin: BackstagePlugin<
|
||||
},
|
||||
{
|
||||
registerComponent: ExternalRouteRef<undefined, true>;
|
||||
}
|
||||
},
|
||||
{}
|
||||
>;
|
||||
|
||||
// @public
|
||||
|
||||
@@ -75,6 +75,7 @@ const searchPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { searchPlugin as plugin };
|
||||
|
||||
@@ -145,6 +145,7 @@ const sentryPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { sentryPlugin as plugin };
|
||||
|
||||
@@ -62,7 +62,7 @@ export const shortcutsApiRef: ApiRef<ShortcutApi>;
|
||||
// Warning: (ae-missing-release-tag) "shortcutsPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const shortcutsPlugin: BackstagePlugin<{}, {}>;
|
||||
export const shortcutsPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// @public
|
||||
export interface ShortcutsProps {
|
||||
|
||||
@@ -44,7 +44,7 @@ export const SonarQubeCard: ({
|
||||
// Warning: (ae-missing-release-tag) "sonarQubePlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const sonarQubePlugin: BackstagePlugin<{}, {}>;
|
||||
const sonarQubePlugin: BackstagePlugin<{}, {}, {}>;
|
||||
export { sonarQubePlugin as plugin };
|
||||
export { sonarQubePlugin };
|
||||
|
||||
|
||||
@@ -98,6 +98,7 @@ const splunkOnCallPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { splunkOnCallPlugin as plugin };
|
||||
|
||||
@@ -20,7 +20,7 @@ export const HomePageStackOverflowQuestions: (
|
||||
export const StackOverflowIcon: () => JSX.Element;
|
||||
|
||||
// @public
|
||||
export const stackOverflowPlugin: BackstagePlugin<{}, {}>;
|
||||
export const stackOverflowPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// @public
|
||||
export type StackOverflowQuestion = {
|
||||
|
||||
@@ -112,6 +112,7 @@ export const techInsightsPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
|
||||
@@ -126,6 +126,7 @@ const techRadarPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { techRadarPlugin as plugin };
|
||||
|
||||
@@ -33,7 +33,7 @@ export type ReportIssueTemplateBuilder = ({
|
||||
}) => ReportIssueTemplate;
|
||||
|
||||
// @public
|
||||
export const techdocsModuleAddonsContribPlugin: BackstagePlugin<{}, {}>;
|
||||
export const techdocsModuleAddonsContribPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// @public
|
||||
export const TextSize: () => JSX.Element | null;
|
||||
|
||||
@@ -291,6 +291,7 @@ const techdocsPlugin: BackstagePlugin<
|
||||
}>;
|
||||
entityContent: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { techdocsPlugin as plugin };
|
||||
|
||||
@@ -84,6 +84,7 @@ export const todoPlugin: BackstagePlugin<
|
||||
{
|
||||
entityContent: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
```
|
||||
|
||||
@@ -102,6 +102,7 @@ const userSettingsPlugin: BackstagePlugin<
|
||||
{
|
||||
settingsPage: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
export { userSettingsPlugin as plugin };
|
||||
|
||||
@@ -27,7 +27,7 @@ export interface VaultApi {
|
||||
export const vaultApiRef: ApiRef<VaultApi>;
|
||||
|
||||
// @public
|
||||
export const vaultPlugin: BackstagePlugin<{}, {}>;
|
||||
export const vaultPlugin: BackstagePlugin<{}, {}, {}>;
|
||||
|
||||
// @public
|
||||
export type VaultSecret = {
|
||||
|
||||
@@ -20,6 +20,7 @@ export const xcmetricsPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user