commit | 43c7520556b108ad13cc02306c571a721482e7bc | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Sat Oct 19 15:55:15 2024 +0200 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Sat Nov 09 18:15:00 2024 +0100 |
tree | a964acca72cbd782205490d3cb593eeb8eb50641 | |
parent | ce9df171077d283d9ad021f22b5faa003158d41f [diff] [blame] |
refactor(node-watcher): adapt to new DI architecture This commit moves the node watcher code to the presentation layer and adapts it to be ready to use DI. Thus, the node watcher is separated into a port and adapter. Bug: twpowertools:226 Change-Id: Id36d5407ff478006eb8c057db1dcad05fd30b7d6
diff --git a/src/common/architecture/scripts/nodeWatcher/handlers/NodeWatcherScriptHandler.ts b/src/common/architecture/scripts/nodeWatcher/handlers/NodeWatcherScriptHandler.ts index 5b0fd42..712f533 100644 --- a/src/common/architecture/scripts/nodeWatcher/handlers/NodeWatcherScriptHandler.ts +++ b/src/common/architecture/scripts/nodeWatcher/handlers/NodeWatcherScriptHandler.ts
@@ -1,4 +1,4 @@ -import { NodeMutation, NodeWatcherHandler } from "../../../../nodeWatcher/NodeWatcherHandler"; +import { NodeMutation, NodeWatcherHandler } from "../../../../../presentation/nodeWatcher/NodeWatcherHandler"; export abstract class NodeWatcherScriptHandler<Options> implements NodeWatcherHandler