export DagTableComponent

Signed-off-by: Daniele.Mazzotta <daniele.mazzotta@tii.ae>
This commit is contained in:
Daniele.Mazzotta
2022-06-17 12:47:33 +04:00
parent 6b8093497f
commit fdffb40c70
2 changed files with 17 additions and 2 deletions
+5 -1
View File
@@ -20,4 +20,8 @@
* @packageDocumentation
*/
export { apacheAirflowPlugin, ApacheAirflowPage } from './plugin';
export {
apacheAirflowPlugin,
ApacheAirflowPage,
ApacheAirflowDagTable,
} from './plugin';
+12 -1
View File
@@ -17,11 +17,12 @@
import { rootRouteRef } from './routes';
import { apacheAirflowApiRef, ApacheAirflowClient } from './api';
import {
configApiRef,
createApiFactory,
createComponentExtension,
createPlugin,
createRoutableExtension,
discoveryApiRef,
configApiRef,
} from '@backstage/core-plugin-api';
export const apacheAirflowPlugin = createPlugin({
@@ -49,3 +50,13 @@ export const ApacheAirflowPage = apacheAirflowPlugin.provide(
mountPoint: rootRouteRef,
}),
);
export const ApacheAirflowDagTable = apacheAirflowPlugin.provide(
createComponentExtension({
name: 'ApacheAirflowDagTable',
component: {
lazy: () =>
import('./components/DagTableComponent').then(m => m.DagTableComponent),
},
}),
);