chore(architecture): deprecate some of the new architecture
In order to use Dependency Injection, we need to deprecate old classes
which aren't suitable for it, and which will be replaced by other ones
in followup commits.
Bug: twpowertools:226
Change-Id: I232bd9f036b6fb540eba27d7586d8054ce3de789
diff --git a/src/features/ccDarkTheme/scripts/nodeWatcher.script.ts b/src/features/ccDarkTheme/scripts/nodeWatcher.script.ts
index 7a78798..83e343e 100644
--- a/src/features/ccDarkTheme/scripts/nodeWatcher.script.ts
+++ b/src/features/ccDarkTheme/scripts/nodeWatcher.script.ts
@@ -7,7 +7,7 @@
ScriptPage,
ScriptRunPhase,
} from '../../../common/architecture/scripts/Script';
-import NodeWatcherScript from '../../../common/architecture/scripts/nodeWatcher/NodeWatcherScript';
+import LegacyNodeWatcherScript from '../../../common/architecture/scripts/nodeWatcher/LegacyNodeWatcherScript';
import OptionsProvider from '../../../common/options/OptionsProvider';
import ReportDialogColorThemeFix from '../core/logic/reportDialog';
import CCDarkThemeEcAppHandler from '../nodeWatcherHandlers/ecApp.handler';
@@ -19,7 +19,7 @@
optionsProvider: OptionsProvider;
}
-export default class CCDarkThemeNodeWatcherScript extends NodeWatcherScript<CCDarkThemeNodeWatcherDependencies> {
+export default class CCDarkThemeNodeWatcherScript extends LegacyNodeWatcherScript<CCDarkThemeNodeWatcherDependencies> {
public page = ScriptPage.CommunityConsole;
public environment = ScriptEnvironment.ContentScript;
public runPhase = ScriptRunPhase.Main;