@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.
- 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 +7 -0
- package/dist/bundle.js +18 -2
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +17 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +5 -5
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.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
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist, dist[22m...[39m
|
|
10
|
-
[32mcreated [1mdist, dist[22m in [
|
|
10
|
+
[32mcreated [1mdist, dist[22m in [1m3.5s[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 [1m5.
|
|
15
|
+
[32mcreated [1mdist[22m in [1m5.5s[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.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.
|
|
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
package/dist/bundle.js
CHANGED
|
@@ -7358,7 +7358,7 @@
|
|
|
7358
7358
|
}
|
|
7359
7359
|
}
|
|
7360
7360
|
|
|
7361
|
-
var version = "1.
|
|
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
|
|
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
|
|