@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/brainImaging.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
@@ -22,7 +22,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
24
24
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.refKey && (void 0 === input3.l || "string" === typeof input3.l) && (void 0 === input3.f || "string" === typeof input3.f) && (void 0 === input3.t || "string" === typeof input3.t) && (Array.isArray(input3.selectedSampleFileNames) && input3.selectedSampleFileNames.every((elem) => "string" === typeof elem)) && (void 0 === input3.divideByTW || "object" === typeof input3.divideByTW && null !== input3.divideByTW && $io1(input3.divideByTW)) && (void 0 === input3.overlayTW || "object" === typeof input3.overlayTW && null !== input3.overlayTW && $io1(input3.overlayTW)) && (void 0 === input3.legendFilter || Array.isArray(input3.legendFilter) && input3.legendFilter.every((elem) => "string" === typeof elem));
|
|
25
|
-
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q &&
|
|
25
|
+
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && $iu4(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term));
|
|
26
26
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
27
27
|
const value = input3[key];
|
|
28
28
|
if (void 0 === value)
|
|
@@ -40,7 +40,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
40
40
|
return "number" === typeof value;
|
|
41
41
|
return true;
|
|
42
42
|
});
|
|
43
|
-
const $io5 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic ||
|
|
43
|
+
const $io5 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && "filter" === input3.type;
|
|
44
44
|
const $io6 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
45
45
|
const $io7 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io8(input3.customset));
|
|
46
46
|
const $io8 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
@@ -64,30 +64,31 @@ var validBrainImagingRequest = (input) => {
|
|
|
64
64
|
const $io17 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter));
|
|
65
65
|
const $io18 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)));
|
|
66
66
|
const $io19 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
67
|
-
const $io20 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu6(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 && $
|
|
67
|
+
const $io20 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu6(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 && $io34(elem)));
|
|
68
68
|
const $io21 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
|
|
69
69
|
const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
70
70
|
const $io23 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(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);
|
|
71
71
|
const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
72
|
-
const $io25 = (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);
|
|
73
|
-
const $io26 = (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);
|
|
74
|
-
const $io27 = (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);
|
|
72
|
+
const $io25 = (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);
|
|
73
|
+
const $io26 = (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);
|
|
74
|
+
const $io27 = (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);
|
|
75
75
|
const $io28 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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);
|
|
76
|
-
const $io29 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) &&
|
|
77
|
-
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
78
|
-
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
79
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
80
|
-
const $io33 = (input3) => "string" === typeof input3.
|
|
81
|
-
const $io34 = (input3) =>
|
|
82
|
-
const $io35 = (input3) =>
|
|
83
|
-
const $io36 = (input3) => "
|
|
84
|
-
const $io37 = (input3) =>
|
|
85
|
-
const $io38 = (input3) =>
|
|
86
|
-
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
87
|
-
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
88
|
-
const $io41 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "
|
|
89
|
-
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
90
|
-
const $io43 = (input3) => "string" === typeof input3.
|
|
76
|
+
const $io29 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(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);
|
|
77
|
+
const $io30 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(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;
|
|
78
|
+
const $io31 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(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 && $io23(input3.bins));
|
|
79
|
+
const $io32 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
|
|
80
|
+
const $io33 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(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 && $io23(input3.bins));
|
|
81
|
+
const $io34 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
82
|
+
const $io35 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io36(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 && $io37(elem)));
|
|
83
|
+
const $io36 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
84
|
+
const $io37 = (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;
|
|
85
|
+
const $io38 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io39(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io44(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
86
|
+
const $io39 = (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 && $iu10(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) && $io16(input3.values));
|
|
87
|
+
const $io40 = (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) && $io16(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 && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
88
|
+
const $io41 = (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) && $io16(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);
|
|
89
|
+
const $io42 = (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) && $io16(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;
|
|
90
|
+
const $io43 = (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) && $io16(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 && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
91
|
+
const $io44 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
91
92
|
const $iu0 = (input3) => (() => {
|
|
92
93
|
if ("string" === typeof input3.type)
|
|
93
94
|
return $io9(input3);
|
|
@@ -111,19 +112,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
111
112
|
})();
|
|
112
113
|
const $iu3 = (input3) => (() => {
|
|
113
114
|
if ("gene" === input3.kind)
|
|
114
|
-
return $io40(input3);
|
|
115
|
-
if ("coord" === input3.kind)
|
|
116
115
|
return $io41(input3);
|
|
116
|
+
if ("coord" === input3.kind)
|
|
117
|
+
return $io42(input3);
|
|
117
118
|
return false;
|
|
118
119
|
})();
|
|
119
120
|
const $iu4 = (input3) => (() => {
|
|
120
121
|
if ("values" === input3.type)
|
|
121
122
|
return $io3(input3);
|
|
123
|
+
if ("filter" === input3.type)
|
|
124
|
+
return $io5(input3);
|
|
122
125
|
if ("predefined-groupset" === input3.type)
|
|
123
126
|
return $io6(input3);
|
|
124
127
|
if ("custom-groupset" === input3.type)
|
|
125
128
|
return $io7(input3);
|
|
126
|
-
return
|
|
129
|
+
return false;
|
|
127
130
|
})();
|
|
128
131
|
const $iu5 = (input3) => (() => {
|
|
129
132
|
if (void 0 !== input3.ranges)
|
|
@@ -131,25 +134,29 @@ var validBrainImagingRequest = (input) => {
|
|
|
131
134
|
return (() => {
|
|
132
135
|
if ($io14(input3))
|
|
133
136
|
return $io14(input3);
|
|
134
|
-
if ($
|
|
135
|
-
return $
|
|
136
|
-
if ($
|
|
137
|
-
return $
|
|
137
|
+
if ($io35(input3))
|
|
138
|
+
return $io35(input3);
|
|
139
|
+
if ($io38(input3))
|
|
140
|
+
return $io38(input3);
|
|
138
141
|
return false;
|
|
139
142
|
})();
|
|
140
143
|
})();
|
|
141
144
|
const $iu6 = (input3) => (() => {
|
|
142
145
|
if ("integer" === input3.type || "float" === input3.type)
|
|
143
146
|
return $io21(input3);
|
|
144
|
-
if ("geneExpression" === input3.type)
|
|
145
|
-
return $io29(input3);
|
|
146
|
-
if ("date" === input3.type)
|
|
147
|
-
return $io31(input3);
|
|
148
147
|
if ("metaboliteIntensity" === input3.type)
|
|
149
|
-
return $
|
|
150
|
-
if ("
|
|
148
|
+
return $io31(input3);
|
|
149
|
+
if ("date" === input3.type)
|
|
151
150
|
return $io32(input3);
|
|
152
|
-
|
|
151
|
+
if ("ssGSEA" === input3.type)
|
|
152
|
+
return $io33(input3);
|
|
153
|
+
return (() => {
|
|
154
|
+
if ($io30(input3))
|
|
155
|
+
return $io30(input3);
|
|
156
|
+
if ($io29(input3))
|
|
157
|
+
return $io29(input3);
|
|
158
|
+
return false;
|
|
159
|
+
})();
|
|
153
160
|
})();
|
|
154
161
|
const $iu7 = (input3) => (() => {
|
|
155
162
|
if ("regular-bin" === input3.type)
|
|
@@ -174,9 +181,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
174
181
|
})();
|
|
175
182
|
const $iu10 = (input3) => (() => {
|
|
176
183
|
if ("gene" === input3.kind)
|
|
177
|
-
return $
|
|
184
|
+
return $io40(input3);
|
|
178
185
|
if ("coord" === input3.kind)
|
|
179
|
-
return $
|
|
186
|
+
return $io43(input3);
|
|
180
187
|
return false;
|
|
181
188
|
})();
|
|
182
189
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -278,7 +285,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
278
285
|
path: _path2 + ".type",
|
|
279
286
|
expected: '("CatTWCustomGS" | "CatTWPredefinedGS" | "CatTWValues")',
|
|
280
287
|
value: input3.type
|
|
281
|
-
}), ("object" === typeof input3.q && null !== input3.q
|
|
288
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
282
289
|
path: _path2 + ".q",
|
|
283
290
|
expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
284
291
|
value: input3.q
|
|
@@ -352,25 +359,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
352
359
|
path: _path2 + ".hiddenValues",
|
|
353
360
|
expected: "(HiddenValues | undefined)",
|
|
354
361
|
value: input3.hiddenValues
|
|
355
|
-
}), void 0 === input3.isAtomic ||
|
|
362
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
356
363
|
path: _path2 + ".isAtomic",
|
|
357
|
-
expected: "(
|
|
364
|
+
expected: "(true | undefined)",
|
|
358
365
|
value: input3.isAtomic
|
|
359
366
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
360
367
|
path: _path2 + ".name",
|
|
361
368
|
expected: "(string | undefined)",
|
|
362
369
|
value: input3.name
|
|
363
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
364
|
-
path: _path2 + ".mode",
|
|
365
|
-
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
366
|
-
value: input3.mode
|
|
367
370
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
368
371
|
path: _path2 + ".reuseId",
|
|
369
372
|
expected: "(string | undefined)",
|
|
370
373
|
value: input3.reuseId
|
|
371
|
-
}),
|
|
374
|
+
}), "filter" === input3.type || $report(_exceptionable2, {
|
|
372
375
|
path: _path2 + ".type",
|
|
373
|
-
expected: '
|
|
376
|
+
expected: '"filter"',
|
|
374
377
|
value: input3.type
|
|
375
378
|
})].every((flag) => flag);
|
|
376
379
|
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
@@ -790,11 +793,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
790
793
|
value: input3.isnot
|
|
791
794
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
792
795
|
path: _path2 + ".term",
|
|
793
|
-
expected:
|
|
796
|
+
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)',
|
|
794
797
|
value: input3.term
|
|
795
798
|
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
796
799
|
path: _path2 + ".term",
|
|
797
|
-
expected:
|
|
800
|
+
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)',
|
|
798
801
|
value: input3.term
|
|
799
802
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
800
803
|
path: _path2 + ".ranges",
|
|
@@ -820,7 +823,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
820
823
|
path: _path2 + ".values[" + _index12 + "]",
|
|
821
824
|
expected: "__type.o4",
|
|
822
825
|
value: elem
|
|
823
|
-
})) && $
|
|
826
|
+
})) && $vo34(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
824
827
|
path: _path2 + ".values[" + _index12 + "]",
|
|
825
828
|
expected: "__type.o4",
|
|
826
829
|
value: elem
|
|
@@ -1029,6 +1032,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1029
1032
|
path: _path2 + ".label",
|
|
1030
1033
|
expected: "(string | undefined)",
|
|
1031
1034
|
value: input3.label
|
|
1035
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
1036
|
+
path: _path2 + ".range",
|
|
1037
|
+
expected: "(string | undefined)",
|
|
1038
|
+
value: input3.range
|
|
1032
1039
|
})].every((flag) => flag);
|
|
1033
1040
|
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1034
1041
|
path: _path2 + ".startunbounded",
|
|
@@ -1058,6 +1065,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1058
1065
|
path: _path2 + ".label",
|
|
1059
1066
|
expected: "(string | undefined)",
|
|
1060
1067
|
value: input3.label
|
|
1068
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
1069
|
+
path: _path2 + ".range",
|
|
1070
|
+
expected: "(string | undefined)",
|
|
1071
|
+
value: input3.range
|
|
1061
1072
|
})].every((flag) => flag);
|
|
1062
1073
|
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1063
1074
|
path: _path2 + ".start",
|
|
@@ -1083,6 +1094,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1083
1094
|
path: _path2 + ".label",
|
|
1084
1095
|
expected: "(string | undefined)",
|
|
1085
1096
|
value: input3.label
|
|
1097
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
1098
|
+
path: _path2 + ".range",
|
|
1099
|
+
expected: "(string | undefined)",
|
|
1100
|
+
value: input3.range
|
|
1086
1101
|
})].every((flag) => flag);
|
|
1087
1102
|
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1088
1103
|
path: _path2 + ".hiddenValues",
|
|
@@ -1219,10 +1234,6 @@ var validBrainImagingRequest = (input) => {
|
|
|
1219
1234
|
path: _path2 + ".unit",
|
|
1220
1235
|
expected: "(string | undefined)",
|
|
1221
1236
|
value: input3.unit
|
|
1222
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1223
|
-
path: _path2 + ".gene",
|
|
1224
|
-
expected: "string",
|
|
1225
|
-
value: input3.gene
|
|
1226
1237
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1227
1238
|
path: _path2 + ".bins",
|
|
1228
1239
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1231,6 +1242,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
1231
1242
|
path: _path2 + ".bins",
|
|
1232
1243
|
expected: "(PresetNumericBins | undefined)",
|
|
1233
1244
|
value: input3.bins
|
|
1245
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
1246
|
+
path: _path2 + ".kind",
|
|
1247
|
+
expected: '("gene" | undefined)',
|
|
1248
|
+
value: input3.kind
|
|
1249
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1250
|
+
path: _path2 + ".gene",
|
|
1251
|
+
expected: "string",
|
|
1252
|
+
value: input3.gene
|
|
1234
1253
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1235
1254
|
path: _path2 + ".chr",
|
|
1236
1255
|
expected: "(string | undefined)",
|
|
@@ -1252,9 +1271,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1252
1271
|
path: _path2 + ".name",
|
|
1253
1272
|
expected: "string",
|
|
1254
1273
|
value: input3.name
|
|
1255
|
-
}), "
|
|
1274
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
1256
1275
|
path: _path2 + ".type",
|
|
1257
|
-
expected: '"
|
|
1276
|
+
expected: '"geneExpression"',
|
|
1258
1277
|
value: input3.type
|
|
1259
1278
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1260
1279
|
path: _path2 + ".child_types",
|
|
@@ -1312,10 +1331,6 @@ var validBrainImagingRequest = (input) => {
|
|
|
1312
1331
|
path: _path2 + ".unit",
|
|
1313
1332
|
expected: "(string | undefined)",
|
|
1314
1333
|
value: input3.unit
|
|
1315
|
-
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1316
|
-
path: _path2 + ".metabolite",
|
|
1317
|
-
expected: "string",
|
|
1318
|
-
value: input3.metabolite
|
|
1319
1334
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1320
1335
|
path: _path2 + ".bins",
|
|
1321
1336
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1324,6 +1339,26 @@ var validBrainImagingRequest = (input) => {
|
|
|
1324
1339
|
path: _path2 + ".bins",
|
|
1325
1340
|
expected: "(PresetNumericBins | undefined)",
|
|
1326
1341
|
value: input3.bins
|
|
1342
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1343
|
+
path: _path2 + ".kind",
|
|
1344
|
+
expected: '("coord" | undefined)',
|
|
1345
|
+
value: input3.kind
|
|
1346
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1347
|
+
path: _path2 + ".gene",
|
|
1348
|
+
expected: "(string | undefined)",
|
|
1349
|
+
value: input3.gene
|
|
1350
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1351
|
+
path: _path2 + ".chr",
|
|
1352
|
+
expected: "string",
|
|
1353
|
+
value: input3.chr
|
|
1354
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1355
|
+
path: _path2 + ".start",
|
|
1356
|
+
expected: "number",
|
|
1357
|
+
value: input3.start
|
|
1358
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1359
|
+
path: _path2 + ".stop",
|
|
1360
|
+
expected: "number",
|
|
1361
|
+
value: input3.stop
|
|
1327
1362
|
})].every((flag) => flag);
|
|
1328
1363
|
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1329
1364
|
path: _path2 + ".id",
|
|
@@ -1333,9 +1368,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1333
1368
|
path: _path2 + ".name",
|
|
1334
1369
|
expected: "string",
|
|
1335
1370
|
value: input3.name
|
|
1336
|
-
}), "
|
|
1371
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1337
1372
|
path: _path2 + ".type",
|
|
1338
|
-
expected: '"
|
|
1373
|
+
expected: '"metaboliteIntensity"',
|
|
1339
1374
|
value: input3.type
|
|
1340
1375
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1341
1376
|
path: _path2 + ".child_types",
|
|
@@ -1414,9 +1449,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1414
1449
|
path: _path2 + ".name",
|
|
1415
1450
|
expected: "string",
|
|
1416
1451
|
value: input3.name
|
|
1417
|
-
}), "
|
|
1452
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1418
1453
|
path: _path2 + ".type",
|
|
1419
|
-
expected: '"
|
|
1454
|
+
expected: '"date"',
|
|
1420
1455
|
value: input3.type
|
|
1421
1456
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1422
1457
|
path: _path2 + ".child_types",
|
|
@@ -1474,12 +1509,89 @@ var validBrainImagingRequest = (input) => {
|
|
|
1474
1509
|
path: _path2 + ".unit",
|
|
1475
1510
|
expected: "(string | undefined)",
|
|
1476
1511
|
value: input3.unit
|
|
1512
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1513
|
+
path: _path2 + ".bins",
|
|
1514
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1515
|
+
value: input3.bins
|
|
1516
|
+
})) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1517
|
+
path: _path2 + ".bins",
|
|
1518
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1519
|
+
value: input3.bins
|
|
1520
|
+
})].every((flag) => flag);
|
|
1521
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1522
|
+
path: _path2 + ".id",
|
|
1523
|
+
expected: "string",
|
|
1524
|
+
value: input3.id
|
|
1525
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1526
|
+
path: _path2 + ".name",
|
|
1527
|
+
expected: "string",
|
|
1528
|
+
value: input3.name
|
|
1529
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1530
|
+
path: _path2 + ".type",
|
|
1531
|
+
expected: '"ssGSEA"',
|
|
1532
|
+
value: input3.type
|
|
1533
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1534
|
+
path: _path2 + ".child_types",
|
|
1535
|
+
expected: "(Array<string> | undefined)",
|
|
1536
|
+
value: input3.child_types
|
|
1537
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1538
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1539
|
+
expected: "string",
|
|
1540
|
+
value: elem
|
|
1541
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1542
|
+
path: _path2 + ".child_types",
|
|
1543
|
+
expected: "(Array<string> | undefined)",
|
|
1544
|
+
value: input3.child_types
|
|
1545
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1546
|
+
path: _path2 + ".hashtmldetail",
|
|
1547
|
+
expected: "(boolean | undefined)",
|
|
1548
|
+
value: input3.hashtmldetail
|
|
1549
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1550
|
+
path: _path2 + ".included_types",
|
|
1551
|
+
expected: "(Array<string> | undefined)",
|
|
1552
|
+
value: input3.included_types
|
|
1553
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1554
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1555
|
+
expected: "string",
|
|
1556
|
+
value: elem
|
|
1557
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1558
|
+
path: _path2 + ".included_types",
|
|
1559
|
+
expected: "(Array<string> | undefined)",
|
|
1560
|
+
value: input3.included_types
|
|
1561
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1562
|
+
path: _path2 + ".isleaf",
|
|
1563
|
+
expected: "(boolean | undefined)",
|
|
1564
|
+
value: input3.isleaf
|
|
1565
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1566
|
+
path: _path2 + ".values",
|
|
1567
|
+
expected: "(TermValues | undefined)",
|
|
1568
|
+
value: input3.values
|
|
1569
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1570
|
+
path: _path2 + ".values",
|
|
1571
|
+
expected: "(TermValues | undefined)",
|
|
1572
|
+
value: input3.values
|
|
1573
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1574
|
+
path: _path2 + ".skipValuesBuild",
|
|
1575
|
+
expected: "(boolean | undefined)",
|
|
1576
|
+
value: input3.skipValuesBuild
|
|
1577
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1578
|
+
path: _path2 + ".continuousColorScale",
|
|
1579
|
+
expected: "(__type.o3 | undefined)",
|
|
1580
|
+
value: input3.continuousColorScale
|
|
1581
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1582
|
+
path: _path2 + ".continuousColorScale",
|
|
1583
|
+
expected: "(__type.o3 | undefined)",
|
|
1584
|
+
value: input3.continuousColorScale
|
|
1585
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1586
|
+
path: _path2 + ".unit",
|
|
1587
|
+
expected: "(string | undefined)",
|
|
1588
|
+
value: input3.unit
|
|
1477
1589
|
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1478
1590
|
path: _path2 + ".genes",
|
|
1479
1591
|
expected: "(Array<string> | undefined)",
|
|
1480
1592
|
value: input3.genes
|
|
1481
|
-
})) && input3.genes.map((elem,
|
|
1482
|
-
path: _path2 + ".genes[" +
|
|
1593
|
+
})) && input3.genes.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1594
|
+
path: _path2 + ".genes[" + _index26 + "]",
|
|
1483
1595
|
expected: "string",
|
|
1484
1596
|
value: elem
|
|
1485
1597
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1495,7 +1607,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1495
1607
|
expected: "(PresetNumericBins | undefined)",
|
|
1496
1608
|
value: input3.bins
|
|
1497
1609
|
})].every((flag) => flag);
|
|
1498
|
-
const $
|
|
1610
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1499
1611
|
path: _path2 + ".key",
|
|
1500
1612
|
expected: "string",
|
|
1501
1613
|
value: input3.key
|
|
@@ -1512,7 +1624,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1512
1624
|
expected: "(string | undefined)",
|
|
1513
1625
|
value: input3.label
|
|
1514
1626
|
})].every((flag) => flag);
|
|
1515
|
-
const $
|
|
1627
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1516
1628
|
path: _path2 + ".join",
|
|
1517
1629
|
expected: "(string | undefined)",
|
|
1518
1630
|
value: input3.join
|
|
@@ -1524,7 +1636,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1524
1636
|
path: _path2 + ".term",
|
|
1525
1637
|
expected: "ConditionTerm",
|
|
1526
1638
|
value: input3.term
|
|
1527
|
-
})) && $
|
|
1639
|
+
})) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1528
1640
|
path: _path2 + ".term",
|
|
1529
1641
|
expected: "ConditionTerm",
|
|
1530
1642
|
value: input3.term
|
|
@@ -1544,12 +1656,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1544
1656
|
path: _path2 + ".grade_and_child",
|
|
1545
1657
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1546
1658
|
value: input3.grade_and_child
|
|
1547
|
-
})) && input3.grade_and_child.map((elem,
|
|
1548
|
-
path: _path2 + ".grade_and_child[" +
|
|
1659
|
+
})) && input3.grade_and_child.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1660
|
+
path: _path2 + ".grade_and_child[" + _index27 + "]",
|
|
1549
1661
|
expected: "GradeAndChildEntry",
|
|
1550
1662
|
value: elem
|
|
1551
|
-
})) && $
|
|
1552
|
-
path: _path2 + ".grade_and_child[" +
|
|
1663
|
+
})) && $vo37(elem, _path2 + ".grade_and_child[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1664
|
+
path: _path2 + ".grade_and_child[" + _index27 + "]",
|
|
1553
1665
|
expected: "GradeAndChildEntry",
|
|
1554
1666
|
value: elem
|
|
1555
1667
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1557,7 +1669,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1557
1669
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1558
1670
|
value: input3.grade_and_child
|
|
1559
1671
|
})].every((flag) => flag);
|
|
1560
|
-
const $
|
|
1672
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1561
1673
|
path: _path2 + ".id",
|
|
1562
1674
|
expected: "string",
|
|
1563
1675
|
value: input3.id
|
|
@@ -1573,8 +1685,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1573
1685
|
path: _path2 + ".child_types",
|
|
1574
1686
|
expected: "(Array<string> | undefined)",
|
|
1575
1687
|
value: input3.child_types
|
|
1576
|
-
})) && input3.child_types.map((elem,
|
|
1577
|
-
path: _path2 + ".child_types[" +
|
|
1688
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1689
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1578
1690
|
expected: "string",
|
|
1579
1691
|
value: elem
|
|
1580
1692
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1589,8 +1701,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1589
1701
|
path: _path2 + ".included_types",
|
|
1590
1702
|
expected: "(Array<string> | undefined)",
|
|
1591
1703
|
value: input3.included_types
|
|
1592
|
-
})) && input3.included_types.map((elem,
|
|
1593
|
-
path: _path2 + ".included_types[" +
|
|
1704
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1705
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1594
1706
|
expected: "string",
|
|
1595
1707
|
value: elem
|
|
1596
1708
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1614,7 +1726,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1614
1726
|
expected: "(boolean | undefined)",
|
|
1615
1727
|
value: input3.skipValuesBuild
|
|
1616
1728
|
})].every((flag) => flag);
|
|
1617
|
-
const $
|
|
1729
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1618
1730
|
path: _path2 + ".grade",
|
|
1619
1731
|
expected: "number",
|
|
1620
1732
|
value: input3.grade
|
|
@@ -1631,7 +1743,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1631
1743
|
expected: "string",
|
|
1632
1744
|
value: input3.child_label
|
|
1633
1745
|
})].every((flag) => flag);
|
|
1634
|
-
const $
|
|
1746
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1635
1747
|
path: _path2 + ".join",
|
|
1636
1748
|
expected: "(string | undefined)",
|
|
1637
1749
|
value: input3.join
|
|
@@ -1643,7 +1755,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1643
1755
|
path: _path2 + ".term",
|
|
1644
1756
|
expected: "DtTerm",
|
|
1645
1757
|
value: input3.term
|
|
1646
|
-
})) && $
|
|
1758
|
+
})) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1647
1759
|
path: _path2 + ".term",
|
|
1648
1760
|
expected: "DtTerm",
|
|
1649
1761
|
value: input3.term
|
|
@@ -1651,12 +1763,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1651
1763
|
path: _path2 + ".values",
|
|
1652
1764
|
expected: "Array<__type>.o2",
|
|
1653
1765
|
value: input3.values
|
|
1654
|
-
})) && input3.values.map((elem,
|
|
1655
|
-
path: _path2 + ".values[" +
|
|
1766
|
+
})) && input3.values.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1767
|
+
path: _path2 + ".values[" + _index30 + "]",
|
|
1656
1768
|
expected: "__type.o5",
|
|
1657
1769
|
value: elem
|
|
1658
|
-
})) && $
|
|
1659
|
-
path: _path2 + ".values[" +
|
|
1770
|
+
})) && $vo44(elem, _path2 + ".values[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1771
|
+
path: _path2 + ".values[" + _index30 + "]",
|
|
1660
1772
|
expected: "__type.o5",
|
|
1661
1773
|
value: elem
|
|
1662
1774
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1672,7 +1784,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1672
1784
|
expected: "(boolean | undefined)",
|
|
1673
1785
|
value: input3.excludeGeneName
|
|
1674
1786
|
})].every((flag) => flag);
|
|
1675
|
-
const $
|
|
1787
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1676
1788
|
path: _path2 + ".id",
|
|
1677
1789
|
expected: "string",
|
|
1678
1790
|
value: input3.id
|
|
@@ -1721,7 +1833,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1721
1833
|
expected: "TermValues",
|
|
1722
1834
|
value: input3.values
|
|
1723
1835
|
})].every((flag) => flag);
|
|
1724
|
-
const $
|
|
1836
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1725
1837
|
path: _path2 + ".id",
|
|
1726
1838
|
expected: "string",
|
|
1727
1839
|
value: input3.id
|
|
@@ -1737,8 +1849,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1737
1849
|
path: _path2 + ".child_types",
|
|
1738
1850
|
expected: "(Array<string> | undefined)",
|
|
1739
1851
|
value: input3.child_types
|
|
1740
|
-
})) && input3.child_types.map((elem,
|
|
1741
|
-
path: _path2 + ".child_types[" +
|
|
1852
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1853
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
1742
1854
|
expected: "string",
|
|
1743
1855
|
value: elem
|
|
1744
1856
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1753,8 +1865,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1753
1865
|
path: _path2 + ".included_types",
|
|
1754
1866
|
expected: "(Array<string> | undefined)",
|
|
1755
1867
|
value: input3.included_types
|
|
1756
|
-
})) && input3.included_types.map((elem,
|
|
1757
|
-
path: _path2 + ".included_types[" +
|
|
1868
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1869
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
1758
1870
|
expected: "string",
|
|
1759
1871
|
value: elem
|
|
1760
1872
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1801,12 +1913,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1801
1913
|
path: _path2 + ".genes",
|
|
1802
1914
|
expected: "Array<GvGeneTerm>",
|
|
1803
1915
|
value: input3.genes
|
|
1804
|
-
})) && input3.genes.map((elem,
|
|
1805
|
-
path: _path2 + ".genes[" +
|
|
1916
|
+
})) && input3.genes.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1917
|
+
path: _path2 + ".genes[" + _index33 + "]",
|
|
1806
1918
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1807
1919
|
value: elem
|
|
1808
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1809
|
-
path: _path2 + ".genes[" +
|
|
1920
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1921
|
+
path: _path2 + ".genes[" + _index33 + "]",
|
|
1810
1922
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1811
1923
|
value: elem
|
|
1812
1924
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1825,12 +1937,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1825
1937
|
path: _path2 + ".childTerms",
|
|
1826
1938
|
expected: "(Array<DtTerm> | undefined)",
|
|
1827
1939
|
value: input3.childTerms
|
|
1828
|
-
})) && input3.childTerms.map((elem,
|
|
1829
|
-
path: _path2 + ".childTerms[" +
|
|
1940
|
+
})) && input3.childTerms.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1941
|
+
path: _path2 + ".childTerms[" + _index34 + "]",
|
|
1830
1942
|
expected: "DtTerm",
|
|
1831
1943
|
value: elem
|
|
1832
|
-
})) && $
|
|
1833
|
-
path: _path2 + ".childTerms[" +
|
|
1944
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1945
|
+
path: _path2 + ".childTerms[" + _index34 + "]",
|
|
1834
1946
|
expected: "DtTerm",
|
|
1835
1947
|
value: elem
|
|
1836
1948
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1838,7 +1950,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1838
1950
|
expected: "(Array<DtTerm> | undefined)",
|
|
1839
1951
|
value: input3.childTerms
|
|
1840
1952
|
})].every((flag) => flag);
|
|
1841
|
-
const $
|
|
1953
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1842
1954
|
path: _path2 + ".id",
|
|
1843
1955
|
expected: "string",
|
|
1844
1956
|
value: input3.id
|
|
@@ -1854,8 +1966,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1854
1966
|
path: _path2 + ".child_types",
|
|
1855
1967
|
expected: "(Array<string> | undefined)",
|
|
1856
1968
|
value: input3.child_types
|
|
1857
|
-
})) && input3.child_types.map((elem,
|
|
1858
|
-
path: _path2 + ".child_types[" +
|
|
1969
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1970
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
1859
1971
|
expected: "string",
|
|
1860
1972
|
value: elem
|
|
1861
1973
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1870,8 +1982,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1870
1982
|
path: _path2 + ".included_types",
|
|
1871
1983
|
expected: "(Array<string> | undefined)",
|
|
1872
1984
|
value: input3.included_types
|
|
1873
|
-
})) && input3.included_types.map((elem,
|
|
1874
|
-
path: _path2 + ".included_types[" +
|
|
1985
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1986
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
1875
1987
|
expected: "string",
|
|
1876
1988
|
value: elem
|
|
1877
1989
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1915,7 +2027,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1915
2027
|
expected: "(number | undefined)",
|
|
1916
2028
|
value: input3.stop
|
|
1917
2029
|
})].every((flag) => flag);
|
|
1918
|
-
const $
|
|
2030
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1919
2031
|
path: _path2 + ".id",
|
|
1920
2032
|
expected: "string",
|
|
1921
2033
|
value: input3.id
|
|
@@ -1931,8 +2043,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1931
2043
|
path: _path2 + ".child_types",
|
|
1932
2044
|
expected: "(Array<string> | undefined)",
|
|
1933
2045
|
value: input3.child_types
|
|
1934
|
-
})) && input3.child_types.map((elem,
|
|
1935
|
-
path: _path2 + ".child_types[" +
|
|
2046
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2047
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
1936
2048
|
expected: "string",
|
|
1937
2049
|
value: elem
|
|
1938
2050
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1947,8 +2059,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1947
2059
|
path: _path2 + ".included_types",
|
|
1948
2060
|
expected: "(Array<string> | undefined)",
|
|
1949
2061
|
value: input3.included_types
|
|
1950
|
-
})) && input3.included_types.map((elem,
|
|
1951
|
-
path: _path2 + ".included_types[" +
|
|
2062
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2063
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
1952
2064
|
expected: "string",
|
|
1953
2065
|
value: elem
|
|
1954
2066
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1988,7 +2100,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1988
2100
|
expected: "number",
|
|
1989
2101
|
value: input3.stop
|
|
1990
2102
|
})].every((flag) => flag);
|
|
1991
|
-
const $
|
|
2103
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1992
2104
|
path: _path2 + ".id",
|
|
1993
2105
|
expected: "string",
|
|
1994
2106
|
value: input3.id
|
|
@@ -2004,8 +2116,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2004
2116
|
path: _path2 + ".child_types",
|
|
2005
2117
|
expected: "(Array<string> | undefined)",
|
|
2006
2118
|
value: input3.child_types
|
|
2007
|
-
})) && input3.child_types.map((elem,
|
|
2008
|
-
path: _path2 + ".child_types[" +
|
|
2119
|
+
})) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2120
|
+
path: _path2 + ".child_types[" + _index39 + "]",
|
|
2009
2121
|
expected: "string",
|
|
2010
2122
|
value: elem
|
|
2011
2123
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2020,8 +2132,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2020
2132
|
path: _path2 + ".included_types",
|
|
2021
2133
|
expected: "(Array<string> | undefined)",
|
|
2022
2134
|
value: input3.included_types
|
|
2023
|
-
})) && input3.included_types.map((elem,
|
|
2024
|
-
path: _path2 + ".included_types[" +
|
|
2135
|
+
})) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2136
|
+
path: _path2 + ".included_types[" + _index40 + "]",
|
|
2025
2137
|
expected: "string",
|
|
2026
2138
|
value: elem
|
|
2027
2139
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2064,12 +2176,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2064
2176
|
path: _path2 + ".genes",
|
|
2065
2177
|
expected: "Array<GvGeneTerm>",
|
|
2066
2178
|
value: input3.genes
|
|
2067
|
-
})) && input3.genes.map((elem,
|
|
2068
|
-
path: _path2 + ".genes[" +
|
|
2179
|
+
})) && input3.genes.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2180
|
+
path: _path2 + ".genes[" + _index41 + "]",
|
|
2069
2181
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2070
2182
|
value: elem
|
|
2071
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2072
|
-
path: _path2 + ".genes[" +
|
|
2183
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2184
|
+
path: _path2 + ".genes[" + _index41 + "]",
|
|
2073
2185
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2074
2186
|
value: elem
|
|
2075
2187
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2088,12 +2200,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2088
2200
|
path: _path2 + ".childTerms",
|
|
2089
2201
|
expected: "(Array<DtTerm> | undefined)",
|
|
2090
2202
|
value: input3.childTerms
|
|
2091
|
-
})) && input3.childTerms.map((elem,
|
|
2092
|
-
path: _path2 + ".childTerms[" +
|
|
2203
|
+
})) && input3.childTerms.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2204
|
+
path: _path2 + ".childTerms[" + _index42 + "]",
|
|
2093
2205
|
expected: "DtTerm",
|
|
2094
2206
|
value: elem
|
|
2095
|
-
})) && $
|
|
2096
|
-
path: _path2 + ".childTerms[" +
|
|
2207
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2208
|
+
path: _path2 + ".childTerms[" + _index42 + "]",
|
|
2097
2209
|
expected: "DtTerm",
|
|
2098
2210
|
value: elem
|
|
2099
2211
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2101,7 +2213,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2101
2213
|
expected: "(Array<DtTerm> | undefined)",
|
|
2102
2214
|
value: input3.childTerms
|
|
2103
2215
|
})].every((flag) => flag);
|
|
2104
|
-
const $
|
|
2216
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2105
2217
|
path: _path2 + ".key",
|
|
2106
2218
|
expected: "string",
|
|
2107
2219
|
value: input3.key
|
|
@@ -2145,9 +2257,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2145
2257
|
})();
|
|
2146
2258
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2147
2259
|
if ("gene" === input3.kind)
|
|
2148
|
-
return $vo40(input3, _path2, _exceptionable2);
|
|
2149
|
-
if ("coord" === input3.kind)
|
|
2150
2260
|
return $vo41(input3, _path2, _exceptionable2);
|
|
2261
|
+
if ("coord" === input3.kind)
|
|
2262
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
2151
2263
|
return $report(_exceptionable2, {
|
|
2152
2264
|
path: _path2,
|
|
2153
2265
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2157,33 +2269,33 @@ var validBrainImagingRequest = (input) => {
|
|
|
2157
2269
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2158
2270
|
if ("values" === input3.type)
|
|
2159
2271
|
return $vo3(input3, _path2, _exceptionable2);
|
|
2272
|
+
if ("filter" === input3.type)
|
|
2273
|
+
return $vo5(input3, _path2, _exceptionable2);
|
|
2160
2274
|
if ("predefined-groupset" === input3.type)
|
|
2161
2275
|
return $vo6(input3, _path2, _exceptionable2);
|
|
2162
2276
|
if ("custom-groupset" === input3.type)
|
|
2163
2277
|
return $vo7(input3, _path2, _exceptionable2);
|
|
2164
|
-
return $
|
|
2278
|
+
return $report(_exceptionable2, {
|
|
2279
|
+
path: _path2,
|
|
2280
|
+
expected: "(ValuesQ | FilterQ | PredefinedGroupSettingQ | CustomGroupSettingQ)",
|
|
2281
|
+
value: input3
|
|
2282
|
+
});
|
|
2165
2283
|
})();
|
|
2166
2284
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2167
2285
|
if (void 0 !== input3.ranges)
|
|
2168
2286
|
return $vo20(input3, _path2, _exceptionable2);
|
|
2169
|
-
return $vo14(input3, _path2, false) || $
|
|
2287
|
+
return $vo14(input3, _path2, false) || $vo35(input3, _path2, false) || $vo38(input3, _path2, false);
|
|
2170
2288
|
})();
|
|
2171
2289
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2172
2290
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2173
2291
|
return $vo21(input3, _path2, _exceptionable2);
|
|
2174
|
-
if ("geneExpression" === input3.type)
|
|
2175
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
2176
|
-
if ("date" === input3.type)
|
|
2177
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
2178
2292
|
if ("metaboliteIntensity" === input3.type)
|
|
2179
|
-
return $
|
|
2180
|
-
if ("
|
|
2293
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
2294
|
+
if ("date" === input3.type)
|
|
2181
2295
|
return $vo32(input3, _path2, _exceptionable2);
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
value: input3
|
|
2186
|
-
});
|
|
2296
|
+
if ("ssGSEA" === input3.type)
|
|
2297
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
2298
|
+
return $vo30(input3, _path2, false) || $vo29(input3, _path2, false);
|
|
2187
2299
|
})();
|
|
2188
2300
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2189
2301
|
if ("regular-bin" === input3.type)
|
|
@@ -2220,9 +2332,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2220
2332
|
})();
|
|
2221
2333
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2222
2334
|
if ("gene" === input3.kind)
|
|
2223
|
-
return $
|
|
2335
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
2224
2336
|
if ("coord" === input3.kind)
|
|
2225
|
-
return $
|
|
2337
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
2226
2338
|
return $report(_exceptionable2, {
|
|
2227
2339
|
path: _path2,
|
|
2228
2340
|
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; })',
|