@platforma-open/milaboratories.sequence-properties.model 1.2.0 → 1.2.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.sequence-properties.model",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Block model",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -14,14 +14,14 @@
14
14
  "./dist/*": "./dist/*"
15
15
  },
16
16
  "dependencies": {
17
- "@milaboratories/graph-maker": "1.3.3",
18
- "@milaboratories/helpers": "^1.14.1",
19
- "@platforma-sdk/model": "1.69.0"
17
+ "@milaboratories/graph-maker": "1.4.0",
18
+ "@milaboratories/helpers": "1.14.2",
19
+ "@platforma-sdk/model": "1.75.5"
20
20
  },
21
21
  "devDependencies": {
22
- "@milaboratories/ts-builder": "1.3.2",
22
+ "@milaboratories/ts-builder": "1.4.0",
23
23
  "@milaboratories/ts-configs": "1.2.3",
24
- "@platforma-sdk/block-tools": "2.7.19"
24
+ "@platforma-sdk/block-tools": "2.7.23"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@types/node": "*",
package/src/dataModel.ts CHANGED
@@ -3,13 +3,13 @@ import { createPlDataTableStateV2, DataModelBuilder } from "@platforma-sdk/model
3
3
  import type { BlockData, BlockDataV1 } from "./types";
4
4
 
5
5
  const DEFAULT_SCATTER_STATE: GraphMakerState = {
6
- title: "",
6
+ title: "Property Relationships",
7
7
  template: "dots",
8
8
  currentTab: null,
9
9
  };
10
10
 
11
11
  const DEFAULT_HISTOGRAM_STATE: GraphMakerState = {
12
- title: "",
12
+ title: "Property Distribution",
13
13
  template: "bins",
14
14
  currentTab: null,
15
15
  layersSettings: {
package/src/index.ts CHANGED
@@ -13,8 +13,9 @@ import {
13
13
  import { blockDataModel } from "./dataModel";
14
14
  import type { BlockArgs, WorkflowInfo } from "./types";
15
15
 
16
- export type { BlockArgs, BlockData, WorkflowInfo, WorkflowMode, WorkflowReceptor } from "./types";
16
+ export type * from "@milaboratories/helpers";
17
17
  export { blockDataModel } from "./dataModel";
18
+ export type { BlockArgs, BlockData, WorkflowInfo, WorkflowMode, WorkflowReceptor } from "./types";
18
19
 
19
20
  const inputAnchorSpecs = [
20
21
  // Peptide mode — universal naming
@@ -47,9 +48,7 @@ export const platforma = BlockModelV3.create(blockDataModel)
47
48
  inputAnchor: data.inputAnchor,
48
49
  };
49
50
  })
50
- .output("inputOptions", (ctx) =>
51
- ctx.resultPool.getOptions(inputAnchorSpecs, { refsWithEnrichments: true }),
52
- )
51
+ .output("inputOptions", (ctx) => ctx.resultPool.getOptions(inputAnchorSpecs))
53
52
  .output("inputSpec", (ctx) =>
54
53
  ctx.data.inputAnchor ? ctx.resultPool.getPColumnSpecByRef(ctx.data.inputAnchor) : undefined,
55
54
  )
@@ -189,9 +188,9 @@ export const platforma = BlockModelV3.create(blockDataModel)
189
188
  .title(() => "Sequence Properties")
190
189
  .subtitle((ctx) => ctx.data.defaultBlockLabel ?? "")
191
190
  .sections(() => [
192
- { type: "link" as const, href: "/" as const, label: "Main" },
193
- { type: "link" as const, href: "/scatter" as const, label: "Scatterplot" },
194
- { type: "link" as const, href: "/histogram" as const, label: "Histogram" },
191
+ { type: "link", href: "/", label: "Main" },
192
+ { type: "link", href: "/scatter", label: "Property Relationships" },
193
+ { type: "link", href: "/histogram", label: "Property Distribution" },
195
194
  ])
196
195
  .done();
197
196