@platforma-open/milaboratories.vj-usage.model 2.1.1 → 2.1.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 +10 -10
- package/CHANGELOG.md +15 -0
- package/dist/bundle.js +30 -35
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +5 -5
- package/src/index.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/vj-gene-usage/vj-gene-usage/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-open/milaboratories.vj-usage.model@2.1.
|
|
3
|
+
> @platforma-open/milaboratories.vj-usage.model@2.1.3 build /home/runner/work/vj-gene-usage/vj-gene-usage/model
|
|
4
4
|
> tsup && vite build && block-tools build-model
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[34mESM[39m Build start
|
|
14
14
|
[32mESM[39m [1mdist/index.js [22m[32m2.18 KB[39m
|
|
15
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m5.
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
15
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m5.02 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 117ms
|
|
17
17
|
[32mCJS[39m [1mdist/index.cjs [22m[32m2.19 KB[39m
|
|
18
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m5.
|
|
19
|
-
[32mCJS[39m ⚡️ Build success in
|
|
18
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m5.06 KB[39m
|
|
19
|
+
[32mCJS[39m ⚡️ Build success in 119ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 2256ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.92 KB[39m
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.92 KB[39m
|
|
24
24
|
[36mvite v6.2.6 [32mbuilding for production...[36m[39m
|
|
25
25
|
transforming...
|
|
26
|
-
[32m✓[39m
|
|
26
|
+
[32m✓[39m 69 modules transformed.
|
|
27
27
|
rendering chunks...
|
|
28
28
|
computing gzip size...
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m229.07 kB[22m[1m[22m[2m │ gzip: 43.40 kB[22m[2m │ map: 501.24 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m243.54 kB[22m[1m[22m[2m │ gzip: 44.11 kB[22m[2m │ map: 502.89 kB[22m
|
|
31
|
+
[32m✓ built in 787ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.vj-usage.model
|
|
2
2
|
|
|
3
|
+
## 2.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9a745e8: technical release
|
|
8
|
+
- 83edfdf: technical release
|
|
9
|
+
- 59cda2d: technical release
|
|
10
|
+
- 3385764: technical release
|
|
11
|
+
|
|
12
|
+
## 2.1.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 8498650: Full SDK and python update
|
|
17
|
+
|
|
3
18
|
## 2.1.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -3966,9 +3966,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3966
3966
|
});
|
|
3967
3967
|
z.object({
|
|
3968
3968
|
/** Included left border. */
|
|
3969
|
-
from: z.number(),
|
|
3969
|
+
from: z.number().min(0),
|
|
3970
3970
|
/** Excluded right border. */
|
|
3971
|
-
to: z.number()
|
|
3971
|
+
to: z.number().min(1)
|
|
3972
3972
|
});
|
|
3973
3973
|
function assertNever(x) {
|
|
3974
3974
|
throw new Error("Unexpected object: " + x);
|
|
@@ -4229,14 +4229,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4229
4229
|
function parseJson(value) {
|
|
4230
4230
|
return JSON.parse(value);
|
|
4231
4231
|
}
|
|
4232
|
-
const ValueType = {
|
|
4233
|
-
Int: "Int",
|
|
4234
|
-
Long: "Long",
|
|
4235
|
-
Float: "Float",
|
|
4236
|
-
Double: "Double",
|
|
4237
|
-
String: "String",
|
|
4238
|
-
Bytes: "Bytes"
|
|
4239
|
-
};
|
|
4240
4232
|
function readMetadata(metadata, key) {
|
|
4241
4233
|
return metadata == null ? void 0 : metadata[key];
|
|
4242
4234
|
}
|
|
@@ -4265,6 +4257,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4265
4257
|
IsVirtual: "pl7.app/graph/isVirtual"
|
|
4266
4258
|
},
|
|
4267
4259
|
HideDataFromUi: "pl7.app/hideDataFromUi",
|
|
4260
|
+
HideDataFromGraphs: "pl7.app/hideDataFromGraphs",
|
|
4268
4261
|
IsLinkerColumn: "pl7.app/isLinkerColumn",
|
|
4269
4262
|
Label: "pl7.app/label",
|
|
4270
4263
|
Max: "pl7.app/max",
|
|
@@ -4281,21 +4274,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4281
4274
|
},
|
|
4282
4275
|
Trace: "pl7.app/trace"
|
|
4283
4276
|
};
|
|
4284
|
-
const AxisSpec = z.object({
|
|
4285
|
-
type: z.nativeEnum(ValueType),
|
|
4286
|
-
name: z.string(),
|
|
4287
|
-
domain: z.record(z.string(), z.string()).optional(),
|
|
4288
|
-
annotations: z.record(z.string(), z.string()).optional(),
|
|
4289
|
-
parentAxes: z.array(z.number()).optional()
|
|
4290
|
-
}).passthrough();
|
|
4291
4277
|
const AnnotationJson = {
|
|
4292
4278
|
[Annotation.DiscreteValues]: z.array(z.string()).or(z.array(z.number())),
|
|
4293
4279
|
[Annotation.Graph.IsVirtual]: z.boolean(),
|
|
4294
4280
|
[Annotation.HideDataFromUi]: z.boolean(),
|
|
4281
|
+
[Annotation.HideDataFromGraphs]: z.boolean(),
|
|
4295
4282
|
[Annotation.IsLinkerColumn]: z.boolean(),
|
|
4296
4283
|
[Annotation.Max]: z.number(),
|
|
4297
4284
|
[Annotation.Min]: z.number(),
|
|
4298
|
-
[Annotation.Parents]: z.array(
|
|
4285
|
+
[Annotation.Parents]: z.array(z.string()),
|
|
4299
4286
|
[Annotation.Sequence.Annotation.Mapping]: z.record(z.string(), z.string()),
|
|
4300
4287
|
[Annotation.Sequence.IsAnnotation]: z.boolean(),
|
|
4301
4288
|
[Annotation.Table.OrderPriority]: z.number(),
|
|
@@ -4415,7 +4402,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4415
4402
|
if (axis.parentAxes) {
|
|
4416
4403
|
modifiedAxis.parentAxesSpec = axis.parentAxes.map((idx2) => modifiedAxes[idx2]);
|
|
4417
4404
|
} else {
|
|
4418
|
-
|
|
4405
|
+
const parents = parseParentsFromAnnotations(axis).map((name) => modifiedAxes.find((axis2) => axis2.name === name));
|
|
4406
|
+
modifiedAxis.parentAxesSpec = parents.some((p) => p === void 0) ? [] : parents;
|
|
4419
4407
|
(_a = modifiedAxis.annotations) == null ? true : delete _a[Annotation.Parents];
|
|
4420
4408
|
}
|
|
4421
4409
|
});
|
|
@@ -4484,6 +4472,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4484
4472
|
newId: entry.newId,
|
|
4485
4473
|
axisFilters: entry.axisFilters
|
|
4486
4474
|
};
|
|
4475
|
+
case "artificialColumn":
|
|
4476
|
+
return {
|
|
4477
|
+
type: "artificialColumn",
|
|
4478
|
+
column: cb(entry.column),
|
|
4479
|
+
newId: entry.newId,
|
|
4480
|
+
axesIndices: entry.axesIndices
|
|
4481
|
+
};
|
|
4487
4482
|
case "inlineColumn":
|
|
4488
4483
|
return entry;
|
|
4489
4484
|
case "inner":
|
|
@@ -4720,6 +4715,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4720
4715
|
case "slicedColumn":
|
|
4721
4716
|
columns.set(entry2.column.id, entry2.column);
|
|
4722
4717
|
return;
|
|
4718
|
+
case "artificialColumn":
|
|
4719
|
+
columns.set(entry2.column.id, entry2.column);
|
|
4720
|
+
return;
|
|
4723
4721
|
case "inlineColumn":
|
|
4724
4722
|
return;
|
|
4725
4723
|
case "full":
|
|
@@ -6521,7 +6519,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6521
6519
|
this.ctx.logError(msg);
|
|
6522
6520
|
}
|
|
6523
6521
|
}
|
|
6524
|
-
var version = "1.
|
|
6522
|
+
var version = "1.43.2";
|
|
6525
6523
|
const PlatformaSDKVersion = version;
|
|
6526
6524
|
function isConfigLambda(cfgOrFh) {
|
|
6527
6525
|
return cfgOrFh.__renderLambda === true;
|
|
@@ -6709,6 +6707,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6709
6707
|
function isLinkerColumn(column) {
|
|
6710
6708
|
return !!readAnnotationJson(column, Annotation.IsLinkerColumn);
|
|
6711
6709
|
}
|
|
6710
|
+
function isHiddenFromGraphColumn(column) {
|
|
6711
|
+
return !!readAnnotationJson(column, Annotation.HideDataFromGraphs);
|
|
6712
|
+
}
|
|
6712
6713
|
function getAvailableWithLinkersAxes(linkerColumns, blockAxes) {
|
|
6713
6714
|
const linkerMap = LinkerMap.fromColumns(linkerColumns.map(getColumnIdAndSpec));
|
|
6714
6715
|
const startKeys = [];
|
|
@@ -6853,14 +6854,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6853
6854
|
blockAxes.set(...item);
|
|
6854
6855
|
allAxes.set(...item);
|
|
6855
6856
|
}
|
|
6856
|
-
|
|
6857
|
+
let compatibleWithoutLabels = (columns.getColumns((spec) => !isHiddenFromGraphColumn(spec) && spec.axesSpec.some((axisSpec) => {
|
|
6857
6858
|
const axisId = getAxisId(axisSpec);
|
|
6858
|
-
|
|
6859
|
-
if (matchAxisId(getAxisId(selectorAxisSpec), axisId)) {
|
|
6860
|
-
return true;
|
|
6861
|
-
}
|
|
6862
|
-
}
|
|
6863
|
-
return false;
|
|
6859
|
+
return Array.from(blockAxes.values()).some((selectorAxisSpec) => matchAxisId(getAxisId(selectorAxisSpec), axisId));
|
|
6864
6860
|
}), { dontWaitAllData: true, overrideLabelAnnotation: false }) ?? []).filter((column) => !isLabelColumn(column.spec));
|
|
6865
6861
|
if (!allColumnsReady(compatibleWithoutLabels)) {
|
|
6866
6862
|
return void 0;
|
|
@@ -6871,14 +6867,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6871
6867
|
allAxes.set(canonicalizeJson(aid), spec);
|
|
6872
6868
|
}
|
|
6873
6869
|
}
|
|
6874
|
-
|
|
6870
|
+
compatibleWithoutLabels = (columns.getColumns((spec) => !isHiddenFromGraphColumn(spec) && spec.axesSpec.every((axisSpec) => {
|
|
6875
6871
|
const axisId = getAxisId(axisSpec);
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
return false;
|
|
6872
|
+
return Array.from(allAxes.values()).some((selectorAxisSpec) => matchAxisId(getAxisId(selectorAxisSpec), axisId));
|
|
6873
|
+
}), { dontWaitAllData: true, overrideLabelAnnotation: false }) ?? []).filter((column) => !isLabelColumn(column.spec));
|
|
6874
|
+
const compatibleLabels = (columns.getColumns((spec) => !isHiddenFromGraphColumn(spec) && spec.axesSpec.some((axisSpec) => {
|
|
6875
|
+
const axisId = getAxisId(axisSpec);
|
|
6876
|
+
return Array.from(allAxes.values()).some((selectorAxisSpec) => matchAxisId(getAxisId(selectorAxisSpec), axisId));
|
|
6882
6877
|
}), { dontWaitAllData: true, overrideLabelAnnotation: false }) ?? []).filter((column) => isLabelColumn(column.spec));
|
|
6883
6878
|
if (!allColumnsReady(compatibleLabels)) {
|
|
6884
6879
|
return void 0;
|
|
@@ -7030,7 +7025,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
7030
7025
|
{ type: "link", href: "/", label: "V Gene Usage" },
|
|
7031
7026
|
{ type: "link", href: "/jUsage", label: "J Gene Usage" },
|
|
7032
7027
|
{ type: "link", href: "/vjUsage", label: "V/J Gene Usage" }
|
|
7033
|
-
]).done();
|
|
7028
|
+
]).done(2);
|
|
7034
7029
|
exports2.model = model;
|
|
7035
7030
|
Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
|
|
7036
7031
|
});
|