diff --git a/src/common/__tests__/user-store.test.ts b/src/common/__tests__/user-store.test.ts index a90e03c75f..eeadbc1e6c 100644 --- a/src/common/__tests__/user-store.test.ts +++ b/src/common/__tests__/user-store.test.ts @@ -34,7 +34,7 @@ import { getDiForUnitTesting } from "../../main/getDiForUnitTesting"; import getConfigurationFileModelInjectable from "../get-configuration-file-model/get-configuration-file-model.injectable"; import storeMigrationVersionInjectable from "../vars/store-migration-version.injectable"; import releaseChannelInjectable from "../vars/release-channel.injectable"; -import defaultUpdateChannelInjectable from "../application-update/selected-update-channel/default-update-channel.injectable"; +import defaultUpdateChannelInjectable from "../../features/application-update/common/selected-update-channel/default-update-channel.injectable"; console = new Console(stdout, stderr); diff --git a/src/common/vars/release-channel.injectable.ts b/src/common/vars/release-channel.injectable.ts index d8275ff1cb..6554fbc0ac 100644 --- a/src/common/vars/release-channel.injectable.ts +++ b/src/common/vars/release-channel.injectable.ts @@ -2,9 +2,9 @@ * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ -import type { ReleaseChannel } from "../application-update/update-channels"; import { createInitializableState } from "../initializable-state/create"; import buildSemanticVersionInjectable from "./build-semantic-version.injectable"; +import type { ReleaseChannel } from "../../features/application-update/common/update-channels"; const releaseChannelInjectable = createInitializableState({ id: "release-channel", diff --git a/src/features/application-update/child-features/selection-of-update-stability/selection-of-update-stability.test.ts b/src/features/application-update/child-features/selection-of-update-stability/selection-of-update-stability.test.ts index 68f8047258..8e84d4d32f 100644 --- a/src/features/application-update/child-features/selection-of-update-stability/selection-of-update-stability.test.ts +++ b/src/features/application-update/child-features/selection-of-update-stability/selection-of-update-stability.test.ts @@ -22,7 +22,8 @@ import setUpdateOnQuitInjectable from "../../../../main/electron-app/features/se import showInfoNotificationInjectable from "../../../../renderer/components/notifications/show-info-notification.injectable"; import processCheckingForUpdatesInjectable from "../../main/process-checking-for-updates.injectable"; import type { DiContainer } from "@ogre-tools/injectable"; -import getBuildVersionInjectable from "../../main/vars/build-version/get-build-version.injectable"; +import getBuildVersionInjectable + from "../../../../main/vars/build-version/get-build-version.injectable"; describe("selection of update stability", () => { let builder: ApplicationBuilder; diff --git a/src/features/application-update/common/selected-update-channel/default-update-channel.injectable.ts b/src/features/application-update/common/selected-update-channel/default-update-channel.injectable.ts index c994b8ee62..0be5adca42 100644 --- a/src/features/application-update/common/selected-update-channel/default-update-channel.injectable.ts +++ b/src/features/application-update/common/selected-update-channel/default-update-channel.injectable.ts @@ -2,9 +2,9 @@ * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ -import { createInitializableState } from "../../initializable-state/create"; import releaseChannelInjectable from "../../../../common/vars/release-channel.injectable"; import { updateChannels } from "../update-channels"; +import { createInitializableState } from "../../../../common/initializable-state/create"; const defaultUpdateChannelInjectable = createInitializableState({ id: "default-update-channel", diff --git a/src/features/application-update/main/emit-current-version-to-analytics.injectable.ts b/src/features/application-update/main/emit-current-version-to-analytics.injectable.ts index ad8d5c41f8..5457e18bad 100644 --- a/src/features/application-update/main/emit-current-version-to-analytics.injectable.ts +++ b/src/features/application-update/main/emit-current-version-to-analytics.injectable.ts @@ -6,7 +6,7 @@ import { getInjectable } from "@ogre-tools/injectable"; import { afterApplicationIsLoadedInjectionToken } from "../../../main/start-main-application/runnable-tokens/after-application-is-loaded-injection-token"; import emitEventInjectable from "../../../common/app-event-bus/emit-event.injectable"; import { getCurrentDateTime } from "../../../common/utils/date/get-current-date-time"; -import buildVersionInjectable from "../../../common/vars/build-version/build-version.injectable"; +import buildVersionInjectable from "../../../main/vars/build-version/build-version.injectable"; const emitCurrentVersionToAnalyticsInjectable = getInjectable({ id: "emit-current-version-to-analytics", diff --git a/src/main/vars/default-update-channel/init.injectable.ts b/src/main/vars/default-update-channel/init.injectable.ts index be588780af..56e90252f3 100644 --- a/src/main/vars/default-update-channel/init.injectable.ts +++ b/src/main/vars/default-update-channel/init.injectable.ts @@ -3,9 +3,9 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ import { getInjectable } from "@ogre-tools/injectable"; -import defaultUpdateChannelInjectable from "../../../common/application-update/selected-update-channel/default-update-channel.injectable"; import { beforeApplicationIsLoadingInjectionToken } from "../../start-main-application/runnable-tokens/before-application-is-loading-injection-token"; import initReleaseChannelInjectable from "../release-channel/init.injectable"; +import defaultUpdateChannelInjectable from "../../../features/application-update/common/selected-update-channel/default-update-channel.injectable"; const initDefaultUpdateChannelInjectable = getInjectable({ id: "init-default-update-channel", diff --git a/src/renderer/vars/default-update-channel/init.injectable.ts b/src/renderer/vars/default-update-channel/init.injectable.ts index 36bbec8157..be59abd536 100644 --- a/src/renderer/vars/default-update-channel/init.injectable.ts +++ b/src/renderer/vars/default-update-channel/init.injectable.ts @@ -3,9 +3,9 @@ * Licensed under MIT License. See LICENSE in root directory for more information. */ import { getInjectable } from "@ogre-tools/injectable"; -import defaultUpdateChannelInjectable from "../../../common/application-update/selected-update-channel/default-update-channel.injectable"; import { beforeFrameStartsInjectionToken } from "../../before-frame-starts/before-frame-starts-injection-token"; import initReleaseChannelInjectable from "../release-channel/init.injectable"; +import defaultUpdateChannelInjectable from "../../../features/application-update/common/selected-update-channel/default-update-channel.injectable"; const initDefaultUpdateChannelInjectable = getInjectable({ id: "init-default-update-channel",