@milaboratories/milaboratories.pool-explorer.model 1.1.1 → 1.1.3

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.
@@ -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.1 build /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
3
+ > @milaboratories/milaboratories.pool-explorer.model@1.1.3 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
  
9
9
  ./src/index.ts → dist, dist...
10
- created dist, dist in 1.7s
10
+ created dist, dist in 2.3s
11
11
  
12
12
  ./src/index.ts → dist...
13
13
  (!) Circular dependency
14
14
  ../../../../sdk/model/dist/components/PFrameForGraphs.js -> ../../../../sdk/model/dist/pframe_utils/columns.js -> ../../../../sdk/model/dist/components/PFrameForGraphs.js
15
- created dist in 4.1s
15
+ created dist in 3.6s
16
16
  Build completed successfully
@@ -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.1 lint /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
3
+ > @milaboratories/milaboratories.pool-explorer.model@1.1.3 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.1 type-check /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
3
+ > @milaboratories/milaboratories.pool-explorer.model@1.1.3 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.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [43b4247]
8
+ - @platforma-sdk/model@1.53.0
9
+
10
+ ## 1.1.2
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [48e8984]
15
+ - @platforma-sdk/model@1.52.7
16
+
3
17
  ## 1.1.1
4
18
 
5
19
  ### Patch 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
  }
@@ -4792,6 +4795,9 @@
4792
4795
  Table: {
4793
4796
  OrderPriority: 'pl7.app/table/orderPriority'},
4794
4797
  Trace: 'pl7.app/trace',
4798
+ VDJ: {
4799
+ IsAssemblingFeature: 'pl7.app/vdj/isAssemblingFeature',
4800
+ },
4795
4801
  };
4796
4802
  const ValueTypeSchema = z.enum(['Int', 'Long', 'Float', 'Double', 'String']);
4797
4803
  const AnnotationJson = {
@@ -4821,6 +4827,7 @@
4821
4827
  [Annotation.Sequence.IsAnnotation]: z.boolean(),
4822
4828
  [Annotation.Table.OrderPriority]: z.number(),
4823
4829
  [Annotation.Trace]: z.record(z.string(), z.unknown()),
4830
+ [Annotation.VDJ.IsAssemblingFeature]: z.boolean(),
4824
4831
  };
4825
4832
  /// Helper function for reading plain annotation values
4826
4833
  function readAnnotation(spec, key) {
@@ -7495,7 +7502,7 @@
7495
7502
  }
7496
7503
  }
7497
7504
 
7498
- var version = "1.52.3";
7505
+ var version = "1.53.0";
7499
7506
 
7500
7507
  const PlatformaSDKVersion = version;
7501
7508
 
@@ -7519,9 +7526,8 @@
7519
7526
  * directly - they only see `state`.
7520
7527
  *
7521
7528
  * Registered callbacks (all prefixed with `__pl_` for internal SDK use):
7522
- * - `__pl_storage_normalize`: (rawStorage) => { storage, data }
7523
7529
  * - `__pl_storage_applyUpdate`: (currentStorageJson, payload) => updatedStorageJson
7524
- * - `__pl_storage_getInfo`: (rawStorage) => JSON string with storage info
7530
+ * - `__pl_storage_debugView`: (rawStorage) => JSON string with storage debug view
7525
7531
  * - `__pl_storage_migrate`: (currentStorageJson) => MigrationResult
7526
7532
  * - `__pl_args_derive`: (storageJson) => ArgsDeriveResult
7527
7533
  * - `__pl_prerunArgs_derive`: (storageJson) => ArgsDeriveResult
@@ -7605,31 +7611,28 @@
7605
7611
  // =============================================================================
7606
7612
  // Auto-register internal callbacks when module is loaded in VM
7607
7613
  // =============================================================================
7608
- // Register normalize callback
7609
- tryRegisterCallback('__pl_storage_normalize', (rawStorage) => {
7610
- return normalizeStorage(rawStorage);
7611
- });
7612
7614
  // Register apply update callback (requires existing storage)
7613
7615
  tryRegisterCallback('__pl_storage_applyUpdate', (currentStorageJson, payload) => {
7614
7616
  return applyStorageUpdate(currentStorageJson, payload);
7615
7617
  });
7616
7618
  /**
7617
- * Gets storage info from raw storage data.
7618
- * Returns structured info about the storage state.
7619
+ * Gets storage debug view from raw storage data.
7620
+ * Returns structured debug info about the storage state.
7619
7621
  *
7620
7622
  * @param rawStorage - Raw data from blockStorage field (may be JSON string or object)
7621
- * @returns JSON string with storage info
7623
+ * @returns JSON string with storage debug view
7622
7624
  */
7623
- function getStorageInfo(rawStorage) {
7625
+ function getStorageDebugView(rawStorage) {
7624
7626
  const { storage } = normalizeStorage(rawStorage);
7625
- const info = {
7627
+ const debugView = {
7626
7628
  dataVersion: storage.__dataVersion,
7629
+ data: storage.__data,
7627
7630
  };
7628
- return JSON.stringify(info);
7631
+ return stringifyJson(debugView);
7629
7632
  }
7630
- // Register get info callback
7631
- tryRegisterCallback('__pl_storage_getInfo', (rawStorage) => {
7632
- return getStorageInfo(rawStorage);
7633
+ // Register debug view callback
7634
+ tryRegisterCallback('__pl_storage_debugView', (rawStorage) => {
7635
+ return getStorageDebugView(rawStorage);
7633
7636
  });
7634
7637
  /**
7635
7638
  * Runs storage migration using the DataModel's upgrade callback.