Rename files for accuracy

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne SavolainenandMikko Aspiala committed 2022-06-03 07:48:01 +03:00
1 parent a9d382663c
commit 81c3896e9e
8 files changed
+32 -32

No files matched your search

@@ -5,14 +5,14 @@
import { getInjectable } from "@ogre-tools/injectable";
import createSyncBoxInjectable from "../../sync-box/create-sync-box.injectable";
const checkingForUpdatesStateInjectable = getInjectable({
id: "checking-for-updates-state",
const discoveredUpdateVersionInjectable = getInjectable({
id: "discovered-update-version",
instantiate: (di) => {
const createSyncBox = di.inject(createSyncBoxInjectable);
return createSyncBox("checking-for-updates");
return createSyncBox("discovered-update-version");
},
});
export default checkingForUpdatesStateInjectable;
export default discoveredUpdateVersionInjectable;
@@ -5,14 +5,14 @@
import { getInjectable } from "@ogre-tools/injectable";
import createSyncBoxInjectable from "../../sync-box/create-sync-box.injectable";
const discoveredVersionStateInjectable = getInjectable({
id: "discovered-version-state",
const updateIsBeingDownloadedInjectable = getInjectable({
id: "update-is-being-downloaded",
instantiate: (di) => {
const createSyncBox = di.inject(createSyncBoxInjectable);
return createSyncBox("discovered-version-state");
return createSyncBox("update-is-being-downloaded");
},
});
export default discoveredVersionStateInjectable;
export default updateIsBeingDownloadedInjectable;
@@ -5,14 +5,14 @@
import { getInjectable } from "@ogre-tools/injectable";
import createSyncBoxInjectable from "../../sync-box/create-sync-box.injectable";
const downloadingUpdateStateInjectable = getInjectable({
id: "downloading-update-state",
const updatesAreBeingDiscoveredInjectable = getInjectable({
id: "updates-are-being-discovered",
instantiate: (di) => {
const createSyncBox = di.inject(createSyncBoxInjectable);
return createSyncBox("downloading-update");
return createSyncBox("updates-are-being-discovered");
},
});
export default downloadingUpdateStateInjectable;
export default updatesAreBeingDiscoveredInjectable;