@platforma-open/milaboratories.redefine-clonotypes.model 1.3.0 → 1.3.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/.turbo/turbo-build.log +3 -3
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/bundle.js +22 -3
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/label.cjs +16 -0
- package/dist/label.cjs.map +1 -0
- package/dist/label.d.ts +4 -0
- package/dist/label.d.ts.map +1 -0
- package/dist/label.js +14 -0
- package/dist/label.js.map +1 -0
- package/dist/model.json +1 -1
- package/package.json +4 -3
- package/src/index.ts +6 -2
- package/src/label.ts +15 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/redefine-clonotypes/redefine-clonotypes/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-open/milaboratories.redefine-clonotypes.model@1.3.
|
|
3
|
+
> @platforma-open/milaboratories.redefine-clonotypes.model@1.3.1 build /home/runner/work/redefine-clonotypes/redefine-clonotypes/model
|
|
4
4
|
> ts-builder build --target block-model && block-tools build-model
|
|
5
5
|
|
|
6
6
|
Building block-model project...
|
|
@@ -11,6 +11,6 @@ Building block-model project...
|
|
|
11
11
|
[36m
|
|
12
12
|
[1m./src/index.ts[22m → [1mdist[22m...[39m
|
|
13
13
|
[1m[33m(!) Circular dependency[39m[22m
|
|
14
|
-
../node_modules/.pnpm/@platforma-sdk+model@1.53.
|
|
15
|
-
[32mcreated [1mdist[22m in [1m2.
|
|
14
|
+
../node_modules/.pnpm/@platforma-sdk+model@1.53.3/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js -> ../node_modules/.pnpm/@platforma-sdk+model@1.53.3/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js -> ../node_modules/.pnpm/@platforma-sdk+model@1.53.3/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
|
|
15
|
+
[32mcreated [1mdist[22m in [1m2.1s[22m[39m
|
|
16
16
|
Build completed successfully
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/redefine-clonotypes/redefine-clonotypes/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-open/milaboratories.redefine-clonotypes.model@1.3.
|
|
3
|
+
> @platforma-open/milaboratories.redefine-clonotypes.model@1.3.1 lint /home/runner/work/redefine-clonotypes/redefine-clonotypes/model
|
|
4
4
|
> eslint .
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/redefine-clonotypes/redefine-clonotypes/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-open/milaboratories.redefine-clonotypes.model@1.3.
|
|
3
|
+
> @platforma-open/milaboratories.redefine-clonotypes.model@1.3.1 type-check /home/runner/work/redefine-clonotypes/redefine-clonotypes/model
|
|
4
4
|
> ts-builder types --target block-model
|
|
5
5
|
|
|
6
6
|
↳ tsc --noEmit --project ./tsconfig.json --customConditions ,
|
package/CHANGELOG.md
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -7512,7 +7512,7 @@
|
|
|
7512
7512
|
}
|
|
7513
7513
|
}
|
|
7514
7514
|
|
|
7515
|
-
var version = "1.53.
|
|
7515
|
+
var version = "1.53.3";
|
|
7516
7516
|
|
|
7517
7517
|
const PlatformaSDKVersion = version;
|
|
7518
7518
|
|
|
@@ -8095,9 +8095,27 @@
|
|
|
8095
8095
|
errors: z.lazy(() => ErrorShape.array()).optional(),
|
|
8096
8096
|
});
|
|
8097
8097
|
|
|
8098
|
+
var titles = {
|
|
8099
|
+
main: "Main"};
|
|
8100
|
+
var strings = {
|
|
8101
|
+
titles: titles
|
|
8102
|
+
};
|
|
8103
|
+
|
|
8104
|
+
function getDefaultBlockLabel(data) {
|
|
8105
|
+
const parts = [];
|
|
8106
|
+
if (data.clonotypeDefinitionLabels.length > 0) {
|
|
8107
|
+
// Join labels with dash, removing unnecessary words like "InFrame"
|
|
8108
|
+
const cleanLabels = data.clonotypeDefinitionLabels
|
|
8109
|
+
.map((label) => label.replace('InFrame', '').trim())
|
|
8110
|
+
.filter(Boolean);
|
|
8111
|
+
parts.push(cleanLabels.join('-'));
|
|
8112
|
+
}
|
|
8113
|
+
return parts.filter(Boolean).join(' ') || 'Select Clonotype Definition';
|
|
8114
|
+
}
|
|
8115
|
+
|
|
8098
8116
|
const model = BlockModel.create()
|
|
8099
8117
|
.withArgs({
|
|
8100
|
-
defaultBlockLabel:
|
|
8118
|
+
defaultBlockLabel: getDefaultBlockLabel({ clonotypeDefinitionLabels: [] }),
|
|
8101
8119
|
customBlockLabel: '',
|
|
8102
8120
|
clonotypeDefinition: [],
|
|
8103
8121
|
})
|
|
@@ -8266,9 +8284,10 @@
|
|
|
8266
8284
|
.output('isRunning', (ctx) => ctx.outputs?.getIsReadyOrError() === false)
|
|
8267
8285
|
.title(() => 'Redefine Clonotypes')
|
|
8268
8286
|
.subtitle((ctx) => ctx.args.customBlockLabel || ctx.args.defaultBlockLabel)
|
|
8269
|
-
.sections((_ctx) => [{ type: 'link', href: '/', label:
|
|
8287
|
+
.sections((_ctx) => [{ type: 'link', href: '/', label: strings.titles.main }])
|
|
8270
8288
|
.done(2);
|
|
8271
8289
|
|
|
8290
|
+
exports.getDefaultBlockLabel = getDefaultBlockLabel;
|
|
8272
8291
|
exports.model = model;
|
|
8273
8292
|
|
|
8274
8293
|
}));
|