UNPKG

@veecode-platform/plugin-kong-service-manager

Version:

20 lines (17 loc) 847 B
import React from 'react'; import { convertLegacyRouteRef } from '@backstage/core-compat-api'; import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha'; import { kongServiceRouteRef } from '../routes.esm.js'; import { isKongServiceManagerAvailable } from '../hooks/useKongServiceManager.esm.js'; const KongServiceManagerTabContent = EntityContentBlueprint.make({ name: "entity", params: { defaultPath: "kong", defaultTitle: "Kong Service Manager", filter: isKongServiceManagerAvailable, routeRef: convertLegacyRouteRef(kongServiceRouteRef), loader: () => import('../components/KongServiceManagerHomepage/index.esm.js').then((m) => /* @__PURE__ */ React.createElement(m.KongServiceManagerHomepage, null)) } }); export { KongServiceManagerTabContent }; //# sourceMappingURL=entityContent.esm.js.map