Baazar plugins: Fixed api warnings
"bazaar" and "baazar-backend" has been removed from the list of "allowed warnings"." Signed-off-by: Niklas Aronsson <niklasar@axis.com>
This commit is contained in:
@@ -8,13 +8,9 @@
|
||||
import { BackstagePlugin } from '@backstage/core-plugin-api';
|
||||
import { RouteRef } from '@backstage/core-plugin-api';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "BazaarPage" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const BazaarPage: () => JSX.Element;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "bazaarPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const bazaarPlugin: BackstagePlugin<
|
||||
{
|
||||
@@ -23,13 +19,9 @@ export const bazaarPlugin: BackstagePlugin<
|
||||
{}
|
||||
>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "EntityBazaarInfoCard" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const EntityBazaarInfoCard: () => JSX.Element | null;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "SortView" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const SortView: () => JSX.Element;
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ import { EntityBazaarInfoContent } from '../EntityBazaarInfoContent';
|
||||
import { Card } from '@material-ui/core';
|
||||
import { parseBazaarResponse } from '../../util/parseMethods';
|
||||
|
||||
/** @public */
|
||||
export const EntityBazaarInfoCard = () => {
|
||||
const { entity } = useEntity();
|
||||
const bazaarApi = useApi(bazaarApiRef);
|
||||
|
||||
@@ -66,6 +66,7 @@ const getUnlinkedCatalogEntities = (
|
||||
});
|
||||
};
|
||||
|
||||
/** @public */
|
||||
export const SortView = () => {
|
||||
const bazaarApi = useApi(bazaarApiRef);
|
||||
const catalogApi = useApi(catalogApiRef);
|
||||
|
||||
@@ -25,6 +25,7 @@ import {
|
||||
} from '@backstage/core-plugin-api';
|
||||
import { bazaarApiRef, BazaarClient } from './api';
|
||||
|
||||
/** @public */
|
||||
export const bazaarPlugin = createPlugin({
|
||||
id: 'bazaar',
|
||||
routes: {
|
||||
@@ -44,6 +45,7 @@ export const bazaarPlugin = createPlugin({
|
||||
],
|
||||
});
|
||||
|
||||
/** @public */
|
||||
export const BazaarPage = bazaarPlugin.provide(
|
||||
createRoutableExtension({
|
||||
name: 'BazaarPage',
|
||||
|
||||
Reference in New Issue
Block a user