mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-07 16:34:06 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user