diff --git a/src/extensions/renderer-api/components.ts b/src/extensions/renderer-api/components.ts index 83188c7d39..6946a8aa66 100644 --- a/src/extensions/renderer-api/components.ts +++ b/src/extensions/renderer-api/components.ts @@ -19,7 +19,6 @@ import { ConfirmDialog as _ConfirmDialog } from "../../renderer/components/confi import type { ConfirmDialogBooleanParams, ConfirmDialogParams, ConfirmDialogProps } from "../../renderer/components/confirm-dialog"; import openConfirmDialogInjectable from "../../renderer/components/confirm-dialog/open.injectable"; import confirmInjectable from "../../renderer/components/confirm-dialog/confirm.injectable"; -import notificationsStoreInjectable from "../../renderer/components/notifications/notifications-store.injectable"; // layouts export * from "../../renderer/components/layout/main-layout"; @@ -134,5 +133,3 @@ export class TerminalStore { console.warn("TerminalStore.resetInstance() does nothing"); } } - -export const notificationsStore = asLegacyGlobalForExtensionApi(notificationsStoreInjectable); diff --git a/src/renderer/components/notifications/index.ts b/src/renderer/components/notifications/index.ts index 75f37ed5cf..09616e28d5 100644 --- a/src/renderer/components/notifications/index.ts +++ b/src/renderer/components/notifications/index.ts @@ -3,4 +3,10 @@ * 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 notificationsStoreInjectable from "./notifications-store.injectable"; + export * from "./notifications"; +export * from "./notifications.store"; + +export const notificationsStore = asLegacyGlobalForExtensionApi(notificationsStoreInjectable);