@sjcrh/proteinpaint-types 2.141.0 → 2.143.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/aiProjectAdmin.js +2 -2
- package/dist/aiProjectSelectedWSImages.js +11 -0
- package/dist/brainImaging.js +2 -2
- package/dist/brainImagingSamples.js +2 -2
- package/dist/burden.js +2 -2
- package/dist/{chunk-W6NLM363.js → chunk-2744ACBX.js} +1 -1
- package/dist/{chunk-F5XGJIUS.js → chunk-2BCLGYAG.js} +1 -1
- package/dist/{chunk-L5DFYFWX.js → chunk-2C4X5B6N.js} +1 -1
- package/dist/{chunk-KEJROUTM.js → chunk-4DNCZQOB.js} +271 -265
- package/dist/{chunk-WCWYMCZD.js → chunk-4MLQS6N7.js} +235 -127
- package/dist/{chunk-I7FTK55B.js → chunk-4VEXL32Q.js} +560 -410
- package/dist/{chunk-K5POIB3P.js → chunk-4ZMQ5CTL.js} +1 -1
- package/dist/{chunk-QWAPDNYB.js → chunk-5KADNZH2.js} +578 -428
- package/dist/{chunk-I2KWGMNM.js → chunk-62XTWOVJ.js} +1 -1
- package/dist/{chunk-FXCCZCTN.js → chunk-6GKG55BT.js} +1 -1
- package/dist/{chunk-EOBFYFLQ.js → chunk-6SOULHNE.js} +692 -460
- package/dist/{chunk-77RH7U6G.js → chunk-74B7B2CV.js} +505 -391
- package/dist/{chunk-S6OBK4RE.js → chunk-7ICZFAGK.js} +252 -140
- package/dist/{chunk-J4QAF4EU.js → chunk-7MUISZHS.js} +1 -1
- package/dist/{chunk-SMS3Y2XZ.js → chunk-BCBSHTHS.js} +1 -1
- package/dist/{chunk-56JQGGZJ.js → chunk-C246BWQE.js} +812 -568
- package/dist/{chunk-3C26VWPU.js → chunk-CP26DR4V.js} +1 -1
- package/dist/{chunk-ERSTC6X6.js → chunk-CQXBQY2H.js} +1 -1
- package/dist/{chunk-CQDDRHRY.js → chunk-CT6IBFVP.js} +9 -4
- package/dist/{chunk-ZVTZJRGS.js → chunk-D7AKQKDG.js} +1 -1
- package/dist/{chunk-YGX6BZZY.js → chunk-EIJT53QB.js} +1 -1
- package/dist/{chunk-VKBTOKI2.js → chunk-EOKM345J.js} +1 -1
- package/dist/{chunk-XEQWKMZN.js → chunk-EYKGJDKU.js} +1 -1
- package/dist/{chunk-EH7VAE5S.js → chunk-FMC4G5BP.js} +1 -1
- package/dist/{chunk-KRYTJ2SL.js → chunk-FTPYJPUB.js} +1 -1
- package/dist/{chunk-VMQUAU5V.js → chunk-FXXE4S7M.js} +574 -424
- package/dist/{chunk-UYBVE3DL.js → chunk-GCAZSDCW.js} +574 -424
- package/dist/{chunk-5S3UWYSK.js → chunk-GTS2G4R4.js} +1 -1
- package/dist/{chunk-KFVYRW7D.js → chunk-HQV2A7JV.js} +1 -1
- package/dist/{chunk-TMQI47YT.js → chunk-J2Y7RIN2.js} +29 -25
- package/dist/{chunk-HNETXFC7.js → chunk-K4FSDTDW.js} +1 -1
- package/dist/{chunk-HIPWQ6AW.js → chunk-KCMPDEH7.js} +1 -1
- package/dist/chunk-KVE2NBC6.js +132 -0
- package/dist/{chunk-QX3MRSSK.js → chunk-LRVF7U64.js} +1 -1
- package/dist/{chunk-5XCPOWFN.js → chunk-MHDQO7R5.js} +1 -1
- package/dist/{chunk-K4RV3N2T.js → chunk-MIOIOFBZ.js} +1 -1
- package/dist/{chunk-424IUJWR.js → chunk-MMFL6N5M.js} +237 -129
- package/dist/{chunk-LDQNJLYQ.js → chunk-N7C4SRFX.js} +1 -1
- package/dist/chunk-NO2EZKW4.js +291 -0
- package/dist/{chunk-HKGWC7OO.js → chunk-P25WDNMD.js} +1 -1
- package/dist/{chunk-FYRWYZEE.js → chunk-PPPSDO6G.js} +36 -40
- package/dist/{chunk-KVUJPR42.js → chunk-PTE2I7DF.js} +1 -1
- package/dist/{chunk-AASWRJMS.js → chunk-Q3HGHP3J.js} +1 -1
- package/dist/{chunk-WMI4VKU3.js → chunk-TCEHHLIZ.js} +206 -51
- package/dist/{chunk-T3GTEGQN.js → chunk-U3AOS5QJ.js} +235 -127
- package/dist/{chunk-X2CX5K24.js → chunk-U3BTVE5T.js} +1 -1
- package/dist/{chunk-HUMZDPUU.js → chunk-U4A647KI.js} +1 -1
- package/dist/{chunk-4GCROGGK.js → chunk-UBOVHONH.js} +1 -1
- package/dist/{chunk-GGZUN2GE.js → chunk-UGYLBYUU.js} +1 -1
- package/dist/{chunk-XJU4JALX.js → chunk-USAQULWA.js} +35 -31
- package/dist/{chunk-IVU6STSJ.js → chunk-X4JBWMXY.js} +1 -1
- package/dist/{chunk-LPBYQJG4.js → chunk-XIRCL7KT.js} +1 -1
- package/dist/{chunk-CNSSF43V.js → chunk-YNHC5SXO.js} +14 -14
- package/dist/{chunk-B43GFRT4.js → chunk-YPEFUAJW.js} +1 -1
- package/dist/{chunk-VMSVBNM6.js → chunk-YSTMGNYR.js} +1 -1
- package/dist/{chunk-XT2IWGYK.js → chunk-ZCV62ELK.js} +1 -1
- package/dist/{chunk-E5MPHTIA.js → chunk-ZIOJDN75.js} +1 -1
- package/dist/clearwsisession.js +1 -1
- package/dist/clearwsisessions.js +2 -2
- package/dist/correlationVolcano.js +2 -2
- package/dist/dataset.js +2 -2
- package/dist/deleteWSIAnnotation.js +11 -0
- package/dist/dsdata.js +2 -2
- package/dist/dzimages.js +2 -2
- package/dist/gdc.grin2.js +2 -2
- package/dist/gdc.maf.js +2 -2
- package/dist/gdc.mafBuild.js +2 -2
- package/dist/genelookup.js +2 -2
- package/dist/genesetEnrichment.js +2 -2
- package/dist/genesetOverrepresentation.js +2 -2
- package/dist/grin2.js +2 -2
- package/dist/healthcheck.js +2 -2
- package/dist/hicdata.js +2 -2
- package/dist/hicgenome.js +2 -2
- package/dist/hicstat.js +2 -2
- package/dist/img.js +2 -2
- package/dist/index.js +118 -102
- package/dist/isoformlst.js +2 -2
- package/dist/ntseq.js +2 -2
- package/dist/pdomain.js +2 -2
- package/dist/samplewsimages.js +2 -2
- package/dist/saveWSIAnnotation.js +11 -0
- package/dist/snp.js +2 -2
- package/dist/termdb.DE.js +2 -2
- package/dist/termdb.boxplot.js +2 -2
- package/dist/termdb.categories.js +2 -2
- package/dist/termdb.cluster.js +2 -2
- package/dist/termdb.cohort.summary.js +2 -2
- package/dist/termdb.cohorts.js +2 -2
- package/dist/termdb.descrstats.js +2 -2
- package/dist/termdb.filterTermValues.js +2 -2
- package/dist/termdb.numericcategories.js +2 -2
- package/dist/termdb.percentile.js +2 -2
- package/dist/termdb.profileFormScores.js +2 -2
- package/dist/termdb.profileScores.js +2 -2
- package/dist/termdb.rootterm.js +2 -2
- package/dist/termdb.sampleImages.js +2 -2
- package/dist/termdb.singleSampleMutation.js +2 -2
- package/dist/termdb.singlecellDEgenes.js +2 -2
- package/dist/termdb.singlecellData.js +2 -2
- package/dist/termdb.singlecellSamples.js +2 -2
- package/dist/termdb.termchildren.js +2 -2
- package/dist/termdb.termsbyids.js +2 -2
- package/dist/termdb.topMutatedGenes.js +2 -2
- package/dist/termdb.topTermsByType.js +2 -2
- package/dist/termdb.topVariablyExpressedGenes.js +2 -2
- package/dist/termdb.violin.js +2 -2
- package/dist/tileserver.js +2 -2
- package/dist/wsimages.js +2 -2
- package/dist/wsisamples.js +2 -2
- package/package.json +1 -1
- package/src/dataset.ts +19 -7
- package/src/index.ts +3 -1
- package/src/routes/aiProjectAdmin.ts +10 -8
- package/src/routes/aiProjectSelectedWSImages.ts +23 -0
- package/src/routes/deleteWSIAnnotation.ts +23 -0
- package/src/routes/grin2.ts +42 -0
- package/src/routes/samplewsimages.ts +5 -3
- package/src/routes/saveWSIAnnotation.ts +24 -0
- package/src/routes/termdb.boxplot.ts +23 -1
- package/src/routes/termdb.violin.ts +4 -2
- package/src/routes/wsimages.ts +2 -1
- package/src/termdb.matrix.ts +2 -0
- package/src/terms/categorical.ts +3 -2
- package/src/terms/condition.ts +25 -8
- package/src/terms/date.ts +7 -5
- package/src/terms/geneExpression.ts +22 -8
- package/src/terms/metaboliteIntensity.ts +13 -3
- package/src/terms/numeric.ts +6 -1
- package/src/terms/q.ts +60 -1
- package/src/terms/samplelst.ts +2 -2
- package/src/terms/singleCellCellType.ts +1 -1
- package/src/terms/snp.ts +2 -2
- package/src/terms/snps.ts +2 -2
- package/src/terms/ssGSEA.ts +4 -2
- package/src/terms/term.ts +2 -134
- package/src/terms/tw.ts +17 -2
- package/dist/sampleWsiAiApi.js +0 -11
- package/src/routes/sampleWsiAiApi.ts +0 -21
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__toESM,
|
|
3
3
|
require_lib
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YNHC5SXO.js";
|
|
5
5
|
|
|
6
6
|
// dist/termdb.violin.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
@@ -59,7 +59,7 @@ var validViolinRequest = (input) => {
|
|
|
59
59
|
const errors = [];
|
|
60
60
|
const __is = (input2) => {
|
|
61
61
|
const $join = import_typia.createValidate.join;
|
|
62
|
-
const $io0 = (input3) => "number" === typeof input3.axisHeight && (Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && "string" === typeof input3.datasymbol && "number" === typeof input3.devicePixelRatio && true && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "string" === typeof input3.genome && "boolean" === typeof input3.isKDE && ("horizontal" === input3.orientation || "vertical" === input3.orientation) && "number" === typeof input3.radius && "number" === typeof input3.rightMargin && true && "number" === typeof input3.strokeWidth && "number" === typeof input3.svgw && "number" === typeof input3.ticks && true && "string" === typeof input3.unit && true;
|
|
62
|
+
const $io0 = (input3) => "number" === typeof input3.axisHeight && (Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && "string" === typeof input3.datasymbol && "number" === typeof input3.devicePixelRatio && true && true && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "string" === typeof input3.genome && "boolean" === typeof input3.isKDE && ("horizontal" === input3.orientation || "vertical" === input3.orientation) && "number" === typeof input3.radius && "number" === typeof input3.rightMargin && true && "number" === typeof input3.strokeWidth && "number" === typeof input3.svgw && "number" === typeof input3.ticks && true && "string" === typeof input3.unit && true;
|
|
63
63
|
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
64
64
|
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
|
|
65
65
|
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
|
|
@@ -80,7 +80,7 @@ var validViolinRequest = (input) => {
|
|
|
80
80
|
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
81
81
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
82
82
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
83
|
-
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
83
|
+
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
84
84
|
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
85
85
|
const $io14 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
86
86
|
const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
@@ -93,25 +93,26 @@ var validViolinRequest = (input) => {
|
|
|
93
93
|
return "number" === typeof value;
|
|
94
94
|
return true;
|
|
95
95
|
});
|
|
96
|
-
const $io18 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
97
|
-
const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
98
|
-
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
96
|
+
const $io18 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
97
|
+
const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
98
|
+
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
99
99
|
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
100
|
-
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) &&
|
|
101
|
-
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
102
|
-
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
103
|
-
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
104
|
-
const $io26 = (input3) => "string" === typeof input3.
|
|
105
|
-
const $io27 = (input3) =>
|
|
106
|
-
const $io28 = (input3) =>
|
|
107
|
-
const $io29 = (input3) => "
|
|
108
|
-
const $io30 = (input3) =>
|
|
109
|
-
const $io31 = (input3) =>
|
|
110
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
111
|
-
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
112
|
-
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "
|
|
113
|
-
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
114
|
-
const $io36 = (input3) => "string" === typeof input3.
|
|
100
|
+
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
101
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
102
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
103
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
104
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
105
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
106
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
107
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
108
|
+
const $io30 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
109
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
110
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
111
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
112
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
113
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
114
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
115
|
+
const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
115
116
|
const $iu0 = (input3) => (() => {
|
|
116
117
|
if ("tvslst" === input3.type)
|
|
117
118
|
return $io1(input3);
|
|
@@ -135,9 +136,9 @@ var validViolinRequest = (input) => {
|
|
|
135
136
|
})();
|
|
136
137
|
const $iu3 = (input3) => (() => {
|
|
137
138
|
if ("gene" === input3.kind)
|
|
138
|
-
return $io33(input3);
|
|
139
|
-
if ("coord" === input3.kind)
|
|
140
139
|
return $io34(input3);
|
|
140
|
+
if ("coord" === input3.kind)
|
|
141
|
+
return $io35(input3);
|
|
141
142
|
return false;
|
|
142
143
|
})();
|
|
143
144
|
const $iu4 = (input3) => (() => {
|
|
@@ -146,25 +147,29 @@ var validViolinRequest = (input) => {
|
|
|
146
147
|
return (() => {
|
|
147
148
|
if ($io3(input3))
|
|
148
149
|
return $io3(input3);
|
|
149
|
-
if ($
|
|
150
|
-
return $
|
|
151
|
-
if ($
|
|
152
|
-
return $
|
|
150
|
+
if ($io28(input3))
|
|
151
|
+
return $io28(input3);
|
|
152
|
+
if ($io31(input3))
|
|
153
|
+
return $io31(input3);
|
|
153
154
|
return false;
|
|
154
155
|
})();
|
|
155
156
|
})();
|
|
156
157
|
const $iu5 = (input3) => (() => {
|
|
157
158
|
if ("integer" === input3.type || "float" === input3.type)
|
|
158
159
|
return $io13(input3);
|
|
159
|
-
if ("geneExpression" === input3.type)
|
|
160
|
-
return $io22(input3);
|
|
161
|
-
if ("date" === input3.type)
|
|
162
|
-
return $io24(input3);
|
|
163
160
|
if ("metaboliteIntensity" === input3.type)
|
|
164
|
-
return $
|
|
165
|
-
if ("
|
|
161
|
+
return $io24(input3);
|
|
162
|
+
if ("date" === input3.type)
|
|
166
163
|
return $io25(input3);
|
|
167
|
-
|
|
164
|
+
if ("ssGSEA" === input3.type)
|
|
165
|
+
return $io26(input3);
|
|
166
|
+
return (() => {
|
|
167
|
+
if ($io23(input3))
|
|
168
|
+
return $io23(input3);
|
|
169
|
+
if ($io22(input3))
|
|
170
|
+
return $io22(input3);
|
|
171
|
+
return false;
|
|
172
|
+
})();
|
|
168
173
|
})();
|
|
169
174
|
const $iu6 = (input3) => (() => {
|
|
170
175
|
if ("regular-bin" === input3.type)
|
|
@@ -189,9 +194,9 @@ var validViolinRequest = (input) => {
|
|
|
189
194
|
})();
|
|
190
195
|
const $iu9 = (input3) => (() => {
|
|
191
196
|
if ("gene" === input3.kind)
|
|
192
|
-
return $
|
|
197
|
+
return $io33(input3);
|
|
193
198
|
if ("coord" === input3.kind)
|
|
194
|
-
return $
|
|
199
|
+
return $io36(input3);
|
|
195
200
|
return false;
|
|
196
201
|
})();
|
|
197
202
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -224,7 +229,7 @@ var validViolinRequest = (input) => {
|
|
|
224
229
|
path: _path2 + ".devicePixelRatio",
|
|
225
230
|
expected: "number",
|
|
226
231
|
value: input3.devicePixelRatio
|
|
227
|
-
}), true, "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
232
|
+
}), true, true, "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
228
233
|
path: _path2 + ".dslabel",
|
|
229
234
|
expected: "string",
|
|
230
235
|
value: input3.dslabel
|
|
@@ -603,11 +608,11 @@ var validViolinRequest = (input) => {
|
|
|
603
608
|
value: input3.isnot
|
|
604
609
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
605
610
|
path: _path2 + ".term",
|
|
606
|
-
expected:
|
|
611
|
+
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
607
612
|
value: input3.term
|
|
608
613
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
609
614
|
path: _path2 + ".term",
|
|
610
|
-
expected:
|
|
615
|
+
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
611
616
|
value: input3.term
|
|
612
617
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
613
618
|
path: _path2 + ".ranges",
|
|
@@ -633,7 +638,7 @@ var validViolinRequest = (input) => {
|
|
|
633
638
|
path: _path2 + ".values[" + _index10 + "]",
|
|
634
639
|
expected: "__type.o3",
|
|
635
640
|
value: elem
|
|
636
|
-
})) && $
|
|
641
|
+
})) && $vo27(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
637
642
|
path: _path2 + ".values[" + _index10 + "]",
|
|
638
643
|
expected: "__type.o3",
|
|
639
644
|
value: elem
|
|
@@ -854,6 +859,10 @@ var validViolinRequest = (input) => {
|
|
|
854
859
|
path: _path2 + ".label",
|
|
855
860
|
expected: "(string | undefined)",
|
|
856
861
|
value: input3.label
|
|
862
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
863
|
+
path: _path2 + ".range",
|
|
864
|
+
expected: "(string | undefined)",
|
|
865
|
+
value: input3.range
|
|
857
866
|
})].every((flag) => flag);
|
|
858
867
|
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
859
868
|
path: _path2 + ".startunbounded",
|
|
@@ -883,6 +892,10 @@ var validViolinRequest = (input) => {
|
|
|
883
892
|
path: _path2 + ".label",
|
|
884
893
|
expected: "(string | undefined)",
|
|
885
894
|
value: input3.label
|
|
895
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
896
|
+
path: _path2 + ".range",
|
|
897
|
+
expected: "(string | undefined)",
|
|
898
|
+
value: input3.range
|
|
886
899
|
})].every((flag) => flag);
|
|
887
900
|
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
888
901
|
path: _path2 + ".start",
|
|
@@ -908,6 +921,10 @@ var validViolinRequest = (input) => {
|
|
|
908
921
|
path: _path2 + ".label",
|
|
909
922
|
expected: "(string | undefined)",
|
|
910
923
|
value: input3.label
|
|
924
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
925
|
+
path: _path2 + ".range",
|
|
926
|
+
expected: "(string | undefined)",
|
|
927
|
+
value: input3.range
|
|
911
928
|
})].every((flag) => flag);
|
|
912
929
|
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
913
930
|
path: _path2 + ".hiddenValues",
|
|
@@ -1044,10 +1061,6 @@ var validViolinRequest = (input) => {
|
|
|
1044
1061
|
path: _path2 + ".unit",
|
|
1045
1062
|
expected: "(string | undefined)",
|
|
1046
1063
|
value: input3.unit
|
|
1047
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1048
|
-
path: _path2 + ".gene",
|
|
1049
|
-
expected: "string",
|
|
1050
|
-
value: input3.gene
|
|
1051
1064
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1052
1065
|
path: _path2 + ".bins",
|
|
1053
1066
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1056,6 +1069,14 @@ var validViolinRequest = (input) => {
|
|
|
1056
1069
|
path: _path2 + ".bins",
|
|
1057
1070
|
expected: "(PresetNumericBins | undefined)",
|
|
1058
1071
|
value: input3.bins
|
|
1072
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
1073
|
+
path: _path2 + ".kind",
|
|
1074
|
+
expected: '("gene" | undefined)',
|
|
1075
|
+
value: input3.kind
|
|
1076
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1077
|
+
path: _path2 + ".gene",
|
|
1078
|
+
expected: "string",
|
|
1079
|
+
value: input3.gene
|
|
1059
1080
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1060
1081
|
path: _path2 + ".chr",
|
|
1061
1082
|
expected: "(string | undefined)",
|
|
@@ -1077,9 +1098,9 @@ var validViolinRequest = (input) => {
|
|
|
1077
1098
|
path: _path2 + ".name",
|
|
1078
1099
|
expected: "string",
|
|
1079
1100
|
value: input3.name
|
|
1080
|
-
}), "
|
|
1101
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
1081
1102
|
path: _path2 + ".type",
|
|
1082
|
-
expected: '"
|
|
1103
|
+
expected: '"geneExpression"',
|
|
1083
1104
|
value: input3.type
|
|
1084
1105
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1085
1106
|
path: _path2 + ".child_types",
|
|
@@ -1137,10 +1158,6 @@ var validViolinRequest = (input) => {
|
|
|
1137
1158
|
path: _path2 + ".unit",
|
|
1138
1159
|
expected: "(string | undefined)",
|
|
1139
1160
|
value: input3.unit
|
|
1140
|
-
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1141
|
-
path: _path2 + ".metabolite",
|
|
1142
|
-
expected: "string",
|
|
1143
|
-
value: input3.metabolite
|
|
1144
1161
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1145
1162
|
path: _path2 + ".bins",
|
|
1146
1163
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1149,6 +1166,26 @@ var validViolinRequest = (input) => {
|
|
|
1149
1166
|
path: _path2 + ".bins",
|
|
1150
1167
|
expected: "(PresetNumericBins | undefined)",
|
|
1151
1168
|
value: input3.bins
|
|
1169
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".kind",
|
|
1171
|
+
expected: '("coord" | undefined)',
|
|
1172
|
+
value: input3.kind
|
|
1173
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1174
|
+
path: _path2 + ".gene",
|
|
1175
|
+
expected: "(string | undefined)",
|
|
1176
|
+
value: input3.gene
|
|
1177
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1178
|
+
path: _path2 + ".chr",
|
|
1179
|
+
expected: "string",
|
|
1180
|
+
value: input3.chr
|
|
1181
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1182
|
+
path: _path2 + ".start",
|
|
1183
|
+
expected: "number",
|
|
1184
|
+
value: input3.start
|
|
1185
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1186
|
+
path: _path2 + ".stop",
|
|
1187
|
+
expected: "number",
|
|
1188
|
+
value: input3.stop
|
|
1152
1189
|
})].every((flag) => flag);
|
|
1153
1190
|
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1154
1191
|
path: _path2 + ".id",
|
|
@@ -1158,9 +1195,9 @@ var validViolinRequest = (input) => {
|
|
|
1158
1195
|
path: _path2 + ".name",
|
|
1159
1196
|
expected: "string",
|
|
1160
1197
|
value: input3.name
|
|
1161
|
-
}), "
|
|
1198
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1162
1199
|
path: _path2 + ".type",
|
|
1163
|
-
expected: '"
|
|
1200
|
+
expected: '"metaboliteIntensity"',
|
|
1164
1201
|
value: input3.type
|
|
1165
1202
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1166
1203
|
path: _path2 + ".child_types",
|
|
@@ -1239,9 +1276,9 @@ var validViolinRequest = (input) => {
|
|
|
1239
1276
|
path: _path2 + ".name",
|
|
1240
1277
|
expected: "string",
|
|
1241
1278
|
value: input3.name
|
|
1242
|
-
}), "
|
|
1279
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1243
1280
|
path: _path2 + ".type",
|
|
1244
|
-
expected: '"
|
|
1281
|
+
expected: '"date"',
|
|
1245
1282
|
value: input3.type
|
|
1246
1283
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1247
1284
|
path: _path2 + ".child_types",
|
|
@@ -1299,12 +1336,89 @@ var validViolinRequest = (input) => {
|
|
|
1299
1336
|
path: _path2 + ".unit",
|
|
1300
1337
|
expected: "(string | undefined)",
|
|
1301
1338
|
value: input3.unit
|
|
1339
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1340
|
+
path: _path2 + ".bins",
|
|
1341
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1342
|
+
value: input3.bins
|
|
1343
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1344
|
+
path: _path2 + ".bins",
|
|
1345
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1346
|
+
value: input3.bins
|
|
1347
|
+
})].every((flag) => flag);
|
|
1348
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1349
|
+
path: _path2 + ".id",
|
|
1350
|
+
expected: "string",
|
|
1351
|
+
value: input3.id
|
|
1352
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1353
|
+
path: _path2 + ".name",
|
|
1354
|
+
expected: "string",
|
|
1355
|
+
value: input3.name
|
|
1356
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1357
|
+
path: _path2 + ".type",
|
|
1358
|
+
expected: '"ssGSEA"',
|
|
1359
|
+
value: input3.type
|
|
1360
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1361
|
+
path: _path2 + ".child_types",
|
|
1362
|
+
expected: "(Array<string> | undefined)",
|
|
1363
|
+
value: input3.child_types
|
|
1364
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1365
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1366
|
+
expected: "string",
|
|
1367
|
+
value: elem
|
|
1368
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1369
|
+
path: _path2 + ".child_types",
|
|
1370
|
+
expected: "(Array<string> | undefined)",
|
|
1371
|
+
value: input3.child_types
|
|
1372
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1373
|
+
path: _path2 + ".hashtmldetail",
|
|
1374
|
+
expected: "(boolean | undefined)",
|
|
1375
|
+
value: input3.hashtmldetail
|
|
1376
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1377
|
+
path: _path2 + ".included_types",
|
|
1378
|
+
expected: "(Array<string> | undefined)",
|
|
1379
|
+
value: input3.included_types
|
|
1380
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1381
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1382
|
+
expected: "string",
|
|
1383
|
+
value: elem
|
|
1384
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1385
|
+
path: _path2 + ".included_types",
|
|
1386
|
+
expected: "(Array<string> | undefined)",
|
|
1387
|
+
value: input3.included_types
|
|
1388
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1389
|
+
path: _path2 + ".isleaf",
|
|
1390
|
+
expected: "(boolean | undefined)",
|
|
1391
|
+
value: input3.isleaf
|
|
1392
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1393
|
+
path: _path2 + ".values",
|
|
1394
|
+
expected: "(TermValues | undefined)",
|
|
1395
|
+
value: input3.values
|
|
1396
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1397
|
+
path: _path2 + ".values",
|
|
1398
|
+
expected: "(TermValues | undefined)",
|
|
1399
|
+
value: input3.values
|
|
1400
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1401
|
+
path: _path2 + ".skipValuesBuild",
|
|
1402
|
+
expected: "(boolean | undefined)",
|
|
1403
|
+
value: input3.skipValuesBuild
|
|
1404
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1405
|
+
path: _path2 + ".continuousColorScale",
|
|
1406
|
+
expected: "(__type.o2 | undefined)",
|
|
1407
|
+
value: input3.continuousColorScale
|
|
1408
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1409
|
+
path: _path2 + ".continuousColorScale",
|
|
1410
|
+
expected: "(__type.o2 | undefined)",
|
|
1411
|
+
value: input3.continuousColorScale
|
|
1412
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1413
|
+
path: _path2 + ".unit",
|
|
1414
|
+
expected: "(string | undefined)",
|
|
1415
|
+
value: input3.unit
|
|
1302
1416
|
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1303
1417
|
path: _path2 + ".genes",
|
|
1304
1418
|
expected: "(Array<string> | undefined)",
|
|
1305
1419
|
value: input3.genes
|
|
1306
|
-
})) && input3.genes.map((elem,
|
|
1307
|
-
path: _path2 + ".genes[" +
|
|
1420
|
+
})) && input3.genes.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1421
|
+
path: _path2 + ".genes[" + _index24 + "]",
|
|
1308
1422
|
expected: "string",
|
|
1309
1423
|
value: elem
|
|
1310
1424
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1320,7 +1434,7 @@ var validViolinRequest = (input) => {
|
|
|
1320
1434
|
expected: "(PresetNumericBins | undefined)",
|
|
1321
1435
|
value: input3.bins
|
|
1322
1436
|
})].every((flag) => flag);
|
|
1323
|
-
const $
|
|
1437
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1324
1438
|
path: _path2 + ".key",
|
|
1325
1439
|
expected: "string",
|
|
1326
1440
|
value: input3.key
|
|
@@ -1337,7 +1451,7 @@ var validViolinRequest = (input) => {
|
|
|
1337
1451
|
expected: "(string | undefined)",
|
|
1338
1452
|
value: input3.label
|
|
1339
1453
|
})].every((flag) => flag);
|
|
1340
|
-
const $
|
|
1454
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1341
1455
|
path: _path2 + ".join",
|
|
1342
1456
|
expected: "(string | undefined)",
|
|
1343
1457
|
value: input3.join
|
|
@@ -1349,7 +1463,7 @@ var validViolinRequest = (input) => {
|
|
|
1349
1463
|
path: _path2 + ".term",
|
|
1350
1464
|
expected: "ConditionTerm",
|
|
1351
1465
|
value: input3.term
|
|
1352
|
-
})) && $
|
|
1466
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1353
1467
|
path: _path2 + ".term",
|
|
1354
1468
|
expected: "ConditionTerm",
|
|
1355
1469
|
value: input3.term
|
|
@@ -1369,12 +1483,12 @@ var validViolinRequest = (input) => {
|
|
|
1369
1483
|
path: _path2 + ".grade_and_child",
|
|
1370
1484
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1371
1485
|
value: input3.grade_and_child
|
|
1372
|
-
})) && input3.grade_and_child.map((elem,
|
|
1373
|
-
path: _path2 + ".grade_and_child[" +
|
|
1486
|
+
})) && input3.grade_and_child.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1487
|
+
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1374
1488
|
expected: "GradeAndChildEntry",
|
|
1375
1489
|
value: elem
|
|
1376
|
-
})) && $
|
|
1377
|
-
path: _path2 + ".grade_and_child[" +
|
|
1490
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1491
|
+
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1378
1492
|
expected: "GradeAndChildEntry",
|
|
1379
1493
|
value: elem
|
|
1380
1494
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1382,7 +1496,7 @@ var validViolinRequest = (input) => {
|
|
|
1382
1496
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1383
1497
|
value: input3.grade_and_child
|
|
1384
1498
|
})].every((flag) => flag);
|
|
1385
|
-
const $
|
|
1499
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1386
1500
|
path: _path2 + ".id",
|
|
1387
1501
|
expected: "string",
|
|
1388
1502
|
value: input3.id
|
|
@@ -1398,8 +1512,8 @@ var validViolinRequest = (input) => {
|
|
|
1398
1512
|
path: _path2 + ".child_types",
|
|
1399
1513
|
expected: "(Array<string> | undefined)",
|
|
1400
1514
|
value: input3.child_types
|
|
1401
|
-
})) && input3.child_types.map((elem,
|
|
1402
|
-
path: _path2 + ".child_types[" +
|
|
1515
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1516
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1403
1517
|
expected: "string",
|
|
1404
1518
|
value: elem
|
|
1405
1519
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1414,8 +1528,8 @@ var validViolinRequest = (input) => {
|
|
|
1414
1528
|
path: _path2 + ".included_types",
|
|
1415
1529
|
expected: "(Array<string> | undefined)",
|
|
1416
1530
|
value: input3.included_types
|
|
1417
|
-
})) && input3.included_types.map((elem,
|
|
1418
|
-
path: _path2 + ".included_types[" +
|
|
1531
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1532
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1419
1533
|
expected: "string",
|
|
1420
1534
|
value: elem
|
|
1421
1535
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1439,7 +1553,7 @@ var validViolinRequest = (input) => {
|
|
|
1439
1553
|
expected: "(boolean | undefined)",
|
|
1440
1554
|
value: input3.skipValuesBuild
|
|
1441
1555
|
})].every((flag) => flag);
|
|
1442
|
-
const $
|
|
1556
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1443
1557
|
path: _path2 + ".grade",
|
|
1444
1558
|
expected: "number",
|
|
1445
1559
|
value: input3.grade
|
|
@@ -1456,7 +1570,7 @@ var validViolinRequest = (input) => {
|
|
|
1456
1570
|
expected: "string",
|
|
1457
1571
|
value: input3.child_label
|
|
1458
1572
|
})].every((flag) => flag);
|
|
1459
|
-
const $
|
|
1573
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1460
1574
|
path: _path2 + ".join",
|
|
1461
1575
|
expected: "(string | undefined)",
|
|
1462
1576
|
value: input3.join
|
|
@@ -1468,7 +1582,7 @@ var validViolinRequest = (input) => {
|
|
|
1468
1582
|
path: _path2 + ".term",
|
|
1469
1583
|
expected: "DtTerm",
|
|
1470
1584
|
value: input3.term
|
|
1471
|
-
})) && $
|
|
1585
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1472
1586
|
path: _path2 + ".term",
|
|
1473
1587
|
expected: "DtTerm",
|
|
1474
1588
|
value: input3.term
|
|
@@ -1476,12 +1590,12 @@ var validViolinRequest = (input) => {
|
|
|
1476
1590
|
path: _path2 + ".values",
|
|
1477
1591
|
expected: "Array<__type>.o2",
|
|
1478
1592
|
value: input3.values
|
|
1479
|
-
})) && input3.values.map((elem,
|
|
1480
|
-
path: _path2 + ".values[" +
|
|
1593
|
+
})) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1594
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
1481
1595
|
expected: "__type.o4",
|
|
1482
1596
|
value: elem
|
|
1483
|
-
})) && $
|
|
1484
|
-
path: _path2 + ".values[" +
|
|
1597
|
+
})) && $vo37(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1598
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
1485
1599
|
expected: "__type.o4",
|
|
1486
1600
|
value: elem
|
|
1487
1601
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1497,7 +1611,7 @@ var validViolinRequest = (input) => {
|
|
|
1497
1611
|
expected: "(boolean | undefined)",
|
|
1498
1612
|
value: input3.excludeGeneName
|
|
1499
1613
|
})].every((flag) => flag);
|
|
1500
|
-
const $
|
|
1614
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1501
1615
|
path: _path2 + ".id",
|
|
1502
1616
|
expected: "string",
|
|
1503
1617
|
value: input3.id
|
|
@@ -1546,7 +1660,7 @@ var validViolinRequest = (input) => {
|
|
|
1546
1660
|
expected: "TermValues",
|
|
1547
1661
|
value: input3.values
|
|
1548
1662
|
})].every((flag) => flag);
|
|
1549
|
-
const $
|
|
1663
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1550
1664
|
path: _path2 + ".id",
|
|
1551
1665
|
expected: "string",
|
|
1552
1666
|
value: input3.id
|
|
@@ -1562,8 +1676,8 @@ var validViolinRequest = (input) => {
|
|
|
1562
1676
|
path: _path2 + ".child_types",
|
|
1563
1677
|
expected: "(Array<string> | undefined)",
|
|
1564
1678
|
value: input3.child_types
|
|
1565
|
-
})) && input3.child_types.map((elem,
|
|
1566
|
-
path: _path2 + ".child_types[" +
|
|
1679
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1680
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
1567
1681
|
expected: "string",
|
|
1568
1682
|
value: elem
|
|
1569
1683
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1578,8 +1692,8 @@ var validViolinRequest = (input) => {
|
|
|
1578
1692
|
path: _path2 + ".included_types",
|
|
1579
1693
|
expected: "(Array<string> | undefined)",
|
|
1580
1694
|
value: input3.included_types
|
|
1581
|
-
})) && input3.included_types.map((elem,
|
|
1582
|
-
path: _path2 + ".included_types[" +
|
|
1695
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1696
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
1583
1697
|
expected: "string",
|
|
1584
1698
|
value: elem
|
|
1585
1699
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1626,12 +1740,12 @@ var validViolinRequest = (input) => {
|
|
|
1626
1740
|
path: _path2 + ".genes",
|
|
1627
1741
|
expected: "Array<GvGeneTerm>",
|
|
1628
1742
|
value: input3.genes
|
|
1629
|
-
})) && input3.genes.map((elem,
|
|
1630
|
-
path: _path2 + ".genes[" +
|
|
1743
|
+
})) && input3.genes.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1744
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
1631
1745
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1632
1746
|
value: elem
|
|
1633
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1634
|
-
path: _path2 + ".genes[" +
|
|
1747
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1748
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
1635
1749
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1636
1750
|
value: elem
|
|
1637
1751
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1650,12 +1764,12 @@ var validViolinRequest = (input) => {
|
|
|
1650
1764
|
path: _path2 + ".childTerms",
|
|
1651
1765
|
expected: "(Array<DtTerm> | undefined)",
|
|
1652
1766
|
value: input3.childTerms
|
|
1653
|
-
})) && input3.childTerms.map((elem,
|
|
1654
|
-
path: _path2 + ".childTerms[" +
|
|
1767
|
+
})) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1768
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
1655
1769
|
expected: "DtTerm",
|
|
1656
1770
|
value: elem
|
|
1657
|
-
})) && $
|
|
1658
|
-
path: _path2 + ".childTerms[" +
|
|
1771
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1772
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
1659
1773
|
expected: "DtTerm",
|
|
1660
1774
|
value: elem
|
|
1661
1775
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1663,7 +1777,7 @@ var validViolinRequest = (input) => {
|
|
|
1663
1777
|
expected: "(Array<DtTerm> | undefined)",
|
|
1664
1778
|
value: input3.childTerms
|
|
1665
1779
|
})].every((flag) => flag);
|
|
1666
|
-
const $
|
|
1780
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1667
1781
|
path: _path2 + ".id",
|
|
1668
1782
|
expected: "string",
|
|
1669
1783
|
value: input3.id
|
|
@@ -1679,8 +1793,8 @@ var validViolinRequest = (input) => {
|
|
|
1679
1793
|
path: _path2 + ".child_types",
|
|
1680
1794
|
expected: "(Array<string> | undefined)",
|
|
1681
1795
|
value: input3.child_types
|
|
1682
|
-
})) && input3.child_types.map((elem,
|
|
1683
|
-
path: _path2 + ".child_types[" +
|
|
1796
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1797
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
1684
1798
|
expected: "string",
|
|
1685
1799
|
value: elem
|
|
1686
1800
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1695,8 +1809,8 @@ var validViolinRequest = (input) => {
|
|
|
1695
1809
|
path: _path2 + ".included_types",
|
|
1696
1810
|
expected: "(Array<string> | undefined)",
|
|
1697
1811
|
value: input3.included_types
|
|
1698
|
-
})) && input3.included_types.map((elem,
|
|
1699
|
-
path: _path2 + ".included_types[" +
|
|
1812
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1813
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
1700
1814
|
expected: "string",
|
|
1701
1815
|
value: elem
|
|
1702
1816
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1740,7 +1854,7 @@ var validViolinRequest = (input) => {
|
|
|
1740
1854
|
expected: "(number | undefined)",
|
|
1741
1855
|
value: input3.stop
|
|
1742
1856
|
})].every((flag) => flag);
|
|
1743
|
-
const $
|
|
1857
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1744
1858
|
path: _path2 + ".id",
|
|
1745
1859
|
expected: "string",
|
|
1746
1860
|
value: input3.id
|
|
@@ -1756,8 +1870,8 @@ var validViolinRequest = (input) => {
|
|
|
1756
1870
|
path: _path2 + ".child_types",
|
|
1757
1871
|
expected: "(Array<string> | undefined)",
|
|
1758
1872
|
value: input3.child_types
|
|
1759
|
-
})) && input3.child_types.map((elem,
|
|
1760
|
-
path: _path2 + ".child_types[" +
|
|
1873
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1874
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
1761
1875
|
expected: "string",
|
|
1762
1876
|
value: elem
|
|
1763
1877
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1772,8 +1886,8 @@ var validViolinRequest = (input) => {
|
|
|
1772
1886
|
path: _path2 + ".included_types",
|
|
1773
1887
|
expected: "(Array<string> | undefined)",
|
|
1774
1888
|
value: input3.included_types
|
|
1775
|
-
})) && input3.included_types.map((elem,
|
|
1776
|
-
path: _path2 + ".included_types[" +
|
|
1889
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1890
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
1777
1891
|
expected: "string",
|
|
1778
1892
|
value: elem
|
|
1779
1893
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1813,7 +1927,7 @@ var validViolinRequest = (input) => {
|
|
|
1813
1927
|
expected: "number",
|
|
1814
1928
|
value: input3.stop
|
|
1815
1929
|
})].every((flag) => flag);
|
|
1816
|
-
const $
|
|
1930
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1817
1931
|
path: _path2 + ".id",
|
|
1818
1932
|
expected: "string",
|
|
1819
1933
|
value: input3.id
|
|
@@ -1829,8 +1943,8 @@ var validViolinRequest = (input) => {
|
|
|
1829
1943
|
path: _path2 + ".child_types",
|
|
1830
1944
|
expected: "(Array<string> | undefined)",
|
|
1831
1945
|
value: input3.child_types
|
|
1832
|
-
})) && input3.child_types.map((elem,
|
|
1833
|
-
path: _path2 + ".child_types[" +
|
|
1946
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1947
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
1834
1948
|
expected: "string",
|
|
1835
1949
|
value: elem
|
|
1836
1950
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1845,8 +1959,8 @@ var validViolinRequest = (input) => {
|
|
|
1845
1959
|
path: _path2 + ".included_types",
|
|
1846
1960
|
expected: "(Array<string> | undefined)",
|
|
1847
1961
|
value: input3.included_types
|
|
1848
|
-
})) && input3.included_types.map((elem,
|
|
1849
|
-
path: _path2 + ".included_types[" +
|
|
1962
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1963
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
1850
1964
|
expected: "string",
|
|
1851
1965
|
value: elem
|
|
1852
1966
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1889,12 +2003,12 @@ var validViolinRequest = (input) => {
|
|
|
1889
2003
|
path: _path2 + ".genes",
|
|
1890
2004
|
expected: "Array<GvGeneTerm>",
|
|
1891
2005
|
value: input3.genes
|
|
1892
|
-
})) && input3.genes.map((elem,
|
|
1893
|
-
path: _path2 + ".genes[" +
|
|
2006
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2007
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
1894
2008
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1895
2009
|
value: elem
|
|
1896
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1897
|
-
path: _path2 + ".genes[" +
|
|
2010
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2011
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
1898
2012
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1899
2013
|
value: elem
|
|
1900
2014
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1913,12 +2027,12 @@ var validViolinRequest = (input) => {
|
|
|
1913
2027
|
path: _path2 + ".childTerms",
|
|
1914
2028
|
expected: "(Array<DtTerm> | undefined)",
|
|
1915
2029
|
value: input3.childTerms
|
|
1916
|
-
})) && input3.childTerms.map((elem,
|
|
1917
|
-
path: _path2 + ".childTerms[" +
|
|
2030
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2031
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
1918
2032
|
expected: "DtTerm",
|
|
1919
2033
|
value: elem
|
|
1920
|
-
})) && $
|
|
1921
|
-
path: _path2 + ".childTerms[" +
|
|
2034
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2035
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
1922
2036
|
expected: "DtTerm",
|
|
1923
2037
|
value: elem
|
|
1924
2038
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1926,7 +2040,7 @@ var validViolinRequest = (input) => {
|
|
|
1926
2040
|
expected: "(Array<DtTerm> | undefined)",
|
|
1927
2041
|
value: input3.childTerms
|
|
1928
2042
|
})].every((flag) => flag);
|
|
1929
|
-
const $
|
|
2043
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1930
2044
|
path: _path2 + ".key",
|
|
1931
2045
|
expected: "string",
|
|
1932
2046
|
value: input3.key
|
|
@@ -1970,9 +2084,9 @@ var validViolinRequest = (input) => {
|
|
|
1970
2084
|
})();
|
|
1971
2085
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1972
2086
|
if ("gene" === input3.kind)
|
|
1973
|
-
return $vo33(input3, _path2, _exceptionable2);
|
|
1974
|
-
if ("coord" === input3.kind)
|
|
1975
2087
|
return $vo34(input3, _path2, _exceptionable2);
|
|
2088
|
+
if ("coord" === input3.kind)
|
|
2089
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1976
2090
|
return $report(_exceptionable2, {
|
|
1977
2091
|
path: _path2,
|
|
1978
2092
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1982,24 +2096,18 @@ var validViolinRequest = (input) => {
|
|
|
1982
2096
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1983
2097
|
if (void 0 !== input3.ranges)
|
|
1984
2098
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1985
|
-
return $vo3(input3, _path2, false) || $
|
|
2099
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1986
2100
|
})();
|
|
1987
2101
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1988
2102
|
if ("integer" === input3.type || "float" === input3.type)
|
|
1989
2103
|
return $vo13(input3, _path2, _exceptionable2);
|
|
1990
|
-
if ("geneExpression" === input3.type)
|
|
1991
|
-
return $vo22(input3, _path2, _exceptionable2);
|
|
1992
|
-
if ("date" === input3.type)
|
|
1993
|
-
return $vo24(input3, _path2, _exceptionable2);
|
|
1994
2104
|
if ("metaboliteIntensity" === input3.type)
|
|
1995
|
-
return $
|
|
1996
|
-
if ("
|
|
2105
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
2106
|
+
if ("date" === input3.type)
|
|
1997
2107
|
return $vo25(input3, _path2, _exceptionable2);
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
value: input3
|
|
2002
|
-
});
|
|
2108
|
+
if ("ssGSEA" === input3.type)
|
|
2109
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
2110
|
+
return $vo23(input3, _path2, false) || $vo22(input3, _path2, false);
|
|
2003
2111
|
})();
|
|
2004
2112
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2005
2113
|
if ("regular-bin" === input3.type)
|
|
@@ -2036,9 +2144,9 @@ var validViolinRequest = (input) => {
|
|
|
2036
2144
|
})();
|
|
2037
2145
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2038
2146
|
if ("gene" === input3.kind)
|
|
2039
|
-
return $
|
|
2147
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
2040
2148
|
if ("coord" === input3.kind)
|
|
2041
|
-
return $
|
|
2149
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
2042
2150
|
return $report(_exceptionable2, {
|
|
2043
2151
|
path: _path2,
|
|
2044
2152
|
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|