@milaboratories/milaboratories.monetization-test.model 1.0.48 → 1.0.50

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.monetization-test.model@1.0.48 build /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/model
3
+ > @milaboratories/milaboratories.monetization-test.model@1.0.50 build /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/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 2s
10
+ created dist, dist in 4.4s
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 1.3s
15
+ created dist in 4.3s
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.monetization-test.model@1.0.48 lint /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/model
3
+ > @milaboratories/milaboratories.monetization-test.model@1.0.50 lint /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/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.monetization-test.model@1.0.48 type-check /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/model
3
+ > @milaboratories/milaboratories.monetization-test.model@1.0.50 type-check /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/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.monetization-test.model
2
2
 
3
+ ## 1.0.50
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [43b4247]
8
+ - @platforma-sdk/model@1.53.0
9
+
10
+ ## 1.0.49
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [48e8984]
15
+ - @platforma-sdk/model@1.52.7
16
+
3
17
  ## 1.0.48
4
18
 
5
19
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -4698,6 +4698,9 @@
4698
4698
  var canonicalizeExports = requireCanonicalize();
4699
4699
  var canonicalize = /*@__PURE__*/getDefaultExportFromCjs(canonicalizeExports);
4700
4700
 
4701
+ function stringifyJson(value) {
4702
+ return JSON.stringify(value);
4703
+ }
4701
4704
  function canonicalizeJson(value) {
4702
4705
  return canonicalize(value);
4703
4706
  }
@@ -4767,6 +4770,9 @@
4767
4770
  Table: {
4768
4771
  OrderPriority: 'pl7.app/table/orderPriority'},
4769
4772
  Trace: 'pl7.app/trace',
4773
+ VDJ: {
4774
+ IsAssemblingFeature: 'pl7.app/vdj/isAssemblingFeature',
4775
+ },
4770
4776
  };
4771
4777
  const ValueTypeSchema = z.enum(['Int', 'Long', 'Float', 'Double', 'String']);
4772
4778
  const AnnotationJson = {
@@ -4796,6 +4802,7 @@
4796
4802
  [Annotation.Sequence.IsAnnotation]: z.boolean(),
4797
4803
  [Annotation.Table.OrderPriority]: z.number(),
4798
4804
  [Annotation.Trace]: z.record(z.string(), z.unknown()),
4805
+ [Annotation.VDJ.IsAssemblingFeature]: z.boolean(),
4799
4806
  };
4800
4807
  /// Helper function for reading plain annotation values
4801
4808
  function readAnnotation(spec, key) {
@@ -7478,7 +7485,7 @@
7478
7485
  }
7479
7486
  }
7480
7487
 
7481
- var version = "1.52.3";
7488
+ var version = "1.53.0";
7482
7489
 
7483
7490
  const PlatformaSDKVersion = version;
7484
7491
 
@@ -7736,9 +7743,8 @@
7736
7743
  * directly - they only see `state`.
7737
7744
  *
7738
7745
  * Registered callbacks (all prefixed with `__pl_` for internal SDK use):
7739
- * - `__pl_storage_normalize`: (rawStorage) => { storage, data }
7740
7746
  * - `__pl_storage_applyUpdate`: (currentStorageJson, payload) => updatedStorageJson
7741
- * - `__pl_storage_getInfo`: (rawStorage) => JSON string with storage info
7747
+ * - `__pl_storage_debugView`: (rawStorage) => JSON string with storage debug view
7742
7748
  * - `__pl_storage_migrate`: (currentStorageJson) => MigrationResult
7743
7749
  * - `__pl_args_derive`: (storageJson) => ArgsDeriveResult
7744
7750
  * - `__pl_prerunArgs_derive`: (storageJson) => ArgsDeriveResult
@@ -7822,31 +7828,28 @@
7822
7828
  // =============================================================================
7823
7829
  // Auto-register internal callbacks when module is loaded in VM
7824
7830
  // =============================================================================
7825
- // Register normalize callback
7826
- tryRegisterCallback('__pl_storage_normalize', (rawStorage) => {
7827
- return normalizeStorage(rawStorage);
7828
- });
7829
7831
  // Register apply update callback (requires existing storage)
7830
7832
  tryRegisterCallback('__pl_storage_applyUpdate', (currentStorageJson, payload) => {
7831
7833
  return applyStorageUpdate(currentStorageJson, payload);
7832
7834
  });
7833
7835
  /**
7834
- * Gets storage info from raw storage data.
7835
- * Returns structured info about the storage state.
7836
+ * Gets storage debug view from raw storage data.
7837
+ * Returns structured debug info about the storage state.
7836
7838
  *
7837
7839
  * @param rawStorage - Raw data from blockStorage field (may be JSON string or object)
7838
- * @returns JSON string with storage info
7840
+ * @returns JSON string with storage debug view
7839
7841
  */
7840
- function getStorageInfo(rawStorage) {
7842
+ function getStorageDebugView(rawStorage) {
7841
7843
  const { storage } = normalizeStorage(rawStorage);
7842
- const info = {
7844
+ const debugView = {
7843
7845
  dataVersion: storage.__dataVersion,
7846
+ data: storage.__data,
7844
7847
  };
7845
- return JSON.stringify(info);
7848
+ return stringifyJson(debugView);
7846
7849
  }
7847
- // Register get info callback
7848
- tryRegisterCallback('__pl_storage_getInfo', (rawStorage) => {
7849
- return getStorageInfo(rawStorage);
7850
+ // Register debug view callback
7851
+ tryRegisterCallback('__pl_storage_debugView', (rawStorage) => {
7852
+ return getStorageDebugView(rawStorage);
7850
7853
  });
7851
7854
  /**
7852
7855
  * Runs storage migration using the DataModel's upgrade callback.