@milaboratories/milaboratories.ui-examples.model 1.4.0 → 1.4.2
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 -16
- package/dist/bundle.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +6 -6
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.2 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 [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 [
|
|
15
|
+
[32mcreated [1mdist[22m in [1m4s[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.2 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.2 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.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [48e8984]
|
|
8
|
+
- @platforma-sdk/model@1.52.7
|
|
9
|
+
|
|
10
|
+
## 1.4.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [1e4b72a]
|
|
15
|
+
- @platforma-sdk/model@1.52.3
|
|
16
|
+
|
|
3
17
|
## 1.4.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/dist/bundle.js
CHANGED
|
@@ -7498,7 +7498,7 @@
|
|
|
7498
7498
|
}
|
|
7499
7499
|
}
|
|
7500
7500
|
|
|
7501
|
-
var version = "1.52.
|
|
7501
|
+
var version = "1.52.7";
|
|
7502
7502
|
|
|
7503
7503
|
const PlatformaSDKVersion = version;
|
|
7504
7504
|
|
|
@@ -7756,9 +7756,8 @@
|
|
|
7756
7756
|
* directly - they only see `state`.
|
|
7757
7757
|
*
|
|
7758
7758
|
* Registered callbacks (all prefixed with `__pl_` for internal SDK use):
|
|
7759
|
-
* - `__pl_storage_normalize`: (rawStorage) => { storage, data }
|
|
7760
7759
|
* - `__pl_storage_applyUpdate`: (currentStorageJson, payload) => updatedStorageJson
|
|
7761
|
-
* - `
|
|
7760
|
+
* - `__pl_storage_debugView`: (rawStorage) => JSON string with storage debug view
|
|
7762
7761
|
* - `__pl_storage_migrate`: (currentStorageJson) => MigrationResult
|
|
7763
7762
|
* - `__pl_args_derive`: (storageJson) => ArgsDeriveResult
|
|
7764
7763
|
* - `__pl_prerunArgs_derive`: (storageJson) => ArgsDeriveResult
|
|
@@ -7842,31 +7841,28 @@
|
|
|
7842
7841
|
// =============================================================================
|
|
7843
7842
|
// Auto-register internal callbacks when module is loaded in VM
|
|
7844
7843
|
// =============================================================================
|
|
7845
|
-
// Register normalize callback
|
|
7846
|
-
tryRegisterCallback('__pl_storage_normalize', (rawStorage) => {
|
|
7847
|
-
return normalizeStorage(rawStorage);
|
|
7848
|
-
});
|
|
7849
7844
|
// Register apply update callback (requires existing storage)
|
|
7850
7845
|
tryRegisterCallback('__pl_storage_applyUpdate', (currentStorageJson, payload) => {
|
|
7851
7846
|
return applyStorageUpdate(currentStorageJson, payload);
|
|
7852
7847
|
});
|
|
7853
7848
|
/**
|
|
7854
|
-
* Gets storage
|
|
7855
|
-
* Returns structured info about the storage state.
|
|
7849
|
+
* Gets storage debug view from raw storage data.
|
|
7850
|
+
* Returns structured debug info about the storage state.
|
|
7856
7851
|
*
|
|
7857
7852
|
* @param rawStorage - Raw data from blockStorage field (may be JSON string or object)
|
|
7858
|
-
* @returns JSON string with storage
|
|
7853
|
+
* @returns JSON string with storage debug view
|
|
7859
7854
|
*/
|
|
7860
|
-
function
|
|
7855
|
+
function getStorageDebugView(rawStorage) {
|
|
7861
7856
|
const { storage } = normalizeStorage(rawStorage);
|
|
7862
|
-
const
|
|
7857
|
+
const debugView = {
|
|
7863
7858
|
dataVersion: storage.__dataVersion,
|
|
7859
|
+
data: storage.__data,
|
|
7864
7860
|
};
|
|
7865
|
-
return
|
|
7861
|
+
return stringifyJson(debugView);
|
|
7866
7862
|
}
|
|
7867
|
-
// Register
|
|
7868
|
-
tryRegisterCallback('
|
|
7869
|
-
return
|
|
7863
|
+
// Register debug view callback
|
|
7864
|
+
tryRegisterCallback('__pl_storage_debugView', (rawStorage) => {
|
|
7865
|
+
return getStorageDebugView(rawStorage);
|
|
7870
7866
|
});
|
|
7871
7867
|
/**
|
|
7872
7868
|
* Runs storage migration using the DataModel's upgrade callback.
|