@platforma-sdk/model 1.39.18 → 1.40.0

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/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const PlatformaSDKVersion = "1.39.18";
1
+ export declare const PlatformaSDKVersion = "1.40.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,YAAY,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/model",
3
- "version": "1.39.18",
3
+ "version": "1.40.0",
4
4
  "description": "Platforma.bio SDK / Block Model",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -31,9 +31,9 @@
31
31
  "jest": "^29.7.0",
32
32
  "@jest/globals": "^29.7.0",
33
33
  "ts-jest": "^29.2.6",
34
- "@milaboratories/build-configs": "1.0.4",
35
34
  "@platforma-sdk/eslint-config": "1.0.3",
36
- "@milaboratories/helpers": "^1.6.17"
35
+ "@milaboratories/helpers": "^1.6.17",
36
+ "@milaboratories/build-configs": "1.0.4"
37
37
  },
38
38
  "scripts": {
39
39
  "type-check": "node ./scripts/save-package-version.cjs && tsc --noEmit --composite false",
@@ -12,11 +12,27 @@ import { type PlSelectionModel } from './PlSelectionModel';
12
12
 
13
13
  export type PColumnPredicate = (column: PColumnIdAndSpec) => boolean;
14
14
 
15
- export type PlMultiSequenceAlignmentModel = {
16
- version?: number;
15
+ export interface PlMultiSequenceAlignmentSettings {
17
16
  sequenceColumnIds?: PObjectId[];
18
17
  labelColumnIds?: PTableColumnId[];
19
- };
18
+ colorScheme: PlMultiSequenceAlignmentColorSchemeOption;
19
+ widgets: ('consensus' | 'seqLogo' | 'legend')[];
20
+ alignmentParams: {
21
+ gpo: number;
22
+ gpe: number;
23
+ tgpe: number;
24
+ };
25
+ }
26
+
27
+ export interface PlMultiSequenceAlignmentModel
28
+ extends Partial<PlMultiSequenceAlignmentSettings> {
29
+ version?: number;
30
+ }
31
+
32
+ export type PlMultiSequenceAlignmentColorSchemeOption =
33
+ | { type: 'no-color' }
34
+ | { type: 'chemical-properties' }
35
+ | { type: 'markup'; columnId: PObjectId };
20
36
 
21
37
  export function createRowSelectionColumn({
22
38
  selection,