@platforma-open/milaboratories.immune-assay-data.model 1.4.2 → 1.4.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 +13 -28
- package/.turbo/turbo-lint.log +5 -0
- package/.turbo/turbo-type-check.log +6 -0
- package/CHANGELOG.md +6 -0
- package/dist/bundle.js +7902 -6585
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +81 -80
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +29 -21
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +81 -80
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +24 -28
- package/src/index.ts +1 -1
- package/tsconfig.json +2 -14
- package/vitest.config.mts +7 -0
- package/dist/index.d.cts +0 -54
- package/vite.config.mts +0 -20
package/package.json
CHANGED
|
@@ -1,40 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.immune-assay-data.model",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "Block model",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/index.
|
|
7
|
-
"
|
|
8
|
-
"
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js",
|
|
13
|
+
"sources": "./src/index.ts"
|
|
14
|
+
},
|
|
15
|
+
"./dist/model.json": "./dist/model.json"
|
|
16
|
+
},
|
|
9
17
|
"dependencies": {
|
|
10
|
-
"@platforma-sdk/model": "
|
|
11
|
-
"@milaboratories/graph-maker": "
|
|
18
|
+
"@platforma-sdk/model": "1.51.2",
|
|
19
|
+
"@milaboratories/graph-maker": "1.1.202"
|
|
12
20
|
},
|
|
13
21
|
"devDependencies": {
|
|
14
|
-
"@
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"tsup": {
|
|
22
|
-
"entry": [
|
|
23
|
-
"src/index.ts"
|
|
24
|
-
],
|
|
25
|
-
"splitting": false,
|
|
26
|
-
"treeshake": true,
|
|
27
|
-
"clean": true,
|
|
28
|
-
"format": [
|
|
29
|
-
"cjs",
|
|
30
|
-
"esm"
|
|
31
|
-
],
|
|
32
|
-
"dts": true,
|
|
33
|
-
"minify": false,
|
|
34
|
-
"sourcemap": true
|
|
22
|
+
"@milaboratories/ts-builder": "1.2.1",
|
|
23
|
+
"@milaboratories/ts-configs": "1.2.0",
|
|
24
|
+
"@platforma-sdk/block-tools": "2.6.29",
|
|
25
|
+
"@platforma-sdk/eslint-config": "1.2.0",
|
|
26
|
+
"eslint": "^9.25.1",
|
|
27
|
+
"typescript": "~5.6.3",
|
|
28
|
+
"vitest": "^4.0.7"
|
|
35
29
|
},
|
|
36
30
|
"scripts": {
|
|
37
|
-
"build": "
|
|
31
|
+
"build": "ts-builder build --target block-model && block-tools build-model",
|
|
32
|
+
"watch": "ts-builder build --target block-model --watch",
|
|
33
|
+
"type-check": "ts-builder types --target block-model",
|
|
38
34
|
"lint": "eslint ."
|
|
39
35
|
}
|
|
40
36
|
}
|
package/src/index.ts
CHANGED
package/tsconfig.json
CHANGED
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"moduleResolution": "node",
|
|
6
|
-
"esModuleInterop": true,
|
|
7
|
-
"strict": true,
|
|
8
|
-
"outDir": "./dist",
|
|
9
|
-
"rootDir": "./src",
|
|
10
|
-
"sourceMap": true,
|
|
11
|
-
"declaration": true
|
|
12
|
-
},
|
|
13
|
-
"types": [],
|
|
14
|
-
"include": ["src/**/*"],
|
|
15
|
-
"exclude": ["node_modules", "dist"]
|
|
2
|
+
"extends": "@milaboratories/ts-configs/block/model",
|
|
3
|
+
"include": ["src/**/*"]
|
|
16
4
|
}
|
package/dist/index.d.cts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as _platforma_sdk_model from '@platforma-sdk/model';
|
|
2
|
-
import { PlRef, SUniversalPColumnId, ImportFileHandle, PlDataTableStateV2, InferOutputsType } from '@platforma-sdk/model';
|
|
3
|
-
|
|
4
|
-
type Settings = {
|
|
5
|
-
coverageThreshold: number;
|
|
6
|
-
identity: number;
|
|
7
|
-
similarityType: 'sequence-identity' | 'alignment-score';
|
|
8
|
-
};
|
|
9
|
-
type ImportColumnInfo = {
|
|
10
|
-
header: string;
|
|
11
|
-
type: 'Int' | 'Double' | 'String';
|
|
12
|
-
/** If this column is a sequence column, the type of the sequence */
|
|
13
|
-
sequenceType?: 'nucleotide' | 'aminoacid';
|
|
14
|
-
};
|
|
15
|
-
type BlockArgs = {
|
|
16
|
-
datasetRef?: PlRef;
|
|
17
|
-
targetRef?: SUniversalPColumnId;
|
|
18
|
-
fileHandle?: ImportFileHandle;
|
|
19
|
-
fileExtension?: string;
|
|
20
|
-
importColumns?: ImportColumnInfo[];
|
|
21
|
-
sequenceColumnHeader?: string;
|
|
22
|
-
selectedColumns: string[];
|
|
23
|
-
settings: Settings;
|
|
24
|
-
};
|
|
25
|
-
type UiState = {
|
|
26
|
-
title: string;
|
|
27
|
-
fileImportError?: string;
|
|
28
|
-
tableState: PlDataTableStateV2;
|
|
29
|
-
};
|
|
30
|
-
declare const model: _platforma_sdk_model.PlatformaV2<BlockArgs, {
|
|
31
|
-
datasetOptions: _platforma_sdk_model.ValueOrErrors<{
|
|
32
|
-
readonly ref: {
|
|
33
|
-
readonly __isRef: true;
|
|
34
|
-
readonly blockId: string;
|
|
35
|
-
readonly name: string;
|
|
36
|
-
readonly requireEnrichments?: true | undefined;
|
|
37
|
-
};
|
|
38
|
-
readonly label: string;
|
|
39
|
-
}[]>;
|
|
40
|
-
targetOptions: _platforma_sdk_model.ValueOrErrors<{
|
|
41
|
-
label: string;
|
|
42
|
-
value: SUniversalPColumnId;
|
|
43
|
-
}[] | undefined>;
|
|
44
|
-
dataImportHandle: _platforma_sdk_model.ValueOrErrors<_platforma_sdk_model.ImportProgress | undefined>;
|
|
45
|
-
table: _platforma_sdk_model.ValueOrErrors<{
|
|
46
|
-
sourceId: string | null;
|
|
47
|
-
fullTableHandle: _platforma_sdk_model.PTableHandle;
|
|
48
|
-
visibleTableHandle: _platforma_sdk_model.PTableHandle;
|
|
49
|
-
} | undefined>;
|
|
50
|
-
isRunning: _platforma_sdk_model.ValueOrErrors<boolean>;
|
|
51
|
-
}, UiState, "/">;
|
|
52
|
-
type BlockOutputs = InferOutputsType<typeof model>;
|
|
53
|
-
|
|
54
|
-
export { type BlockArgs, type BlockOutputs, type ImportColumnInfo, type UiState, model };
|
package/vite.config.mts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite';
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
build: {
|
|
5
|
-
emptyOutDir: false,
|
|
6
|
-
lib: {
|
|
7
|
-
entry: 'src/index.ts',
|
|
8
|
-
name: 'model',
|
|
9
|
-
fileName: (format) => `my-lib.${format}.js`
|
|
10
|
-
},
|
|
11
|
-
minify: false,
|
|
12
|
-
sourcemap: true,
|
|
13
|
-
rollupOptions: {
|
|
14
|
-
output: {
|
|
15
|
-
format: 'iife',
|
|
16
|
-
entryFileNames: 'bundle.js'
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
});
|