From 5b15e4b3df0a241f5460de6af32a55e78b9c9614 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 22 Dec 2022 11:23:33 -0500 Subject: [PATCH] Remove usages of legacy global catalogEntityRegistry Signed-off-by: Sebastian Malton --- src/main/catalog/catalog-entity-registry.ts | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/main/catalog/catalog-entity-registry.ts diff --git a/src/main/catalog/catalog-entity-registry.ts b/src/main/catalog/catalog-entity-registry.ts deleted file mode 100644 index 0329a56e74..0000000000 --- a/src/main/catalog/catalog-entity-registry.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) OpenLens Authors. All rights reserved. - * Licensed under MIT License. See LICENSE in root directory for more information. - */ - -import { asLegacyGlobalForExtensionApi } from "../../extensions/as-legacy-globals-for-extension-api/as-legacy-global-object-for-extension-api"; -import catalogEntityRegistryInjectable from "./entity-registry.injectable"; - -/** - * @deprecated use `di.inject(catalogEntityRegistryInjectable)` instead - */ -export const catalogEntityRegistry = asLegacyGlobalForExtensionApi(catalogEntityRegistryInjectable);