@platforma-open/milaboratories.repertoire-diversity-2.model 1.5.0 → 1.5.2

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/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.repertoire-diversity-2.model",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
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.38.0",
11
- "@milaboratories/graph-maker": "^1.1.127"
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.5.57",
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.3"
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>;