@milaboratories/milaboratories.monetization-test.model 1.0.6 → 1.0.7
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 +4 -8
- package/.turbo/turbo-type-check.log +2 -2
- package/CHANGELOG.md +7 -0
- package/dist/bundle.js +10 -20
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +8 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -5
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +2 -2
- package/src/index.ts +9 -4
- package/tsconfig.json +16 -11
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,20 +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.7 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
|
-
[
|
|
11
|
-
[unplugin:dts] Start generate declaration files...[39m[22m
|
|
12
|
-
[1m[36m[plugin unplugin-dts] [unplugin:dts] Declaration files built in 6143ms.
|
|
13
|
-
[39m[22m
|
|
14
|
-
[32mcreated [1mdist, dist[22m in [1m16.2s[22m[39m
|
|
10
|
+
[32mcreated [1mdist, dist[22m in [1m891ms[22m[39m
|
|
15
11
|
[36m
|
|
16
12
|
[1m./src/index.ts[22m → [1mdist[22m...[39m
|
|
17
13
|
[1m[33m(!) Circular dependency[39m[22m
|
|
18
14
|
../../../../sdk/model/dist/components/PFrameForGraphs.js -> ../../../../sdk/model/dist/components/PlDataTable.js -> ../../../../sdk/model/dist/components/PFrameForGraphs.js
|
|
19
|
-
[32mcreated [1mdist[22m in [
|
|
15
|
+
[32mcreated [1mdist[22m in [1m994ms[22m[39m
|
|
20
16
|
Build completed successfully
|
|
@@ -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.7 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
|
package/CHANGELOG.md
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -4565,14 +4565,6 @@
|
|
|
4565
4565
|
return JSON.parse(value);
|
|
4566
4566
|
}
|
|
4567
4567
|
|
|
4568
|
-
const ValueType = {
|
|
4569
|
-
Int: 'Int',
|
|
4570
|
-
Long: 'Long',
|
|
4571
|
-
Float: 'Float',
|
|
4572
|
-
Double: 'Double',
|
|
4573
|
-
String: 'String',
|
|
4574
|
-
Bytes: 'Bytes',
|
|
4575
|
-
};
|
|
4576
4568
|
function readMetadata(metadata, key) {
|
|
4577
4569
|
return metadata?.[key];
|
|
4578
4570
|
}
|
|
@@ -4598,13 +4590,6 @@
|
|
|
4598
4590
|
OrderPriority: 'pl7.app/table/orderPriority'},
|
|
4599
4591
|
Trace: 'pl7.app/trace',
|
|
4600
4592
|
};
|
|
4601
|
-
const AxisSpec = z.object({
|
|
4602
|
-
type: z.nativeEnum(ValueType),
|
|
4603
|
-
name: z.string(),
|
|
4604
|
-
domain: z.record(z.string(), z.string()).optional(),
|
|
4605
|
-
annotations: z.record(z.string(), z.string()).optional(),
|
|
4606
|
-
parentAxes: z.array(z.number()).optional(),
|
|
4607
|
-
}).passthrough();
|
|
4608
4593
|
({
|
|
4609
4594
|
[Annotation.DiscreteValues]: z.array(z.string()).or(z.array(z.number())),
|
|
4610
4595
|
[Annotation.Graph.IsVirtual]: z.boolean(),
|
|
@@ -4612,7 +4597,7 @@
|
|
|
4612
4597
|
[Annotation.IsLinkerColumn]: z.boolean(),
|
|
4613
4598
|
[Annotation.Max]: z.number(),
|
|
4614
4599
|
[Annotation.Min]: z.number(),
|
|
4615
|
-
[Annotation.Parents]: z.array(
|
|
4600
|
+
[Annotation.Parents]: z.array(z.string()),
|
|
4616
4601
|
[Annotation.Sequence.Annotation.Mapping]: z.record(z.string(), z.string()),
|
|
4617
4602
|
[Annotation.Sequence.IsAnnotation]: z.boolean(),
|
|
4618
4603
|
[Annotation.Table.OrderPriority]: z.number(),
|
|
@@ -6775,7 +6760,7 @@
|
|
|
6775
6760
|
}
|
|
6776
6761
|
}
|
|
6777
6762
|
|
|
6778
|
-
var version = "1.42.
|
|
6763
|
+
var version = "1.42.25";
|
|
6779
6764
|
|
|
6780
6765
|
const PlatformaSDKVersion = version;
|
|
6781
6766
|
|
|
@@ -7027,7 +7012,7 @@
|
|
|
7027
7012
|
const model = BlockModel.create()
|
|
7028
7013
|
.withArgs({
|
|
7029
7014
|
// a fake product key so our mnz client response with a fake response without changing prod db.
|
|
7030
|
-
productKey: "
|
|
7015
|
+
productKey: "PRODUCT:XTOKAYPLQDZWSPPUTFNHPAJQQZKKSPTCDOORHFJIOYICTRDA",
|
|
7031
7016
|
inputHandles: [],
|
|
7032
7017
|
shouldAddRunPerFile: false,
|
|
7033
7018
|
__mnzDate: new Date().toISOString(), // It's OK
|
|
@@ -7037,7 +7022,12 @@
|
|
|
7037
7022
|
return ctx.args.__mnzCanRun;
|
|
7038
7023
|
})
|
|
7039
7024
|
.output('__mnzInfo', (ctx) => ctx.prerun?.resolve('info')?.getDataAsJson())
|
|
7040
|
-
.output('
|
|
7025
|
+
.output('tokens', (ctx) => ctx.outputs?.resolve('token')?.listInputFields().map((field) => {
|
|
7026
|
+
return {
|
|
7027
|
+
name: field,
|
|
7028
|
+
value: ctx.outputs?.resolve('token', field)?.getDataAsString()
|
|
7029
|
+
};
|
|
7030
|
+
}))
|
|
7041
7031
|
.output('progresses', (ctx) => {
|
|
7042
7032
|
const m = ctx.prerun?.resolve('progresses');
|
|
7043
7033
|
const progresses = m?.mapFields((name, val) => [name, val?.getImportProgress()]);
|
|
@@ -7049,7 +7039,7 @@
|
|
|
7049
7039
|
return Object.fromEntries(progresses ?? []);
|
|
7050
7040
|
})
|
|
7051
7041
|
.sections((_) => [{ type: 'link', href: '/', label: 'Main' }])
|
|
7052
|
-
.done();
|
|
7042
|
+
.done(2);
|
|
7053
7043
|
|
|
7054
7044
|
exports.model = model;
|
|
7055
7045
|
|