diff --git a/plugins/catalog-graph/api-report.md b/plugins/catalog-graph/api-report.md index 645fc1162e..80578db6ed 100644 --- a/plugins/catalog-graph/api-report.md +++ b/plugins/catalog-graph/api-report.md @@ -10,6 +10,7 @@ import { CompoundEntityRef } from '@backstage/catalog-model'; import { DependencyGraphTypes } from '@backstage/core-components'; import { ExternalRouteRef } from '@backstage/core-plugin-api'; import { InfoCardVariants } from '@backstage/core-components'; +import { JsonObject } from '@backstage/types'; import { MouseEvent as MouseEvent_2 } from 'react'; import { MouseEventHandler } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; @@ -92,6 +93,7 @@ export type EntityNodeData = { kind?: string; title?: string; namespace: string; + spec?: JsonObject; focused?: boolean; color?: 'primary' | 'secondary' | 'default'; onClick?: MouseEventHandler; diff --git a/plugins/catalog-graph/package.json b/plugins/catalog-graph/package.json index 825314df08..0d1b4181d8 100644 --- a/plugins/catalog-graph/package.json +++ b/plugins/catalog-graph/package.json @@ -27,6 +27,7 @@ "@backstage/core-components": "workspace:^", "@backstage/core-plugin-api": "workspace:^", "@backstage/plugin-catalog-react": "workspace:^", + "@backstage/types": "workspace:^", "@backstage/theme": "workspace:^", "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", @@ -49,7 +50,6 @@ "@backstage/dev-utils": "workspace:^", "@backstage/plugin-catalog": "workspace:^", "@backstage/test-utils": "workspace:^", - "@backstage/types": "workspace:^", "@testing-library/dom": "^8.0.0", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^12.1.3",