diff --git a/packages/app/src/App.tsx b/packages/app/src/App.tsx index 1fb1125518..c5e5033973 100644 --- a/packages/app/src/App.tsx +++ b/packages/app/src/App.tsx @@ -20,7 +20,6 @@ import { FlatRoutes, OAuthRequestDialog, SignInPage, - TableColumn, } from '@backstage/core'; import { apiDocsPlugin, ApiExplorerPage } from '@backstage/plugin-api-docs'; import { @@ -57,8 +56,6 @@ import { Root } from './components/Root'; import { entityPage } from './components/catalog/EntityPage'; import { providers } from './identityProviders'; import * as plugins from './plugins'; -import { EntityRow } from '../../catalog-model/src'; -import { EntityRefLink } from '@backstage/plugin-catalog-react'; const app = createApp({ apis, @@ -98,17 +95,6 @@ const app = createApp({ const AppProvider = app.getProvider(); const AppRouter = app.getRouter(); -const columns: TableColumn[] = [ - { - title: 'Name', - field: 'resolved.name', - highlight: true, - render: ({ entity }) => ( - - ), - }, -]; - const routes = ( diff --git a/packages/catalog-model/src/types.ts b/packages/catalog-model/src/types.ts index 963e57919d..edac03466d 100644 --- a/packages/catalog-model/src/types.ts +++ b/packages/catalog-model/src/types.ts @@ -16,7 +16,6 @@ import { JsonValue } from '@backstage/config'; import { JSONSchema7 } from 'json-schema'; -import { Entity } from './entity'; export type JSONSchema = JSONSchema7 & { [key in string]?: JsonValue }; @@ -45,14 +44,3 @@ export type EntityRef = namespace?: string; name: string; }; - -export type EntityRow = { - entity: Entity; - resolved: { - name: string; - partOfSystemRelationTitle?: string; - partOfSystemRelations: EntityName[]; - ownedByRelationsTitle?: string; - ownedByRelations: EntityName[]; - }; -};