catalog-model: Remove target from EntityRelation type.

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-03-04 10:00:50 +01:00
committed by Fredrik Adelöw
parent 165cabfeb6
commit d3e9ec43b7
40 changed files with 135 additions and 375 deletions
@@ -94,11 +94,6 @@ describe('<ConsumedApisCard />', () => {
},
relations: [
{
target: {
kind: 'api',
namespace: 'my-namespace',
name: 'target-name',
},
targetRef: 'api:my-namespace/target-name',
type: RELATION_CONSUMES_API,
},
@@ -94,11 +94,6 @@ describe('<HasApisCard />', () => {
},
relations: [
{
target: {
kind: 'api',
namespace: 'my-namespace',
name: 'target-name',
},
targetRef: 'api:my-namespace/target-name',
type: RELATION_HAS_PART,
},
@@ -94,11 +94,6 @@ describe('<ProvidedApisCard />', () => {
},
relations: [
{
target: {
kind: 'api',
namespace: 'my-namespace',
name: 'target-name',
},
targetRef: 'api:my-namespace/target-name',
type: RELATION_PROVIDES_API,
},
@@ -97,11 +97,6 @@ describe('<ConsumingComponentsCard />', () => {
},
relations: [
{
target: {
kind: 'component',
namespace: 'my-namespace',
name: 'target-name',
},
targetRef: 'component:my-namespace/target-name',
type: RELATION_API_CONSUMED_BY,
},
@@ -97,11 +97,6 @@ describe('<ProvidingComponentsCard />', () => {
},
relations: [
{
target: {
kind: 'component',
namespace: 'my-namespace',
name: 'target-name',
},
targetRef: 'component:my-namespace/target-name',
type: RELATION_API_PROVIDED_BY,
},