Refactor import-state CLI to cli package (#250)

* Remove unnecessary upstream config arg to event watcher

* Initialize event watcher in CLI package

* Refactor import-state CLI to cli package
This commit is contained in:
prathamesh0
2022-11-22 16:41:15 +05:30
committed by GitHub
parent 6622d0874e
commit 6737ec756c
37 changed files with 369 additions and 513 deletions
+1
View File
@@ -348,6 +348,7 @@ export class GraphWatcher {
}
}
// TODO Remove after updating codegen CLIs
async updateEntitiesFromState (state: StateInterface) {
assert(this._indexer);
await updateEntitiesFromState(this._database, this._indexer, state);