Add a script to publish records from a given directory #62
@ -561,7 +561,7 @@ $ laconic registry bond records reassociate --old-bond-id 5c40abd336ae1561f2a1b5
|
||||
yarn ts-node src/publish-endponit-records.ts -c config.yml -r records/watcher-deployments
|
||||
```
|
||||
|
||||
* View the records at <http://localhost:9473>:
|
||||
* View the records at laconicd GQL endpoint <http://localhost:9473>:
|
||||
|
||||
```gql
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"type": "WatcherRecord",
|
||||
"version": "0.0.1",
|
||||
"schema_id": "watcher-record-schema-id",
|
||||
"version": "0.1.0",
|
||||
"schema": "",
|
||||
"name": "ajna-watcher",
|
||||
"repository": "https://git.vdb.to/cerc-io/ajna-watcher-ts",
|
||||
"repository_ref": "66b8d96308eacab1ef6a4f3cb74a0f28fb18dc67",
|
11
records/watcher/AzimuthWatcher.json
Normal file
11
records/watcher/AzimuthWatcher.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "WatcherRecord",
|
||||
"version": "0.1.0",
|
||||
"schema": "",
|
||||
"name": "azimuth-watcher",
|
||||
"repository": "https://github.com/cerc-io/azimuth-watcher-ts",
|
||||
"repository_ref": "ffd8baa4bcdd0b0fff701d942de572b7ddf33191",
|
||||
"watcher_version": "0.1.3",
|
||||
"is_subgraph_watcher": false,
|
||||
"chain": "ethereum"
|
||||
}
|
11
records/watcher/MerklSushiswapWatcher.json
Normal file
11
records/watcher/MerklSushiswapWatcher.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "WatcherRecord",
|
||||
"version": "0.1.0",
|
||||
"schema": "",
|
||||
"name": "merkl-sushiswap-v3-watcher",
|
||||
"repository": "https://github.com/cerc-io/merkl-sushiswap-v3-watcher-ts",
|
||||
"repository_ref": "b7cf79883e73400ad064b0357208c167795ab521",
|
||||
"watcher_version": "0.1.9",
|
||||
"is_subgraph_watcher": true,
|
||||
"chain": "filecoin"
|
||||
}
|
11
records/watcher/SushiswapWatcher.json
Normal file
11
records/watcher/SushiswapWatcher.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "WatcherRecord",
|
||||
"version": "0.1.0",
|
||||
"schema": "",
|
||||
"name": "sushiswap-v3-watcher",
|
||||
"repository": "https://github.com/cerc-io/sushiswap-v3-watcher-ts",
|
||||
"repository_ref": "2f9f4d1ca191805922a51d1e3b471c06314fbc64",
|
||||
"watcher_version": "0.1.9",
|
||||
"is_subgraph_watcher": true,
|
||||
"chain": "filecoin"
|
||||
}
|
@ -1,10 +1,11 @@
|
||||
{
|
||||
"type": "WatcherDeploymentRecord",
|
||||
"version": "0.0.1",
|
||||
"schema_id": "watcher-deployment-record-schema-id",
|
||||
"name": "ajna-watcher",
|
||||
"watcher": "watcher-record-id",
|
||||
"version": "0.1.0",
|
||||
"schema": "",
|
||||
"request": "",
|
||||
"name": "ajna-watcher",
|
||||
"watcher": "<watcher-record-id>",
|
||||
"kind": "active",
|
||||
"url": "https://ajna-watcher-endpoint.example.com",
|
||||
"kind": "active"
|
||||
"requires_api_key": "true"
|
||||
}
|
11
records/watcher/deployments/AzimuthWatcherDeployment.json
Normal file
11
records/watcher/deployments/AzimuthWatcherDeployment.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "WatcherDeploymentRecord",
|
||||
"version": "0.1.0",
|
||||
"schema": "",
|
||||
"request": "",
|
||||
"name": "azimuth-watcher",
|
||||
"watcher": "<watcher-record-id>",
|
||||
"kind": "active",
|
||||
"url": "https://azimuth-watcher-endpoint.example.com",
|
||||
"requires_api_key": "false"
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "WatcherDeploymentRecord",
|
||||
"version": "0.1.0",
|
||||
"schema": "",
|
||||
"request": "",
|
||||
"name": "merkl-sushiswap-v3-watcher",
|
||||
"watcher": "<watcher-record-id>",
|
||||
"kind": "active",
|
||||
"url": "https://merkl-sushiswap-v3-watcher-endpoint.example.com",
|
||||
"requires_api_key": "false"
|
||||
}
|
11
records/watcher/deployments/SushiswapWatcherDeployment.json
Normal file
11
records/watcher/deployments/SushiswapWatcherDeployment.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "WatcherDeploymentRecord",
|
||||
"version": "0.1.0",
|
||||
"schema": "",
|
||||
"request": "",
|
||||
"name": "sushiswap-v3-watcher",
|
||||
"watcher": "<watcher-record-id>",
|
||||
"kind": "active",
|
||||
"url": "https://sushiswap-v3-watcher-endpoint.example.com",
|
||||
"requires_api_key": "false"
|
||||
}
|
@ -72,6 +72,6 @@ main()
|
||||
.catch(err => {
|
||||
console.error(err);
|
||||
})
|
||||
.then(() => {
|
||||
.finally(() => {
|
||||
console.log('Done');
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user