@veecode-platform/backstage-plugin-tenant-explorer
Version:
28 lines (25 loc) • 889 B
JavaScript
import { createPlugin, createComponentExtension, createRoutableExtension } from '@backstage/core-plugin-api';
import { rootRouteRef } from './routes.esm.js';
const TenantExplorerPlugin = createPlugin({
id: "tenant-explorer",
routes: {
root: rootRouteRef
}
});
const TenantOverviewPage = TenantExplorerPlugin.provide(
createComponentExtension({
name: "TenantOverviewPage",
component: {
lazy: () => import('./components/OverviewPage/index.esm.js').then((m) => m.TenantOverview)
}
})
);
const TenantExplorerPage = TenantExplorerPlugin.provide(
createRoutableExtension({
name: "TenantExplorerPage",
component: () => import('./components/TenantExplorerPage.esm.js').then((m) => m.TenantExplorerPage),
mountPoint: rootRouteRef
})
);
export { TenantExplorerPage, TenantExplorerPlugin, TenantOverviewPage };
//# sourceMappingURL=plugin.esm.js.map