Add support for subgraph schema data types (#46)

* Fix packages build

* Add support for boolean type in subgraph schema

* Add BigDecimal fromString and toString implementation

* Add implementation for subgraph Bytes type

* Implement enum type for subgraph schema

* Add implementation for subgraph schema BigDecimal type

* JSON stringify and parse entity data for auto-diff
This commit is contained in:
nikugogoi
2021-12-28 16:08:05 +05:30
committed by nabarun
parent 73dcb882a6
commit 47cef8d5d7
13 changed files with 346 additions and 162 deletions
+3 -1
View File
@@ -36,7 +36,9 @@
},
"dependencies": {
"@vulcanize/assemblyscript": "0.0.1",
"@vulcanize/util": "^0.1.0",
"js-yaml": "^4.1.0",
"typeorm": "^0.2.32"
"typeorm": "^0.2.32",
"decimal.js": "^10.3.1"
}
}