diff --git a/src/extensions/renderer-api/components.ts b/src/extensions/renderer-api/components.ts index 6946a8aa66..83188c7d39 100644 --- a/src/extensions/renderer-api/components.ts +++ b/src/extensions/renderer-api/components.ts @@ -19,6 +19,7 @@ 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"; @@ -133,3 +134,5 @@ 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 09616e28d5..9ae9345244 100644 --- a/src/renderer/components/notifications/index.ts +++ b/src/renderer/components/notifications/index.ts @@ -3,10 +3,5 @@ * 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);