@hestia-earth/glossary 0.78.0 → 0.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -0
- package/package.json +3 -2
- package/resources/ecoinventMapping.json +1 -0
- package/resources/inHestiaDefaultSystemBoundary.json +1 -1
- package/resources/term-order.json +1 -1
- package/resources/term-restrictions.json +1 -1
- package/resources/termType-lookups.json +1 -1
- package/CHANGELOG.md +0 -5798
package/index.js
CHANGED
|
@@ -103,6 +103,9 @@ const isInSystemBoundary = (id) => {
|
|
|
103
103
|
return !value || value === "true";
|
|
104
104
|
};
|
|
105
105
|
|
|
106
|
+
const getEcoinventMapping = (id) =>
|
|
107
|
+
loadResourceKey("ecoinventMapping.json", id);
|
|
108
|
+
|
|
106
109
|
/**
|
|
107
110
|
* Return the group for this term with a specific model.
|
|
108
111
|
*
|
|
@@ -143,6 +146,7 @@ module.exports = {
|
|
|
143
146
|
getTermModelRestrictions,
|
|
144
147
|
getTermTypeLookups,
|
|
145
148
|
isInSystemBoundary,
|
|
149
|
+
getEcoinventMapping,
|
|
146
150
|
getModelGroup,
|
|
147
151
|
termOrder,
|
|
148
152
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hestia-earth/glossary",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.79.0",
|
|
4
4
|
"description": "HESTIA Earth Glossary library",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@commitlint/cli": "^17.3.0",
|
|
29
29
|
"@commitlint/config-conventional": "^17.3.0",
|
|
30
|
-
"@hestia-earth/
|
|
30
|
+
"@hestia-earth/engine-models": "^0.74.16",
|
|
31
|
+
"@hestia-earth/schema": "^35.0.1",
|
|
31
32
|
"axios": "^1.2.1",
|
|
32
33
|
"csvtojson": "^2.0.10",
|
|
33
34
|
"dotenv": "^16.0.3",
|