Explorar el Código

query-node: update package.json, manifest.yml

metmirr hace 4 años
padre
commit
d372d959b3

+ 5 - 3
query-node/manifest.yml

@@ -1,9 +1,14 @@
 version: '0.1'
+description: Joystream query-node manifest file for sumer
+repository: https://github.com/Joystream/joystream
 dataSource:
   kind: substrate 
   chain: joystream
   indexerVersion: '0.1.6'
+entities:
+  - mappings/lib/generated/**/*.model.js
 metadata:
+  # TODO: update source and blockHash for sumer release
   source: wss://babylon-sub-1.joystream.app/staging/rpc
   blockHash: '0x206a6cca31333cb19ee120cde7455e13eea368ec3f6176d0cd48698228410489'
 events:
@@ -20,9 +25,6 @@ outDir: ./generated/types
 customTypes:
   lib: '@joystream/types/augment/all/types'
   typedefsLoc: '../types/augment/all/defs.json'
-entities:
-  - mappings/lib/generated/**/*.model.js
-
 mappings:
   hydraCommonVersion: '0.0.3'
     # process only blocks with height >= 1M 

+ 4 - 3
query-node/mappings/package.json

@@ -1,5 +1,5 @@
 {
-  "name": "mappings",
+  "name": "query-node-mappings",
   "version": "0.0.1",
   "description": "Mappings for hydra-processor",
   "main": "lib/mappings/index.js",
@@ -11,10 +11,11 @@
   },
   "dependencies": {
     "@dzlzv/hydra-common": "0.0.3",
-    "@polkadot/types": "~2.10.2-7"
+    "@polkadot/types": "~2.10.2-7",
+    "warthog": "https://github.com/metmirr/warthog/releases/download/v2.23.0/warthog-v2.23.0.tgz"
   },
   "devDependencies": {
     "ts-node": "^9.0.0",
     "typescript": "^3.8"
   }
-}
+}

+ 1 - 1
query-node/mappings/tsconfig.json

@@ -5,7 +5,7 @@
     "module": "commonjs",
     "outDir": "lib",
     "rootDirs": [
-        "./"
+      "./"
     ],
     "strict": true,
     "target": "es2017",