@milaboratories/milaboratories.ui-examples.model 1.4.4 → 1.4.6
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 +14 -0
- package/dist/bundle.js +12 -6
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +3 -3
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.ui-examples.model@1.4.
|
|
3
|
+
> @milaboratories/milaboratories.ui-examples.model@1.4.6 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/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 [
|
|
10
|
+
[32mcreated [1mdist, dist[22m in [1m4s[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 [
|
|
15
|
+
[32mcreated [1mdist[22m in [1m5.1s[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.ui-examples.model@1.4.
|
|
3
|
+
> @milaboratories/milaboratories.ui-examples.model@1.4.6 lint /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/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.ui-examples.model@1.4.
|
|
3
|
+
> @milaboratories/milaboratories.ui-examples.model@1.4.6 type-check /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
|
|
4
4
|
> ts-builder types --target block-model
|
|
5
5
|
|
|
6
6
|
↳ tsc --noEmit --project ./tsconfig.json --customConditions ,
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.ui-examples.model
|
|
2
2
|
|
|
3
|
+
## 1.4.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [f459e5a]
|
|
8
|
+
- @platforma-sdk/model@1.53.3
|
|
9
|
+
|
|
10
|
+
## 1.4.5
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [57799dd]
|
|
15
|
+
- @platforma-sdk/model@1.53.2
|
|
16
|
+
|
|
3
17
|
## 1.4.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -72,7 +72,13 @@
|
|
|
72
72
|
function normalizeBlockStorage(raw) {
|
|
73
73
|
if (isBlockStorage(raw)) {
|
|
74
74
|
const storage = raw;
|
|
75
|
-
return {
|
|
75
|
+
return {
|
|
76
|
+
...storage,
|
|
77
|
+
// Fix for early released version where __dataVersion was a number
|
|
78
|
+
__dataVersion: typeof storage.__dataVersion === 'number'
|
|
79
|
+
? DATA_MODEL_DEFAULT_VERSION
|
|
80
|
+
: storage.__dataVersion,
|
|
81
|
+
};
|
|
76
82
|
}
|
|
77
83
|
// Legacy format: raw is the state directly
|
|
78
84
|
return createBlockStorage(raw);
|
|
@@ -7523,7 +7529,7 @@
|
|
|
7523
7529
|
}
|
|
7524
7530
|
}
|
|
7525
7531
|
|
|
7526
|
-
var version = "1.53.
|
|
7532
|
+
var version = "1.53.3";
|
|
7527
7533
|
|
|
7528
7534
|
const PlatformaSDKVersion = version;
|
|
7529
7535
|
|
|
@@ -7789,7 +7795,7 @@
|
|
|
7789
7795
|
*
|
|
7790
7796
|
* Callbacks registered by DataModel.registerCallbacks():
|
|
7791
7797
|
* - `__pl_data_initial`: () => initial data
|
|
7792
|
-
* - `
|
|
7798
|
+
* - `__pl_data_upgrade`: (versioned) => DataMigrationResult
|
|
7793
7799
|
* - `__pl_storage_initial`: () => initial BlockStorage as JSON string
|
|
7794
7800
|
*
|
|
7795
7801
|
* @module block_storage_vm
|
|
@@ -7894,7 +7900,7 @@
|
|
|
7894
7900
|
* Runs storage migration using the DataModel's migrate callback.
|
|
7895
7901
|
* This is the main entry point for the middle layer to trigger migrations.
|
|
7896
7902
|
*
|
|
7897
|
-
* Uses the '
|
|
7903
|
+
* Uses the '__pl_data_upgrade' callback registered by DataModel.registerCallbacks() which:
|
|
7898
7904
|
* - Handles all migration logic internally
|
|
7899
7905
|
* - Returns { version, data, warning? } - warning present if reset to initial data
|
|
7900
7906
|
*
|
|
@@ -7919,9 +7925,9 @@
|
|
|
7919
7925
|
});
|
|
7920
7926
|
};
|
|
7921
7927
|
// Get the migrate callback (registered by DataModel.registerCallbacks())
|
|
7922
|
-
const migrateCallback = ctx.callbackRegistry['
|
|
7928
|
+
const migrateCallback = ctx.callbackRegistry['__pl_data_upgrade'];
|
|
7923
7929
|
if (typeof migrateCallback !== 'function') {
|
|
7924
|
-
return { error: '
|
|
7930
|
+
return { error: '__pl_data_upgrade callback not found (DataModel not registered)' };
|
|
7925
7931
|
}
|
|
7926
7932
|
// Call the migrator's migrate function
|
|
7927
7933
|
let result;
|