@milaboratories/milaboratories.pool-explorer.model 1.1.0 → 1.1.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 +15 -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.pool-explorer.model@1.1.
|
|
3
|
+
> @milaboratories/milaboratories.pool-explorer.model@1.1.2 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 [
|
|
10
|
+
[32mcreated [1mdist, dist[22m in [1m1.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 [1m3.5s[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.1.
|
|
3
|
+
> @milaboratories/milaboratories.pool-explorer.model@1.1.2 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.1.
|
|
3
|
+
> @milaboratories/milaboratories.pool-explorer.model@1.1.2 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
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.pool-explorer.model
|
|
2
2
|
|
|
3
|
+
## 1.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [48e8984]
|
|
8
|
+
- @platforma-sdk/model@1.52.7
|
|
9
|
+
|
|
10
|
+
## 1.1.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [1e4b72a]
|
|
15
|
+
- @platforma-sdk/model@1.52.3
|
|
16
|
+
|
|
3
17
|
## 1.1.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4723,6 +4723,9 @@
|
|
|
4723
4723
|
var canonicalizeExports = requireCanonicalize();
|
|
4724
4724
|
var canonicalize = /*@__PURE__*/getDefaultExportFromCjs(canonicalizeExports);
|
|
4725
4725
|
|
|
4726
|
+
function stringifyJson(value) {
|
|
4727
|
+
return JSON.stringify(value);
|
|
4728
|
+
}
|
|
4726
4729
|
function canonicalizeJson(value) {
|
|
4727
4730
|
return canonicalize(value);
|
|
4728
4731
|
}
|
|
@@ -7495,7 +7498,7 @@
|
|
|
7495
7498
|
}
|
|
7496
7499
|
}
|
|
7497
7500
|
|
|
7498
|
-
var version = "1.52.
|
|
7501
|
+
var version = "1.52.7";
|
|
7499
7502
|
|
|
7500
7503
|
const PlatformaSDKVersion = version;
|
|
7501
7504
|
|
|
@@ -7519,9 +7522,8 @@
|
|
|
7519
7522
|
* directly - they only see `state`.
|
|
7520
7523
|
*
|
|
7521
7524
|
* Registered callbacks (all prefixed with `__pl_` for internal SDK use):
|
|
7522
|
-
* - `__pl_storage_normalize`: (rawStorage) => { storage, data }
|
|
7523
7525
|
* - `__pl_storage_applyUpdate`: (currentStorageJson, payload) => updatedStorageJson
|
|
7524
|
-
* - `
|
|
7526
|
+
* - `__pl_storage_debugView`: (rawStorage) => JSON string with storage debug view
|
|
7525
7527
|
* - `__pl_storage_migrate`: (currentStorageJson) => MigrationResult
|
|
7526
7528
|
* - `__pl_args_derive`: (storageJson) => ArgsDeriveResult
|
|
7527
7529
|
* - `__pl_prerunArgs_derive`: (storageJson) => ArgsDeriveResult
|
|
@@ -7605,31 +7607,28 @@
|
|
|
7605
7607
|
// =============================================================================
|
|
7606
7608
|
// Auto-register internal callbacks when module is loaded in VM
|
|
7607
7609
|
// =============================================================================
|
|
7608
|
-
// Register normalize callback
|
|
7609
|
-
tryRegisterCallback('__pl_storage_normalize', (rawStorage) => {
|
|
7610
|
-
return normalizeStorage(rawStorage);
|
|
7611
|
-
});
|
|
7612
7610
|
// Register apply update callback (requires existing storage)
|
|
7613
7611
|
tryRegisterCallback('__pl_storage_applyUpdate', (currentStorageJson, payload) => {
|
|
7614
7612
|
return applyStorageUpdate(currentStorageJson, payload);
|
|
7615
7613
|
});
|
|
7616
7614
|
/**
|
|
7617
|
-
* Gets storage
|
|
7618
|
-
* Returns structured info about the storage state.
|
|
7615
|
+
* Gets storage debug view from raw storage data.
|
|
7616
|
+
* Returns structured debug info about the storage state.
|
|
7619
7617
|
*
|
|
7620
7618
|
* @param rawStorage - Raw data from blockStorage field (may be JSON string or object)
|
|
7621
|
-
* @returns JSON string with storage
|
|
7619
|
+
* @returns JSON string with storage debug view
|
|
7622
7620
|
*/
|
|
7623
|
-
function
|
|
7621
|
+
function getStorageDebugView(rawStorage) {
|
|
7624
7622
|
const { storage } = normalizeStorage(rawStorage);
|
|
7625
|
-
const
|
|
7623
|
+
const debugView = {
|
|
7626
7624
|
dataVersion: storage.__dataVersion,
|
|
7625
|
+
data: storage.__data,
|
|
7627
7626
|
};
|
|
7628
|
-
return
|
|
7627
|
+
return stringifyJson(debugView);
|
|
7629
7628
|
}
|
|
7630
|
-
// Register
|
|
7631
|
-
tryRegisterCallback('
|
|
7632
|
-
return
|
|
7629
|
+
// Register debug view callback
|
|
7630
|
+
tryRegisterCallback('__pl_storage_debugView', (rawStorage) => {
|
|
7631
|
+
return getStorageDebugView(rawStorage);
|
|
7633
7632
|
});
|
|
7634
7633
|
/**
|
|
7635
7634
|
* Runs storage migration using the DataModel's upgrade callback.
|