@platforma-open/milaboratories.repertoire-diversity-2.model 1.5.1 → 1.5.3
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 +12 -12
- package/CHANGELOG.md +15 -0
- package/dist/bundle.js +37 -39
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +5 -5
- package/src/index.ts +3 -2
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.repertoire-diversity-2.model",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "Block model",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@platforma-sdk/model": "^1.
|
|
11
|
-
"@milaboratories/graph-maker": "^1.1.
|
|
10
|
+
"@platforma-sdk/model": "^1.43.2",
|
|
11
|
+
"@milaboratories/graph-maker": "^1.1.158"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@platforma-sdk/block-tools": "^2.
|
|
14
|
+
"@platforma-sdk/block-tools": "^2.6.6",
|
|
15
15
|
"typescript": "~5.5.4",
|
|
16
16
|
"vite": "^6.2.2",
|
|
17
17
|
"tsup": "~8.3.5",
|
|
18
|
-
"@platforma-sdk/eslint-config": "^1.0
|
|
18
|
+
"@platforma-sdk/eslint-config": "^1.1.0"
|
|
19
19
|
},
|
|
20
20
|
"tsup": {
|
|
21
21
|
"entry": [
|
package/src/index.ts
CHANGED
|
@@ -98,7 +98,8 @@ export const model = BlockModel.create()
|
|
|
98
98
|
],
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
.argsValid((ctx) => ctx.args.abundanceRef !== undefined
|
|
101
|
+
.argsValid((ctx) => ctx.args.abundanceRef !== undefined
|
|
102
|
+
&& ctx.args.metrics.every((metric) => metric.type !== undefined))
|
|
102
103
|
|
|
103
104
|
.output('abundanceOptions', (ctx) =>
|
|
104
105
|
ctx.resultPool.getOptions([{
|
|
@@ -159,6 +160,6 @@ export const model = BlockModel.create()
|
|
|
159
160
|
{ type: 'link', href: '/diversityGraph', label: 'Diversity Graph' },
|
|
160
161
|
])
|
|
161
162
|
|
|
162
|
-
.done();
|
|
163
|
+
.done(2);
|
|
163
164
|
|
|
164
165
|
export type BlockOutputs = InferOutputsType<typeof model>;
|