@things-factory/figure-library 10.1.297 → 10.1.300
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.
|
@@ -5,6 +5,7 @@ exports.blueprintsOf = blueprintsOf;
|
|
|
5
5
|
const figure_model_1 = require("@hatiolab/figure-model");
|
|
6
6
|
const shell_1 = require("@things-factory/shell");
|
|
7
7
|
const inspection_1 = require("./inspection");
|
|
8
|
+
const library_files_1 = require("./library-files");
|
|
8
9
|
const type_map_1 = require("./type-map");
|
|
9
10
|
exports.FIGURE_BLUEPRINTS_MAX = 500;
|
|
10
11
|
/**
|
|
@@ -49,7 +50,8 @@ async function blueprintsOf(tx, domain, types, speak, files) {
|
|
|
49
50
|
refuse(type, new shell_1.Refusal('figure-format-unsupported', { type, ref: line.release.ref }, '{ref} cannot be read here.'));
|
|
50
51
|
continue;
|
|
51
52
|
}
|
|
52
|
-
|
|
53
|
+
const jointsChecked = (0, library_files_1.sha256Of)(Buffer.from(line.release.source, 'utf8')) === line.release.contentHash;
|
|
54
|
+
answer.items.push({ type, ref: line.release.ref, asset, jointsChecked });
|
|
53
55
|
}
|
|
54
56
|
return answer;
|
|
55
57
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/figure-library",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.300",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"files": [
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"@operato/slot-layout-editor": "^10.29.87",
|
|
56
56
|
"@operato/styles": "^10.29.23",
|
|
57
57
|
"@operato/utils": "^10.0.0",
|
|
58
|
-
"@things-factory/attachment-base": "^10.1.
|
|
59
|
-
"@things-factory/auth-base": "^10.1.
|
|
60
|
-
"@things-factory/board-service": "^10.1.
|
|
61
|
-
"@things-factory/env": "^10.1.
|
|
58
|
+
"@things-factory/attachment-base": "^10.1.298",
|
|
59
|
+
"@things-factory/auth-base": "^10.1.298",
|
|
60
|
+
"@things-factory/board-service": "^10.1.298",
|
|
61
|
+
"@things-factory/env": "^10.1.298",
|
|
62
62
|
"@things-factory/figure-viewer": "^10.1.291",
|
|
63
|
-
"@things-factory/setting-base": "^10.1.
|
|
64
|
-
"@things-factory/shell": "^10.1.
|
|
63
|
+
"@things-factory/setting-base": "^10.1.298",
|
|
64
|
+
"@things-factory/shell": "^10.1.298",
|
|
65
65
|
"graphql-scalars": "^1.22.4",
|
|
66
66
|
"graphql-tag": "^2.12.6",
|
|
67
67
|
"graphql-upload": "^15.0.2",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"koa-router": "^7.4.0",
|
|
70
70
|
"lit": "^3.1.2"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "1d8d05b52b9ae030bd4b74a3852b9e9d64f39e6e"
|
|
73
73
|
}
|