@milaboratories/milaboratories.monetization-test.model 1.0.41 → 1.0.42

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.41 build /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/model
3
+ > @milaboratories/milaboratories.monetization-test.model@1.0.42 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 4.5s
10
+ created dist, dist in 3.5s
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 5.2s
15
+ created dist in 5.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.monetization-test.model@1.0.41 lint /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/model
3
+ > @milaboratories/milaboratories.monetization-test.model@1.0.42 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.41 type-check /home/runner/_work/platforma/platforma/etc/blocks/monetization-test/model
3
+ > @milaboratories/milaboratories.monetization-test.model@1.0.42 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,12 @@
1
1
  # @milaboratories/milaboratories.monetization-test.model
2
2
 
3
+ ## 1.0.42
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [fc75a16]
8
+ - @platforma-sdk/model@1.50.0
9
+
3
10
  ## 1.0.41
4
11
 
5
12
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -7358,7 +7358,7 @@
7358
7358
  }
7359
7359
  }
7360
7360
 
7361
- var version = "1.49.0";
7361
+ var version = "1.50.0";
7362
7362
 
7363
7363
  const PlatformaSDKVersion = version;
7364
7364
 
@@ -7429,6 +7429,14 @@
7429
7429
  retentiveOutput(key, rf) {
7430
7430
  return this.output(key, rf, { retentive: true });
7431
7431
  }
7432
+ /** Shortcut for {@link output} with withStatus flag set to true. */
7433
+ outputWithStatus(key, rf) {
7434
+ return this.output(key, rf, { withStatus: true });
7435
+ }
7436
+ /** Shortcut for {@link output} with retentive and withStatus flags set to true. */
7437
+ retentiveOutputWithStatus(key, rf) {
7438
+ return this.output(key, rf, { retentive: true, withStatus: true });
7439
+ }
7432
7440
  argsValid(cfgOrRf) {
7433
7441
  if (typeof cfgOrRf === 'function') {
7434
7442
  tryRegisterCallback('inputsValid', () => cfgOrRf(new RenderCtx()));
@@ -7585,7 +7593,15 @@
7585
7593
  return { config };
7586
7594
  // normal operation inside the UI
7587
7595
  else
7588
- return getPlatformaInstance({ sdkVersion: PlatformaSDKVersion, apiVersion: platformaApiVersion });
7596
+ return {
7597
+ ...getPlatformaInstance({ sdkVersion: PlatformaSDKVersion, apiVersion: platformaApiVersion }),
7598
+ blockModelInfo: {
7599
+ outputs: Object.fromEntries(Object.entries(this.config.outputs)
7600
+ .map(([key, value]) => [key, {
7601
+ withStatus: Boolean(isConfigLambda(value) && value.withStatus),
7602
+ }])),
7603
+ },
7604
+ };
7589
7605
  }
7590
7606
  }
7591
7607