@milaboratories/milaboratories.pool-explorer.model 1.0.125 → 1.0.126
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/.turbo/turbo-build.log +3 -3
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/bundle.js +10 -5
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +5 -5
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.pool-explorer.model@1.0.
|
|
3
|
+
> @milaboratories/milaboratories.pool-explorer.model@1.0.126 build /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
|
|
4
4
|
> ts-builder build --target block-model && block-tools build-model
|
|
5
5
|
|
|
6
6
|
Building block-model project...
|
|
7
7
|
↳ rollup -c /configs/rollup.block-model.config.js
|
|
8
8
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist, dist[22m...[39m
|
|
10
|
-
[32mcreated [1mdist, dist[22m in [1m2.
|
|
10
|
+
[32mcreated [1mdist, dist[22m in [1m2.5s[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./src/index.ts[22m → [1mdist[22m...[39m
|
|
13
13
|
[1m[33m(!) Circular dependency[39m[22m
|
|
14
14
|
../../../../sdk/model/dist/components/PFrameForGraphs.js -> ../../../../sdk/model/dist/pframe_utils/columns.js -> ../../../../sdk/model/dist/components/PFrameForGraphs.js
|
|
15
|
-
[32mcreated [1mdist[22m in [1m3.
|
|
15
|
+
[32mcreated [1mdist[22m in [1m3.4s[22m[39m
|
|
16
16
|
Build completed successfully
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.pool-explorer.model@1.0.
|
|
3
|
+
> @milaboratories/milaboratories.pool-explorer.model@1.0.126 lint /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
|
|
4
4
|
> eslint .
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.pool-explorer.model@1.0.
|
|
3
|
+
> @milaboratories/milaboratories.pool-explorer.model@1.0.126 type-check /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
|
|
4
4
|
> ts-builder types --target block-model
|
|
5
5
|
|
|
6
6
|
↳ tsc --noEmit --project ./tsconfig.json --customConditions ,
|
package/CHANGELOG.md
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -6088,10 +6088,15 @@
|
|
|
6088
6088
|
}
|
|
6089
6089
|
return result;
|
|
6090
6090
|
};
|
|
6091
|
-
|
|
6092
|
-
const hasUniqueLabels = (result) => result !== undefined && new Set(result.map((c) => c.label)).size === values.length;
|
|
6091
|
+
const countUniqueLabels = (result) => result === undefined ? 0 : new Set(result.map((c) => c.label)).size;
|
|
6093
6092
|
// Post-processing: try removing types one by one (lowest importance first) to minimize the label set
|
|
6093
|
+
// Accepts removal if it doesn't decrease the number of unique labels (cardinality)
|
|
6094
6094
|
const minimizeTypeSet = (typeSet) => {
|
|
6095
|
+
const initialResult = calculate(typeSet);
|
|
6096
|
+
if (initialResult === undefined) {
|
|
6097
|
+
return typeSet;
|
|
6098
|
+
}
|
|
6099
|
+
const currentCardinality = countUniqueLabels(initialResult);
|
|
6095
6100
|
// Get types sorted by importance ascending (lowest first), excluding forced elements
|
|
6096
6101
|
const removableSorted = [...typeSet]
|
|
6097
6102
|
.filter((t) => !forceTraceElements?.has(t.split('@')[0])
|
|
@@ -6101,7 +6106,7 @@
|
|
|
6101
6106
|
const reducedSet = new Set(typeSet);
|
|
6102
6107
|
reducedSet.delete(typeToRemove);
|
|
6103
6108
|
const candidateResult = calculate(reducedSet);
|
|
6104
|
-
if (
|
|
6109
|
+
if (candidateResult !== undefined && countUniqueLabels(candidateResult) >= currentCardinality) {
|
|
6105
6110
|
typeSet.delete(typeToRemove);
|
|
6106
6111
|
}
|
|
6107
6112
|
}
|
|
@@ -6132,7 +6137,7 @@
|
|
|
6132
6137
|
if (additionalType >= 0)
|
|
6133
6138
|
currentSet.add(mainTypes[additionalType]);
|
|
6134
6139
|
const candidateResult = calculate(currentSet);
|
|
6135
|
-
if (
|
|
6140
|
+
if (candidateResult !== undefined && countUniqueLabels(candidateResult) === values.length) {
|
|
6136
6141
|
minimizeTypeSet(currentSet);
|
|
6137
6142
|
return calculate(currentSet);
|
|
6138
6143
|
}
|
|
@@ -7381,7 +7386,7 @@
|
|
|
7381
7386
|
}
|
|
7382
7387
|
}
|
|
7383
7388
|
|
|
7384
|
-
var version = "1.51.
|
|
7389
|
+
var version = "1.51.9";
|
|
7385
7390
|
|
|
7386
7391
|
const PlatformaSDKVersion = version;
|
|
7387
7392
|
|