watcher-ts/packages/util/src
prathamesh0 a846917f1d Export-import watcher state and IPFS integration (#289)
* Add export-watcher CLI generation

* Export snapshot block and add import-watcher CLI gen

* Update codegen docs with export and import commands

* Use different function to get latest checkpoint in export CLI

* Update generated watcher docs with import state instructions

* Push IPLDBlocks to IPFS

* Change ts type for data column to Buffer

* Add checkpoint hook

* Push CLI checkpoint to IPFS

* Fix latest IPLDBlock query to filter out irrelevant blocks

* Add CLI to inspect a CID

* Decode data before exporting

* Encode data in JSON for getState GQL API

* Use go-ipfs and export cbor-encoded buffer

* Remove empty post-block methods from existing watchers

* Call hooks and checkpoint job complete handlers in fill

* Remove subscription to hooks queue from existing watchers
2021-12-28 16:08:04 +05:30
..
common.ts Move update sync status outside job-runner (#324) 2021-12-21 15:46:05 +05:30
config.ts Export-import watcher state and IPFS integration (#289) 2021-12-28 16:08:04 +05:30
constants.ts Export-import watcher state and IPFS integration (#289) 2021-12-28 16:08:04 +05:30
database.ts Auto generating state from indexer methods (#277) 2021-12-28 16:08:04 +05:30
events.ts Generate IPLD blocks table and related GQL API (#260) 2021-12-28 16:08:04 +05:30
fill.ts Export-import watcher state and IPFS integration (#289) 2021-12-28 16:08:04 +05:30
graph-decimal.ts Handle bigint and decimal types for entities in watchers (#295) 2021-12-02 13:22:29 +05:30
indexer.ts Auto generating state from indexer methods (#277) 2021-12-28 16:08:04 +05:30
ipldHelper.ts Auto generating state from indexer methods (#277) 2021-12-28 16:08:04 +05:30
job-queue.ts Fix job-runner stop and restart in uni-watcher (#319) 2021-12-17 11:57:09 +05:30
job-runner.ts Boolean state param to indexer methods and IPLDBlocks only in the pruned region (#286) 2021-12-28 16:08:04 +05:30
misc.ts Handle bigint and decimal types for entities in watchers (#295) 2021-12-02 13:22:29 +05:30
types.ts Export-import watcher state and IPFS integration (#289) 2021-12-28 16:08:04 +05:30