From 56a42ea9ff8e6081c8999c8cc36efca43aa1ecf6 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 12 Apr 2022 15:21:12 -0400 Subject: [PATCH] fix circular dependency Signed-off-by: Sebastian Malton --- src/common/catalog-entities/general.ts | 2 +- src/common/catalog-entities/kubernetes-cluster.ts | 2 +- src/common/catalog-entities/web-link.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/catalog-entities/general.ts b/src/common/catalog-entities/general.ts index 259491a04f..0f851869e5 100644 --- a/src/common/catalog-entities/general.ts +++ b/src/common/catalog-entities/general.ts @@ -5,7 +5,7 @@ import { navigate } from "../../renderer/navigation"; import type { CatalogEntityMetadata, CatalogEntitySpec, CatalogEntityStatus } from "../catalog"; -import { CatalogCategory, CatalogEntity, categoryVersion } from "../catalog"; +import { CatalogCategory, CatalogEntity, categoryVersion } from "../catalog/catalog-entity"; interface GeneralEntitySpec extends CatalogEntitySpec { path: string; diff --git a/src/common/catalog-entities/kubernetes-cluster.ts b/src/common/catalog-entities/kubernetes-cluster.ts index a28fb6bbd2..4bd6be26b8 100644 --- a/src/common/catalog-entities/kubernetes-cluster.ts +++ b/src/common/catalog-entities/kubernetes-cluster.ts @@ -5,7 +5,7 @@ import { catalogCategoryRegistry } from "../catalog/catalog-category-registry"; import type { CatalogEntityActionContext, CatalogEntityContextMenuContext, CatalogEntityMetadata, CatalogEntityStatus, CatalogCategorySpec } from "../catalog"; -import { CatalogEntity, CatalogCategory, categoryVersion } from "../catalog"; +import { CatalogEntity, CatalogCategory, categoryVersion } from "../catalog/catalog-entity"; import { ClusterStore } from "../cluster-store/cluster-store"; import { broadcastMessage } from "../ipc"; import { app } from "electron"; diff --git a/src/common/catalog-entities/web-link.ts b/src/common/catalog-entities/web-link.ts index 8bb8773306..09e02661a4 100644 --- a/src/common/catalog-entities/web-link.ts +++ b/src/common/catalog-entities/web-link.ts @@ -4,7 +4,7 @@ */ import type { CatalogEntityContextMenuContext, CatalogEntityMetadata, CatalogEntityStatus } from "../catalog"; -import { CatalogCategory, CatalogEntity, categoryVersion } from "../catalog"; +import { CatalogCategory, CatalogEntity, categoryVersion } from "../catalog/catalog-entity"; import { catalogCategoryRegistry } from "../catalog/catalog-category-registry"; import { productName } from "../vars"; import { WeblinkStore } from "../weblink-store";