@milaboratories/milaboratories.ui-examples.model 1.4.1 → 1.4.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.ui-examples.model@1.4.1 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.4.3 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
  
9
9
  ./src/index.ts → dist, dist...
10
- created dist, dist in 4.3s
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 4s
15
+ created dist in 5s
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.ui-examples.model@1.4.1 lint /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.4.3 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.1 type-check /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.4.3 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.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [43b4247]
8
+ - @platforma-sdk/model@1.53.0
9
+
10
+ ## 1.4.2
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [48e8984]
15
+ - @platforma-sdk/model@1.52.7
16
+
3
17
  ## 1.4.1
4
18
 
5
19
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -4784,6 +4784,9 @@
4784
4784
  Visibility: 'pl7.app/table/visibility',
4785
4785
  },
4786
4786
  Trace: 'pl7.app/trace',
4787
+ VDJ: {
4788
+ IsAssemblingFeature: 'pl7.app/vdj/isAssemblingFeature',
4789
+ },
4787
4790
  };
4788
4791
  const ValueTypeSchema = z.enum(['Int', 'Long', 'Float', 'Double', 'String']);
4789
4792
  const AnnotationJson = {
@@ -4813,6 +4816,7 @@
4813
4816
  [Annotation.Sequence.IsAnnotation]: z.boolean(),
4814
4817
  [Annotation.Table.OrderPriority]: z.number(),
4815
4818
  [Annotation.Trace]: z.record(z.string(), z.unknown()),
4819
+ [Annotation.VDJ.IsAssemblingFeature]: z.boolean(),
4816
4820
  };
4817
4821
  /// Helper function for reading plain annotation values
4818
4822
  function readAnnotation(spec, key) {
@@ -7498,7 +7502,7 @@
7498
7502
  }
7499
7503
  }
7500
7504
 
7501
- var version = "1.52.3";
7505
+ var version = "1.53.0";
7502
7506
 
7503
7507
  const PlatformaSDKVersion = version;
7504
7508
 
@@ -7756,9 +7760,8 @@
7756
7760
  * directly - they only see `state`.
7757
7761
  *
7758
7762
  * Registered callbacks (all prefixed with `__pl_` for internal SDK use):
7759
- * - `__pl_storage_normalize`: (rawStorage) => { storage, data }
7760
7763
  * - `__pl_storage_applyUpdate`: (currentStorageJson, payload) => updatedStorageJson
7761
- * - `__pl_storage_getInfo`: (rawStorage) => JSON string with storage info
7764
+ * - `__pl_storage_debugView`: (rawStorage) => JSON string with storage debug view
7762
7765
  * - `__pl_storage_migrate`: (currentStorageJson) => MigrationResult
7763
7766
  * - `__pl_args_derive`: (storageJson) => ArgsDeriveResult
7764
7767
  * - `__pl_prerunArgs_derive`: (storageJson) => ArgsDeriveResult
@@ -7842,31 +7845,28 @@
7842
7845
  // =============================================================================
7843
7846
  // Auto-register internal callbacks when module is loaded in VM
7844
7847
  // =============================================================================
7845
- // Register normalize callback
7846
- tryRegisterCallback('__pl_storage_normalize', (rawStorage) => {
7847
- return normalizeStorage(rawStorage);
7848
- });
7849
7848
  // Register apply update callback (requires existing storage)
7850
7849
  tryRegisterCallback('__pl_storage_applyUpdate', (currentStorageJson, payload) => {
7851
7850
  return applyStorageUpdate(currentStorageJson, payload);
7852
7851
  });
7853
7852
  /**
7854
- * Gets storage info from raw storage data.
7855
- * Returns structured info about the storage state.
7853
+ * Gets storage debug view from raw storage data.
7854
+ * Returns structured debug info about the storage state.
7856
7855
  *
7857
7856
  * @param rawStorage - Raw data from blockStorage field (may be JSON string or object)
7858
- * @returns JSON string with storage info
7857
+ * @returns JSON string with storage debug view
7859
7858
  */
7860
- function getStorageInfo(rawStorage) {
7859
+ function getStorageDebugView(rawStorage) {
7861
7860
  const { storage } = normalizeStorage(rawStorage);
7862
- const info = {
7861
+ const debugView = {
7863
7862
  dataVersion: storage.__dataVersion,
7863
+ data: storage.__data,
7864
7864
  };
7865
- return JSON.stringify(info);
7865
+ return stringifyJson(debugView);
7866
7866
  }
7867
- // Register get info callback
7868
- tryRegisterCallback('__pl_storage_getInfo', (rawStorage) => {
7869
- return getStorageInfo(rawStorage);
7867
+ // Register debug view callback
7868
+ tryRegisterCallback('__pl_storage_debugView', (rawStorage) => {
7869
+ return getStorageDebugView(rawStorage);
7870
7870
  });
7871
7871
  /**
7872
7872
  * Runs storage migration using the DataModel's upgrade callback.