Reverting unnecessary changes

Signed-off-by: Heather Lee <heatherl@splunk.com>
This commit is contained in:
Heather Lee
2021-05-05 15:37:08 -07:00
parent b209b23e60
commit 75885e5cff
2 changed files with 0 additions and 26 deletions
-14
View File
@@ -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<EntityRow>[] = [
{
title: 'Name',
field: 'resolved.name',
highlight: true,
render: ({ entity }) => (
<EntityRefLink entityRef={entity} defaultKind="Component" />
),
},
];
const routes = (
<FlatRoutes>
<Navigate key="/" to="/catalog" />
-12
View File
@@ -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[];
};
};