ekms 8.9.0-beta.0 → 8.9.0-beta.10
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/common/countable.js +8 -2
- package/common/countable.test.json +586 -0
- package/common/crew.instance.json +176 -0
- package/common/fastfood.instance.json +270 -74
- package/common/hierarchy.js +5 -5
- package/common/hierarchy.test.json +1491 -0
- package/common/pipboy.instance.json +28 -28
- package/common/pipboy.js +0 -1
- package/common/reports.instance.json +1 -1
- package/common/ui.instance.json +125 -0
- package/common/ui.js +12 -5
- package/common/wp.instance.json +7379 -0
- package/common/wp.js +95 -0
- package/common/wp.test.json +7437 -0
- package/main.js +2 -0
- package/package.json +6 -2
package/common/hierarchy.js
CHANGED
@@ -252,9 +252,9 @@ let config = {
|
|
252
252
|
const twoConcepts = asList(context.same);
|
253
253
|
for (let oneConcept of oneConcepts.value) {
|
254
254
|
for (let twoConcept of twoConcepts.value) {
|
255
|
-
|
256
|
-
|
257
|
-
api.rememberIsA(
|
255
|
+
oneConceptId = api.makeObject({config, context: oneConcept})
|
256
|
+
twoConceptId = api.makeObject({config, context: twoConcept})
|
257
|
+
api.rememberIsA(oneConceptId, twoConceptId)
|
258
258
|
context.sameWasProcessed = true
|
259
259
|
}
|
260
260
|
}
|
@@ -305,8 +305,8 @@ knowledgeModule( {
|
|
305
305
|
checks: {
|
306
306
|
objects: ['children', 'concept', 'parents', 'properties'],
|
307
307
|
checks: {
|
308
|
-
|
309
|
-
|
308
|
+
context: defaultContextCheck(),
|
309
|
+
},
|
310
310
|
|
311
311
|
},
|
312
312
|
includes: {
|