Add support for meta query in watcher GQL API (#453)

* Add a method to get meta data for watcher indexing status

* Add a flag indicating indexing error to sync status

* Codegen changes

* Clear indexing error on job-runner startup

* Fix lint errors
This commit is contained in:
prathamesh0
2023-11-07 14:37:05 +05:30
committed by GitHub
parent 8547876764
commit 5efab298a3
12 changed files with 220 additions and 53 deletions
@@ -177,6 +177,12 @@ export class Indexer implements IndexerInterface {
return {} as SyncStatusInterface;
}
async updateSyncStatusIndexingError (hasIndexingError: boolean): Promise<SyncStatusInterface> {
assert(hasIndexingError);
return {} as SyncStatusInterface;
}
async markBlocksAsPruned (blocks: BlockProgressInterface[]): Promise<void> {
assert(blocks);