@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.
- 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 +19 -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.monetization-test.model@1.0.
|
|
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
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist, dist[22m...[39m
|
|
10
|
-
[32mcreated [1mdist, dist[22m in [
|
|
10
|
+
[32mcreated [1mdist, dist[22m in [1m4.4s[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 [1m4.3s[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.monetization-test.model@1.0.
|
|
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.
|
|
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.
|
|
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
|
-
* - `
|
|
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
|
|
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
|
|
7840
|
+
* @returns JSON string with storage debug view
|
|
7839
7841
|
*/
|
|
7840
|
-
function
|
|
7842
|
+
function getStorageDebugView(rawStorage) {
|
|
7841
7843
|
const { storage } = normalizeStorage(rawStorage);
|
|
7842
|
-
const
|
|
7844
|
+
const debugView = {
|
|
7843
7845
|
dataVersion: storage.__dataVersion,
|
|
7846
|
+
data: storage.__data,
|
|
7844
7847
|
};
|
|
7845
|
-
return
|
|
7848
|
+
return stringifyJson(debugView);
|
|
7846
7849
|
}
|
|
7847
|
-
// Register
|
|
7848
|
-
tryRegisterCallback('
|
|
7849
|
-
return
|
|
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.
|