@sjcrh/proteinpaint-types 2.142.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-SOM5WKDM.js → chunk-4DNCZQOB.js} +16 -4
- package/dist/{chunk-3BQ57P2P.js → chunk-4MLQS6N7.js} +16 -4
- package/dist/{chunk-MVMUZSLL.js → chunk-4VEXL32Q.js} +172 -118
- package/dist/{chunk-K5POIB3P.js → chunk-4ZMQ5CTL.js} +1 -1
- package/dist/{chunk-CEDL2QZT.js → chunk-5KADNZH2.js} +176 -122
- package/dist/{chunk-I2KWGMNM.js → chunk-62XTWOVJ.js} +1 -1
- package/dist/{chunk-FXCCZCTN.js → chunk-6GKG55BT.js} +1 -1
- package/dist/{chunk-3L3ASC3B.js → chunk-6SOULHNE.js} +290 -154
- package/dist/{chunk-2VDOPTRV.js → chunk-74B7B2CV.js} +31 -7
- package/dist/{chunk-FVBXC7SY.js → chunk-7ICZFAGK.js} +33 -17
- package/dist/{chunk-J4QAF4EU.js → chunk-7MUISZHS.js} +1 -1
- package/dist/{chunk-SMS3Y2XZ.js → chunk-BCBSHTHS.js} +1 -1
- package/dist/{chunk-SMVDKR2O.js → chunk-C246BWQE.js} +31 -7
- 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-GDM7YUXH.js → chunk-FXXE4S7M.js} +172 -118
- package/dist/{chunk-IR4QSJI7.js → chunk-GCAZSDCW.js} +172 -118
- 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-DMJFOII6.js → chunk-MMFL6N5M.js} +18 -6
- 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-4R265LDJ.js → chunk-U3AOS5QJ.js} +16 -4
- 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/numeric.ts +5 -0
- 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/term.ts +2 -134
- package/src/terms/tw.ts +15 -0
- 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.boxplot.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
@@ -73,7 +73,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
73
73
|
const errors = [];
|
|
74
74
|
const __is = (input2) => {
|
|
75
75
|
const $join = import_typia.createValidate.join;
|
|
76
|
-
const $io0 = (input3) => "object" === typeof input3.tw && null !== input3.tw && $iu6(input3.tw) && "string" === typeof input3.genome && "string" === typeof input3.dslabel && "boolean" === typeof input3.isLogScale && "boolean" === typeof input3.orderByMedian && (void 0 === input3.overlayTw || "object" === typeof input3.overlayTw && null !== input3.overlayTw && $iu6(input3.overlayTw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter)) && true && true;
|
|
76
|
+
const $io0 = (input3) => "object" === typeof input3.tw && null !== input3.tw && $iu6(input3.tw) && "string" === typeof input3.genome && "string" === typeof input3.dslabel && "boolean" === typeof input3.isLogScale && "boolean" === typeof input3.orderByMedian && (void 0 === input3.overlayTw || "object" === typeof input3.overlayTw && null !== input3.overlayTw && $iu6(input3.overlayTw)) && (void 0 === input3.divideTw || "object" === typeof input3.divideTw && null !== input3.divideTw && $iu6(input3.divideTw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter)) && true && true;
|
|
77
77
|
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 && ("object" === typeof input3.term && null !== input3.term && $io3(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io40(input3.q)) && "CatTWValues" === input3.type;
|
|
78
78
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
79
79
|
const value = input3[key];
|
|
@@ -111,9 +111,9 @@ var validBoxPlotRequest = (input) => {
|
|
|
111
111
|
return "number" === typeof value;
|
|
112
112
|
return true;
|
|
113
113
|
});
|
|
114
|
-
const $io15 = (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);
|
|
115
|
-
const $io16 = (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);
|
|
116
|
-
const $io17 = (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);
|
|
114
|
+
const $io15 = (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);
|
|
115
|
+
const $io16 = (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);
|
|
116
|
+
const $io17 = (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);
|
|
117
117
|
const $io18 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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] && $iu1(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu1(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
118
118
|
const $io19 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io11(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io12(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);
|
|
119
119
|
const $io20 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io11(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io12(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;
|
|
@@ -159,21 +159,22 @@ var validBoxPlotRequest = (input) => {
|
|
|
159
159
|
const $io60 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
160
160
|
const $io61 = (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 && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io62(input3.q));
|
|
161
161
|
const $io62 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io45(input3.customset));
|
|
162
|
-
const $io63 = (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 && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io26(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $
|
|
163
|
-
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic ||
|
|
164
|
-
const $io65 = (input3) => (void 0 === input3.
|
|
165
|
-
const $io66 = (input3) => (void 0 === input3.
|
|
166
|
-
const $io67 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.
|
|
167
|
-
const $io68 = (input3) => "string" === typeof input3.
|
|
168
|
-
const $io69 = (input3) => (void 0 === input3.
|
|
169
|
-
const $io70 = (input3) => "string" === typeof input3.
|
|
170
|
-
const $io71 = (input3) => "string" === typeof input3.
|
|
171
|
-
const $io72 = (input3) =>
|
|
172
|
-
const $io73 = (input3) => (void 0 === input3.
|
|
173
|
-
const $io74 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic ||
|
|
174
|
-
const $io75 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.
|
|
175
|
-
const $io76 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.
|
|
176
|
-
const $io77 = (input3) =>
|
|
162
|
+
const $io63 = (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 && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io26(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu12(input3.q));
|
|
163
|
+
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && ("discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && "grade" === input3.valueFor && true === input3.bar_by_grade && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && (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) && true;
|
|
164
|
+
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && "discrete" === input3.mode && "children" === input3.valueFor && true === input3.bar_by_children && true;
|
|
165
|
+
const $io66 = (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 && "SnpsTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $io67(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io69(input3.term));
|
|
166
|
+
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io68(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io6(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
167
|
+
const $io68 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
168
|
+
const $io69 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io70(elem)));
|
|
169
|
+
const $io70 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io71(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io72(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
170
|
+
const $io71 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
171
|
+
const $io72 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
172
|
+
const $io73 = (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 && "SnpTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $iu13(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io78(input3.term));
|
|
173
|
+
const $io74 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && "values" === input3.type;
|
|
174
|
+
const $io75 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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;
|
|
175
|
+
const $io76 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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;
|
|
176
|
+
const $io77 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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 && $io45(input3.customset));
|
|
177
|
+
const $io78 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io33(input3.groupsetting));
|
|
177
178
|
const $iu0 = (input3) => (() => {
|
|
178
179
|
if ("tvslst" === input3.type)
|
|
179
180
|
return $io6(input3);
|
|
@@ -218,9 +219,9 @@ var validBoxPlotRequest = (input) => {
|
|
|
218
219
|
})();
|
|
219
220
|
const $iu6 = (input3) => (() => {
|
|
220
221
|
if ("SnpTW" === input3.type)
|
|
221
|
-
return $
|
|
222
|
+
return $io73(input3);
|
|
222
223
|
if ("SnpsTW" === input3.type)
|
|
223
|
-
return $
|
|
224
|
+
return $io66(input3);
|
|
224
225
|
if ("ConditionTW" === input3.type)
|
|
225
226
|
return $io63(input3);
|
|
226
227
|
if ("GvCustomGsTW" === input3.type)
|
|
@@ -299,17 +300,22 @@ var validBoxPlotRequest = (input) => {
|
|
|
299
300
|
return false;
|
|
300
301
|
})();
|
|
301
302
|
const $iu12 = (input3) => (() => {
|
|
302
|
-
if (
|
|
303
|
+
if ("grade" === input3.valueFor)
|
|
304
|
+
return $io64(input3);
|
|
305
|
+
if ("children" === input3.valueFor)
|
|
306
|
+
return $io65(input3);
|
|
307
|
+
return false;
|
|
308
|
+
})();
|
|
309
|
+
const $iu13 = (input3) => (() => {
|
|
310
|
+
if ("values" === input3.type)
|
|
311
|
+
return $io74(input3);
|
|
312
|
+
if ("filter" === input3.type)
|
|
303
313
|
return $io75(input3);
|
|
304
|
-
if (
|
|
314
|
+
if ("predefined-groupset" === input3.type)
|
|
305
315
|
return $io76(input3);
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
if ($io73(input3))
|
|
310
|
-
return $io73(input3);
|
|
311
|
-
return false;
|
|
312
|
-
})();
|
|
316
|
+
if ("custom-groupset" === input3.type)
|
|
317
|
+
return $io77(input3);
|
|
318
|
+
return false;
|
|
313
319
|
})();
|
|
314
320
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
315
321
|
};
|
|
@@ -349,6 +355,14 @@ var validBoxPlotRequest = (input) => {
|
|
|
349
355
|
path: _path2 + ".overlayTw",
|
|
350
356
|
expected: "(CatTWCustomGS | CatTWPredefinedGS | CatTWValues | ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | SnpTW | SnpsTW | undefined)",
|
|
351
357
|
value: input3.overlayTw
|
|
358
|
+
}), void 0 === input3.divideTw || ("object" === typeof input3.divideTw && null !== input3.divideTw || $report(_exceptionable2, {
|
|
359
|
+
path: _path2 + ".divideTw",
|
|
360
|
+
expected: "(CatTWCustomGS | CatTWPredefinedGS | CatTWValues | ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | SnpTW | SnpsTW | undefined)",
|
|
361
|
+
value: input3.divideTw
|
|
362
|
+
})) && $vu6(input3.divideTw, _path2 + ".divideTw", _exceptionable2) || $report(_exceptionable2, {
|
|
363
|
+
path: _path2 + ".divideTw",
|
|
364
|
+
expected: "(CatTWCustomGS | CatTWPredefinedGS | CatTWValues | ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | SnpTW | SnpsTW | undefined)",
|
|
365
|
+
value: input3.divideTw
|
|
352
366
|
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
353
367
|
path: _path2 + ".filter",
|
|
354
368
|
expected: "(Filter | undefined)",
|
|
@@ -879,6 +893,10 @@ var validBoxPlotRequest = (input) => {
|
|
|
879
893
|
path: _path2 + ".label",
|
|
880
894
|
expected: "(string | undefined)",
|
|
881
895
|
value: input3.label
|
|
896
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
897
|
+
path: _path2 + ".range",
|
|
898
|
+
expected: "(string | undefined)",
|
|
899
|
+
value: input3.range
|
|
882
900
|
})].every((flag) => flag);
|
|
883
901
|
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
884
902
|
path: _path2 + ".startunbounded",
|
|
@@ -908,6 +926,10 @@ var validBoxPlotRequest = (input) => {
|
|
|
908
926
|
path: _path2 + ".label",
|
|
909
927
|
expected: "(string | undefined)",
|
|
910
928
|
value: input3.label
|
|
929
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
930
|
+
path: _path2 + ".range",
|
|
931
|
+
expected: "(string | undefined)",
|
|
932
|
+
value: input3.range
|
|
911
933
|
})].every((flag) => flag);
|
|
912
934
|
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
913
935
|
path: _path2 + ".start",
|
|
@@ -933,6 +955,10 @@ var validBoxPlotRequest = (input) => {
|
|
|
933
955
|
path: _path2 + ".label",
|
|
934
956
|
expected: "(string | undefined)",
|
|
935
957
|
value: input3.label
|
|
958
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
959
|
+
path: _path2 + ".range",
|
|
960
|
+
expected: "(string | undefined)",
|
|
961
|
+
value: input3.range
|
|
936
962
|
})].every((flag) => flag);
|
|
937
963
|
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
938
964
|
path: _path2 + ".hiddenValues",
|
|
@@ -3294,11 +3320,11 @@ var validBoxPlotRequest = (input) => {
|
|
|
3294
3320
|
value: input3.term
|
|
3295
3321
|
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
3296
3322
|
path: _path2 + ".q",
|
|
3297
|
-
expected: "
|
|
3323
|
+
expected: "(ConditionChildrenQ | ConditionGradeQ)",
|
|
3298
3324
|
value: input3.q
|
|
3299
|
-
})) && $
|
|
3325
|
+
})) && $vu12(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3300
3326
|
path: _path2 + ".q",
|
|
3301
|
-
expected: "
|
|
3327
|
+
expected: "(ConditionChildrenQ | ConditionGradeQ)",
|
|
3302
3328
|
value: input3.q
|
|
3303
3329
|
})].every((flag) => flag);
|
|
3304
3330
|
const $vo64 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
@@ -3309,34 +3335,34 @@ var validBoxPlotRequest = (input) => {
|
|
|
3309
3335
|
path: _path2 + ".hiddenValues",
|
|
3310
3336
|
expected: "(HiddenValues | undefined)",
|
|
3311
3337
|
value: input3.hiddenValues
|
|
3312
|
-
}), void 0 === input3.isAtomic ||
|
|
3338
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3313
3339
|
path: _path2 + ".isAtomic",
|
|
3314
|
-
expected: "(
|
|
3340
|
+
expected: "(true | undefined)",
|
|
3315
3341
|
value: input3.isAtomic
|
|
3316
3342
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3317
3343
|
path: _path2 + ".name",
|
|
3318
3344
|
expected: "(string | undefined)",
|
|
3319
3345
|
value: input3.name
|
|
3320
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3321
|
-
path: _path2 + ".mode",
|
|
3322
|
-
expected: '("binary" | "cox" | "cuminc" | "discrete" | undefined)',
|
|
3323
|
-
value: input3.mode
|
|
3324
3346
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3325
3347
|
path: _path2 + ".reuseId",
|
|
3326
3348
|
expected: "(string | undefined)",
|
|
3327
3349
|
value: input3.reuseId
|
|
3328
|
-
}),
|
|
3329
|
-
path: _path2 + ".
|
|
3330
|
-
expected: '("
|
|
3331
|
-
value: input3.
|
|
3332
|
-
}),
|
|
3333
|
-
path: _path2 + ".
|
|
3334
|
-
expected: "
|
|
3335
|
-
value: input3.
|
|
3336
|
-
}),
|
|
3350
|
+
}), "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3351
|
+
path: _path2 + ".mode",
|
|
3352
|
+
expected: '("binary" | "cox" | "cuminc" | "discrete")',
|
|
3353
|
+
value: input3.mode
|
|
3354
|
+
}), "grade" === input3.valueFor || $report(_exceptionable2, {
|
|
3355
|
+
path: _path2 + ".valueFor",
|
|
3356
|
+
expected: '"grade"',
|
|
3357
|
+
value: input3.valueFor
|
|
3358
|
+
}), true === input3.bar_by_grade || $report(_exceptionable2, {
|
|
3337
3359
|
path: _path2 + ".bar_by_grade",
|
|
3338
|
-
expected: "
|
|
3360
|
+
expected: "true",
|
|
3339
3361
|
value: input3.bar_by_grade
|
|
3362
|
+
}), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
|
|
3363
|
+
path: _path2 + ".timeScale",
|
|
3364
|
+
expected: '("age" | "time")',
|
|
3365
|
+
value: input3.timeScale
|
|
3340
3366
|
}), void 0 === input3.breaks || (Array.isArray(input3.breaks) || $report(_exceptionable2, {
|
|
3341
3367
|
path: _path2 + ".breaks",
|
|
3342
3368
|
expected: "(Array<number> | undefined)",
|
|
@@ -3349,10 +3375,6 @@ var validBoxPlotRequest = (input) => {
|
|
|
3349
3375
|
path: _path2 + ".breaks",
|
|
3350
3376
|
expected: "(Array<number> | undefined)",
|
|
3351
3377
|
value: input3.breaks
|
|
3352
|
-
}), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
|
|
3353
|
-
path: _path2 + ".timeScale",
|
|
3354
|
-
expected: '("age" | "time")',
|
|
3355
|
-
value: input3.timeScale
|
|
3356
3378
|
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
3357
3379
|
path: _path2 + ".value_by_max_grade",
|
|
3358
3380
|
expected: "(boolean | undefined)",
|
|
@@ -3366,7 +3388,40 @@ var validBoxPlotRequest = (input) => {
|
|
|
3366
3388
|
expected: "(boolean | undefined)",
|
|
3367
3389
|
value: input3.value_by_computable_grade
|
|
3368
3390
|
}), true].every((flag) => flag);
|
|
3369
|
-
const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.
|
|
3391
|
+
const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3392
|
+
path: _path2 + ".hiddenValues",
|
|
3393
|
+
expected: "(HiddenValues | undefined)",
|
|
3394
|
+
value: input3.hiddenValues
|
|
3395
|
+
})) && $vo14(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3396
|
+
path: _path2 + ".hiddenValues",
|
|
3397
|
+
expected: "(HiddenValues | undefined)",
|
|
3398
|
+
value: input3.hiddenValues
|
|
3399
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3400
|
+
path: _path2 + ".isAtomic",
|
|
3401
|
+
expected: "(true | undefined)",
|
|
3402
|
+
value: input3.isAtomic
|
|
3403
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3404
|
+
path: _path2 + ".name",
|
|
3405
|
+
expected: "(string | undefined)",
|
|
3406
|
+
value: input3.name
|
|
3407
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3408
|
+
path: _path2 + ".reuseId",
|
|
3409
|
+
expected: "(string | undefined)",
|
|
3410
|
+
value: input3.reuseId
|
|
3411
|
+
}), "discrete" === input3.mode || $report(_exceptionable2, {
|
|
3412
|
+
path: _path2 + ".mode",
|
|
3413
|
+
expected: '"discrete"',
|
|
3414
|
+
value: input3.mode
|
|
3415
|
+
}), "children" === input3.valueFor || $report(_exceptionable2, {
|
|
3416
|
+
path: _path2 + ".valueFor",
|
|
3417
|
+
expected: '"children"',
|
|
3418
|
+
value: input3.valueFor
|
|
3419
|
+
}), true === input3.bar_by_children || $report(_exceptionable2, {
|
|
3420
|
+
path: _path2 + ".bar_by_children",
|
|
3421
|
+
expected: "true",
|
|
3422
|
+
value: input3.bar_by_children
|
|
3423
|
+
}), true].every((flag) => flag);
|
|
3424
|
+
const $vo66 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3370
3425
|
path: _path2 + ".id",
|
|
3371
3426
|
expected: "(string | undefined)",
|
|
3372
3427
|
value: input3.id
|
|
@@ -3398,7 +3453,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3398
3453
|
path: _path2 + ".q",
|
|
3399
3454
|
expected: "SnpsQ",
|
|
3400
3455
|
value: input3.q
|
|
3401
|
-
})) && $
|
|
3456
|
+
})) && $vo67(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3402
3457
|
path: _path2 + ".q",
|
|
3403
3458
|
expected: "SnpsQ",
|
|
3404
3459
|
value: input3.q
|
|
@@ -3406,12 +3461,12 @@ var validBoxPlotRequest = (input) => {
|
|
|
3406
3461
|
path: _path2 + ".term",
|
|
3407
3462
|
expected: "SnpsTerm",
|
|
3408
3463
|
value: input3.term
|
|
3409
|
-
})) && $
|
|
3464
|
+
})) && $vo69(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3410
3465
|
path: _path2 + ".term",
|
|
3411
3466
|
expected: "SnpsTerm",
|
|
3412
3467
|
value: input3.term
|
|
3413
3468
|
})].every((flag) => flag);
|
|
3414
|
-
const $
|
|
3469
|
+
const $vo67 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3415
3470
|
path: _path2 + ".hiddenValues",
|
|
3416
3471
|
expected: "(HiddenValues | undefined)",
|
|
3417
3472
|
value: input3.hiddenValues
|
|
@@ -3419,26 +3474,18 @@ var validBoxPlotRequest = (input) => {
|
|
|
3419
3474
|
path: _path2 + ".hiddenValues",
|
|
3420
3475
|
expected: "(HiddenValues | undefined)",
|
|
3421
3476
|
value: input3.hiddenValues
|
|
3422
|
-
}), void 0 === input3.isAtomic ||
|
|
3477
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3423
3478
|
path: _path2 + ".isAtomic",
|
|
3424
|
-
expected: "(
|
|
3479
|
+
expected: "(true | undefined)",
|
|
3425
3480
|
value: input3.isAtomic
|
|
3426
3481
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3427
3482
|
path: _path2 + ".name",
|
|
3428
3483
|
expected: "(string | undefined)",
|
|
3429
3484
|
value: input3.name
|
|
3430
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3431
|
-
path: _path2 + ".mode",
|
|
3432
|
-
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
3433
|
-
value: input3.mode
|
|
3434
3485
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3435
3486
|
path: _path2 + ".reuseId",
|
|
3436
3487
|
expected: "(string | undefined)",
|
|
3437
3488
|
value: input3.reuseId
|
|
3438
|
-
}), void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type || $report(_exceptionable2, {
|
|
3439
|
-
path: _path2 + ".type",
|
|
3440
|
-
expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
|
|
3441
|
-
value: input3.type
|
|
3442
3489
|
}), "number" === typeof input3.AFcutoff || $report(_exceptionable2, {
|
|
3443
3490
|
path: _path2 + ".AFcutoff",
|
|
3444
3491
|
expected: "number",
|
|
@@ -3467,7 +3514,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3467
3514
|
path: _path2 + ".restrictAncestry",
|
|
3468
3515
|
expected: "RestrictAncestry",
|
|
3469
3516
|
value: input3.restrictAncestry
|
|
3470
|
-
})) && $
|
|
3517
|
+
})) && $vo68(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
|
|
3471
3518
|
path: _path2 + ".restrictAncestry",
|
|
3472
3519
|
expected: "RestrictAncestry",
|
|
3473
3520
|
value: input3.restrictAncestry
|
|
@@ -3492,7 +3539,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3492
3539
|
expected: "number",
|
|
3493
3540
|
value: input3.stop
|
|
3494
3541
|
})].every((flag) => flag);
|
|
3495
|
-
const $
|
|
3542
|
+
const $vo68 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
3496
3543
|
path: _path2 + ".name",
|
|
3497
3544
|
expected: "string",
|
|
3498
3545
|
value: input3.name
|
|
@@ -3505,7 +3552,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3505
3552
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
3506
3553
|
value: input3.tvs
|
|
3507
3554
|
})].every((flag) => flag);
|
|
3508
|
-
const $
|
|
3555
|
+
const $vo69 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3509
3556
|
path: _path2 + ".id",
|
|
3510
3557
|
expected: "string",
|
|
3511
3558
|
value: input3.id
|
|
@@ -3573,7 +3620,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3573
3620
|
path: _path2 + ".snps[" + _index53 + "]",
|
|
3574
3621
|
expected: "SnpsEntry",
|
|
3575
3622
|
value: elem
|
|
3576
|
-
})) && $
|
|
3623
|
+
})) && $vo70(elem, _path2 + ".snps[" + _index53 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3577
3624
|
path: _path2 + ".snps[" + _index53 + "]",
|
|
3578
3625
|
expected: "SnpsEntry",
|
|
3579
3626
|
value: elem
|
|
@@ -3582,7 +3629,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3582
3629
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3583
3630
|
value: input3.snps
|
|
3584
3631
|
})].every((flag) => flag);
|
|
3585
|
-
const $
|
|
3632
|
+
const $vo70 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3586
3633
|
path: _path2 + ".altAlleles",
|
|
3587
3634
|
expected: "(Array<string> | undefined)",
|
|
3588
3635
|
value: input3.altAlleles
|
|
@@ -3602,7 +3649,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3602
3649
|
path: _path2 + ".alleles[" + _index55 + "]",
|
|
3603
3650
|
expected: "AllelesEntry",
|
|
3604
3651
|
value: elem
|
|
3605
|
-
})) && $
|
|
3652
|
+
})) && $vo71(elem, _path2 + ".alleles[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3606
3653
|
path: _path2 + ".alleles[" + _index55 + "]",
|
|
3607
3654
|
expected: "AllelesEntry",
|
|
3608
3655
|
value: elem
|
|
@@ -3618,7 +3665,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3618
3665
|
path: _path2 + ".gt2count",
|
|
3619
3666
|
expected: "(__type.o7 | undefined)",
|
|
3620
3667
|
value: input3.gt2count
|
|
3621
|
-
})) && $
|
|
3668
|
+
})) && $vo72(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3622
3669
|
path: _path2 + ".gt2count",
|
|
3623
3670
|
expected: "(__type.o7 | undefined)",
|
|
3624
3671
|
value: input3.gt2count
|
|
@@ -3647,7 +3694,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3647
3694
|
expected: "(number | undefined)",
|
|
3648
3695
|
value: input3.pos
|
|
3649
3696
|
})].every((flag) => flag);
|
|
3650
|
-
const $
|
|
3697
|
+
const $vo71 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3651
3698
|
path: _path2 + ".allele",
|
|
3652
3699
|
expected: "string",
|
|
3653
3700
|
value: input3.allele
|
|
@@ -3660,7 +3707,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3660
3707
|
expected: "boolean",
|
|
3661
3708
|
value: input3.isRef
|
|
3662
3709
|
})].every((flag) => flag);
|
|
3663
|
-
const $
|
|
3710
|
+
const $vo72 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3664
3711
|
path: _path2 + ".k",
|
|
3665
3712
|
expected: "string",
|
|
3666
3713
|
value: input3.k
|
|
@@ -3669,7 +3716,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3669
3716
|
expected: "(number | string)",
|
|
3670
3717
|
value: input3.v
|
|
3671
3718
|
})].every((flag) => flag);
|
|
3672
|
-
const $
|
|
3719
|
+
const $vo73 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3673
3720
|
path: _path2 + ".id",
|
|
3674
3721
|
expected: "(string | undefined)",
|
|
3675
3722
|
value: input3.id
|
|
@@ -3697,24 +3744,24 @@ var validBoxPlotRequest = (input) => {
|
|
|
3697
3744
|
path: _path2 + ".type",
|
|
3698
3745
|
expected: '"SnpTW"',
|
|
3699
3746
|
value: input3.type
|
|
3700
|
-
}), ("object" === typeof input3.q && null !== input3.q
|
|
3747
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
3701
3748
|
path: _path2 + ".q",
|
|
3702
|
-
expected: '(
|
|
3749
|
+
expected: '(MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | MinBaseQ & { type: "filter"; })',
|
|
3703
3750
|
value: input3.q
|
|
3704
|
-
})) && $
|
|
3751
|
+
})) && $vu13(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3705
3752
|
path: _path2 + ".q",
|
|
3706
|
-
expected: '(
|
|
3753
|
+
expected: '(MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | MinBaseQ & { type: "filter"; })',
|
|
3707
3754
|
value: input3.q
|
|
3708
3755
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3709
3756
|
path: _path2 + ".term",
|
|
3710
3757
|
expected: "SnpTerm",
|
|
3711
3758
|
value: input3.term
|
|
3712
|
-
})) && $
|
|
3759
|
+
})) && $vo78(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3713
3760
|
path: _path2 + ".term",
|
|
3714
3761
|
expected: "SnpTerm",
|
|
3715
3762
|
value: input3.term
|
|
3716
3763
|
})].every((flag) => flag);
|
|
3717
|
-
const $
|
|
3764
|
+
const $vo74 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3718
3765
|
path: _path2 + ".hiddenValues",
|
|
3719
3766
|
expected: "(HiddenValues | undefined)",
|
|
3720
3767
|
value: input3.hiddenValues
|
|
@@ -3730,20 +3777,20 @@ var validBoxPlotRequest = (input) => {
|
|
|
3730
3777
|
path: _path2 + ".name",
|
|
3731
3778
|
expected: "(string | undefined)",
|
|
3732
3779
|
value: input3.name
|
|
3733
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3734
|
-
path: _path2 + ".mode",
|
|
3735
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
3736
|
-
value: input3.mode
|
|
3737
3780
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3738
3781
|
path: _path2 + ".reuseId",
|
|
3739
3782
|
expected: "(string | undefined)",
|
|
3740
3783
|
value: input3.reuseId
|
|
3741
|
-
}), void 0 === input3.
|
|
3784
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3785
|
+
path: _path2 + ".mode",
|
|
3786
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
3787
|
+
value: input3.mode
|
|
3788
|
+
}), "values" === input3.type || $report(_exceptionable2, {
|
|
3742
3789
|
path: _path2 + ".type",
|
|
3743
|
-
expected: '
|
|
3790
|
+
expected: '"values"',
|
|
3744
3791
|
value: input3.type
|
|
3745
3792
|
})].every((flag) => flag);
|
|
3746
|
-
const $
|
|
3793
|
+
const $vo75 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3747
3794
|
path: _path2 + ".hiddenValues",
|
|
3748
3795
|
expected: "(HiddenValues | undefined)",
|
|
3749
3796
|
value: input3.hiddenValues
|
|
@@ -3751,28 +3798,24 @@ var validBoxPlotRequest = (input) => {
|
|
|
3751
3798
|
path: _path2 + ".hiddenValues",
|
|
3752
3799
|
expected: "(HiddenValues | undefined)",
|
|
3753
3800
|
value: input3.hiddenValues
|
|
3754
|
-
}), void 0 === input3.isAtomic ||
|
|
3801
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3755
3802
|
path: _path2 + ".isAtomic",
|
|
3756
|
-
expected: "(
|
|
3803
|
+
expected: "(true | undefined)",
|
|
3757
3804
|
value: input3.isAtomic
|
|
3758
3805
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3759
3806
|
path: _path2 + ".name",
|
|
3760
3807
|
expected: "(string | undefined)",
|
|
3761
3808
|
value: input3.name
|
|
3762
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3763
|
-
path: _path2 + ".mode",
|
|
3764
|
-
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
3765
|
-
value: input3.mode
|
|
3766
3809
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3767
3810
|
path: _path2 + ".reuseId",
|
|
3768
3811
|
expected: "(string | undefined)",
|
|
3769
3812
|
value: input3.reuseId
|
|
3770
|
-
}),
|
|
3813
|
+
}), "filter" === input3.type || $report(_exceptionable2, {
|
|
3771
3814
|
path: _path2 + ".type",
|
|
3772
|
-
expected: '
|
|
3815
|
+
expected: '"filter"',
|
|
3773
3816
|
value: input3.type
|
|
3774
3817
|
})].every((flag) => flag);
|
|
3775
|
-
const $
|
|
3818
|
+
const $vo76 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3776
3819
|
path: _path2 + ".hiddenValues",
|
|
3777
3820
|
expected: "(HiddenValues | undefined)",
|
|
3778
3821
|
value: input3.hiddenValues
|
|
@@ -3788,24 +3831,24 @@ var validBoxPlotRequest = (input) => {
|
|
|
3788
3831
|
path: _path2 + ".name",
|
|
3789
3832
|
expected: "(string | undefined)",
|
|
3790
3833
|
value: input3.name
|
|
3791
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3792
|
-
path: _path2 + ".mode",
|
|
3793
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
3794
|
-
value: input3.mode
|
|
3795
3834
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3796
3835
|
path: _path2 + ".reuseId",
|
|
3797
3836
|
expected: "(string | undefined)",
|
|
3798
3837
|
value: input3.reuseId
|
|
3799
|
-
}), void 0 === input3.
|
|
3838
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3839
|
+
path: _path2 + ".mode",
|
|
3840
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
3841
|
+
value: input3.mode
|
|
3842
|
+
}), "predefined-groupset" === input3.type || $report(_exceptionable2, {
|
|
3800
3843
|
path: _path2 + ".type",
|
|
3801
|
-
expected: '
|
|
3844
|
+
expected: '"predefined-groupset"',
|
|
3802
3845
|
value: input3.type
|
|
3803
3846
|
}), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
|
|
3804
3847
|
path: _path2 + ".predefined_groupset_idx",
|
|
3805
3848
|
expected: "number",
|
|
3806
3849
|
value: input3.predefined_groupset_idx
|
|
3807
3850
|
})].every((flag) => flag);
|
|
3808
|
-
const $
|
|
3851
|
+
const $vo77 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3809
3852
|
path: _path2 + ".hiddenValues",
|
|
3810
3853
|
expected: "(HiddenValues | undefined)",
|
|
3811
3854
|
value: input3.hiddenValues
|
|
@@ -3821,17 +3864,17 @@ var validBoxPlotRequest = (input) => {
|
|
|
3821
3864
|
path: _path2 + ".name",
|
|
3822
3865
|
expected: "(string | undefined)",
|
|
3823
3866
|
value: input3.name
|
|
3824
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3825
|
-
path: _path2 + ".mode",
|
|
3826
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
3827
|
-
value: input3.mode
|
|
3828
3867
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3829
3868
|
path: _path2 + ".reuseId",
|
|
3830
3869
|
expected: "(string | undefined)",
|
|
3831
3870
|
value: input3.reuseId
|
|
3832
|
-
}), void 0 === input3.
|
|
3871
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3872
|
+
path: _path2 + ".mode",
|
|
3873
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
3874
|
+
value: input3.mode
|
|
3875
|
+
}), "custom-groupset" === input3.type || $report(_exceptionable2, {
|
|
3833
3876
|
path: _path2 + ".type",
|
|
3834
|
-
expected: '
|
|
3877
|
+
expected: '"custom-groupset"',
|
|
3835
3878
|
value: input3.type
|
|
3836
3879
|
}), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
|
|
3837
3880
|
path: _path2 + ".customset",
|
|
@@ -3842,7 +3885,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
3842
3885
|
expected: "BaseGroupSet",
|
|
3843
3886
|
value: input3.customset
|
|
3844
3887
|
})].every((flag) => flag);
|
|
3845
|
-
const $
|
|
3888
|
+
const $vo78 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3846
3889
|
path: _path2 + ".id",
|
|
3847
3890
|
expected: "string",
|
|
3848
3891
|
value: input3.id
|
|
@@ -3999,9 +4042,9 @@ var validBoxPlotRequest = (input) => {
|
|
|
3999
4042
|
})();
|
|
4000
4043
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4001
4044
|
if ("SnpTW" === input3.type)
|
|
4002
|
-
return $
|
|
4045
|
+
return $vo73(input3, _path2, _exceptionable2);
|
|
4003
4046
|
if ("SnpsTW" === input3.type)
|
|
4004
|
-
return $
|
|
4047
|
+
return $vo66(input3, _path2, _exceptionable2);
|
|
4005
4048
|
if ("ConditionTW" === input3.type)
|
|
4006
4049
|
return $vo63(input3, _path2, _exceptionable2);
|
|
4007
4050
|
if ("GvCustomGsTW" === input3.type)
|
|
@@ -4082,11 +4125,30 @@ var validBoxPlotRequest = (input) => {
|
|
|
4082
4125
|
});
|
|
4083
4126
|
})();
|
|
4084
4127
|
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4085
|
-
if (
|
|
4128
|
+
if ("grade" === input3.valueFor)
|
|
4129
|
+
return $vo64(input3, _path2, _exceptionable2);
|
|
4130
|
+
if ("children" === input3.valueFor)
|
|
4131
|
+
return $vo65(input3, _path2, _exceptionable2);
|
|
4132
|
+
return $report(_exceptionable2, {
|
|
4133
|
+
path: _path2,
|
|
4134
|
+
expected: "(ConditionGradeQ | ConditionChildrenQ)",
|
|
4135
|
+
value: input3
|
|
4136
|
+
});
|
|
4137
|
+
})();
|
|
4138
|
+
const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4139
|
+
if ("values" === input3.type)
|
|
4140
|
+
return $vo74(input3, _path2, _exceptionable2);
|
|
4141
|
+
if ("filter" === input3.type)
|
|
4086
4142
|
return $vo75(input3, _path2, _exceptionable2);
|
|
4087
|
-
if (
|
|
4143
|
+
if ("predefined-groupset" === input3.type)
|
|
4088
4144
|
return $vo76(input3, _path2, _exceptionable2);
|
|
4089
|
-
|
|
4145
|
+
if ("custom-groupset" === input3.type)
|
|
4146
|
+
return $vo77(input3, _path2, _exceptionable2);
|
|
4147
|
+
return $report(_exceptionable2, {
|
|
4148
|
+
path: _path2,
|
|
4149
|
+
expected: '(MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | MinBaseQ & { type: "filter"; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; })',
|
|
4150
|
+
value: input3
|
|
4151
|
+
});
|
|
4090
4152
|
})();
|
|
4091
4153
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
4092
4154
|
path: _path + "",
|
|
@@ -4109,17 +4171,29 @@ var validBoxPlotRequest = (input) => {
|
|
|
4109
4171
|
var validBoxPlotResponse = (input) => {
|
|
4110
4172
|
const errors = [];
|
|
4111
4173
|
const __is = (input2) => {
|
|
4112
|
-
const $
|
|
4113
|
-
const $
|
|
4114
|
-
const $
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4174
|
+
const $join = import_typia.createValidate.join;
|
|
4175
|
+
const $io0 = (input3) => (void 0 === input3.absMin || "number" === typeof input3.absMin) && (void 0 === input3.absMax || "number" === typeof input3.absMax) && ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) && $io1(input3.charts)) && (null === input3.uncomputableValues || Array.isArray(input3.uncomputableValues) && input3.uncomputableValues.every((elem) => "object" === typeof elem && null !== elem && $io8(elem))) && true;
|
|
4176
|
+
const $io1 = (input3) => Object.keys(input3).every((key) => {
|
|
4177
|
+
const value = input3[key];
|
|
4178
|
+
if (void 0 === value)
|
|
4179
|
+
return true;
|
|
4180
|
+
if (RegExp(/(.*)/).test(key))
|
|
4181
|
+
return "object" === typeof value && null !== value && $io2(value);
|
|
4182
|
+
return true;
|
|
4183
|
+
});
|
|
4184
|
+
const $io2 = (input3) => "string" === typeof input3.chartId && (Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && true && (void 0 === input3.absMin || "number" === typeof input3.absMin) && (void 0 === input3.absMax || "number" === typeof input3.absMax) && (null === input3.uncomputableValues || void 0 === input3.uncomputableValues || Array.isArray(input3.uncomputableValues) && input3.uncomputableValues.every((elem) => "object" === typeof elem && null !== elem && $io7(elem)));
|
|
4185
|
+
const $io3 = (input3) => "object" === typeof input3.boxplot && null !== input3.boxplot && $io4(input3.boxplot) && (void 0 === input3.color || "string" === typeof input3.color) && (Array.isArray(input3.descrStats) && input3.descrStats.every((elem) => "object" === typeof elem && null !== elem && $io6(elem))) && (void 0 === input3.isHidden || "boolean" === typeof input3.isHidden) && "string" === typeof input3.key && true && (void 0 === input3.seriesId || "string" === typeof input3.seriesId);
|
|
4186
|
+
const $io4 = (input3) => (void 0 === input3.w1 || "number" === typeof input3.w1) && (void 0 === input3.w2 || "number" === typeof input3.w2) && "number" === typeof input3.p05 && "number" === typeof input3.p25 && "number" === typeof input3.p50 && "number" === typeof input3.p75 && "number" === typeof input3.p95 && "number" === typeof input3.iqr && (Array.isArray(input3.out) && input3.out.every((elem) => "object" === typeof elem && null !== elem && $io5(elem))) && "string" === typeof input3.label;
|
|
4187
|
+
const $io5 = (input3) => "number" === typeof input3.value;
|
|
4188
|
+
const $io6 = (input3) => "string" === typeof input3.id && "string" === typeof input3.label && "number" === typeof input3.value;
|
|
4189
|
+
const $io7 = (input3) => "string" === typeof input3.label && "number" === typeof input3.value;
|
|
4190
|
+
const $io8 = (input3) => "string" === typeof input3.label && "number" === typeof input3.value;
|
|
4118
4191
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
4119
4192
|
};
|
|
4120
4193
|
if (false === __is(input)) {
|
|
4121
4194
|
const $report = import_typia.createValidate.report(errors);
|
|
4122
4195
|
((input2, _path, _exceptionable = true) => {
|
|
4196
|
+
const $join = import_typia.createValidate.join;
|
|
4123
4197
|
const $vo0 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.absMin || "number" === typeof input3.absMin || $report(_exceptionable2, {
|
|
4124
4198
|
path: _path2 + ".absMin",
|
|
4125
4199
|
expected: "(number | undefined)",
|
|
@@ -4128,44 +4202,97 @@ var validBoxPlotResponse = (input) => {
|
|
|
4128
4202
|
path: _path2 + ".absMax",
|
|
4129
4203
|
expected: "(number | undefined)",
|
|
4130
4204
|
value: input3.absMax
|
|
4205
|
+
}), ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) || $report(_exceptionable2, {
|
|
4206
|
+
path: _path2 + ".charts",
|
|
4207
|
+
expected: "__type",
|
|
4208
|
+
value: input3.charts
|
|
4209
|
+
})) && $vo1(input3.charts, _path2 + ".charts", _exceptionable2) || $report(_exceptionable2, {
|
|
4210
|
+
path: _path2 + ".charts",
|
|
4211
|
+
expected: "__type",
|
|
4212
|
+
value: input3.charts
|
|
4213
|
+
}), null === input3.uncomputableValues || (Array.isArray(input3.uncomputableValues) || $report(_exceptionable2, {
|
|
4214
|
+
path: _path2 + ".uncomputableValues",
|
|
4215
|
+
expected: "(Array<__type>.o2 | null)",
|
|
4216
|
+
value: input3.uncomputableValues
|
|
4217
|
+
})) && input3.uncomputableValues.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4218
|
+
path: _path2 + ".uncomputableValues[" + _index1 + "]",
|
|
4219
|
+
expected: "__type.o3",
|
|
4220
|
+
value: elem
|
|
4221
|
+
})) && $vo8(elem, _path2 + ".uncomputableValues[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4222
|
+
path: _path2 + ".uncomputableValues[" + _index1 + "]",
|
|
4223
|
+
expected: "__type.o3",
|
|
4224
|
+
value: elem
|
|
4225
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4226
|
+
path: _path2 + ".uncomputableValues",
|
|
4227
|
+
expected: "(Array<__type>.o2 | null)",
|
|
4228
|
+
value: input3.uncomputableValues
|
|
4229
|
+
}), true].every((flag) => flag);
|
|
4230
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
4231
|
+
const value = input3[key];
|
|
4232
|
+
if (void 0 === value)
|
|
4233
|
+
return true;
|
|
4234
|
+
if (RegExp(/(.*)/).test(key))
|
|
4235
|
+
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
4236
|
+
path: _path2 + $join(key),
|
|
4237
|
+
expected: "BoxPlotChartEntry",
|
|
4238
|
+
value
|
|
4239
|
+
})) && $vo2(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4240
|
+
path: _path2 + $join(key),
|
|
4241
|
+
expected: "BoxPlotChartEntry",
|
|
4242
|
+
value
|
|
4243
|
+
});
|
|
4244
|
+
return true;
|
|
4245
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
4246
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.chartId || $report(_exceptionable2, {
|
|
4247
|
+
path: _path2 + ".chartId",
|
|
4248
|
+
expected: "string",
|
|
4249
|
+
value: input3.chartId
|
|
4131
4250
|
}), (Array.isArray(input3.plots) || $report(_exceptionable2, {
|
|
4132
4251
|
path: _path2 + ".plots",
|
|
4133
4252
|
expected: "Array<BoxPlotEntry>",
|
|
4134
4253
|
value: input3.plots
|
|
4135
|
-
})) && input3.plots.map((elem,
|
|
4136
|
-
path: _path2 + ".plots[" +
|
|
4254
|
+
})) && input3.plots.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4255
|
+
path: _path2 + ".plots[" + _index2 + "]",
|
|
4137
4256
|
expected: "BoxPlotEntry",
|
|
4138
4257
|
value: elem
|
|
4139
|
-
})) && $
|
|
4140
|
-
path: _path2 + ".plots[" +
|
|
4258
|
+
})) && $vo3(elem, _path2 + ".plots[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4259
|
+
path: _path2 + ".plots[" + _index2 + "]",
|
|
4141
4260
|
expected: "BoxPlotEntry",
|
|
4142
4261
|
value: elem
|
|
4143
4262
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4144
4263
|
path: _path2 + ".plots",
|
|
4145
4264
|
expected: "Array<BoxPlotEntry>",
|
|
4146
4265
|
value: input3.plots
|
|
4147
|
-
}),
|
|
4266
|
+
}), true, void 0 === input3.absMin || "number" === typeof input3.absMin || $report(_exceptionable2, {
|
|
4267
|
+
path: _path2 + ".absMin",
|
|
4268
|
+
expected: "(number | undefined)",
|
|
4269
|
+
value: input3.absMin
|
|
4270
|
+
}), void 0 === input3.absMax || "number" === typeof input3.absMax || $report(_exceptionable2, {
|
|
4271
|
+
path: _path2 + ".absMax",
|
|
4272
|
+
expected: "(number | undefined)",
|
|
4273
|
+
value: input3.absMax
|
|
4274
|
+
}), null === input3.uncomputableValues || void 0 === input3.uncomputableValues || (Array.isArray(input3.uncomputableValues) || $report(_exceptionable2, {
|
|
4148
4275
|
path: _path2 + ".uncomputableValues",
|
|
4149
|
-
expected: "(Array<__type>.o1 | null)",
|
|
4276
|
+
expected: "(Array<__type>.o1 | null | undefined)",
|
|
4150
4277
|
value: input3.uncomputableValues
|
|
4151
|
-
})) && input3.uncomputableValues.map((elem,
|
|
4152
|
-
path: _path2 + ".uncomputableValues[" +
|
|
4153
|
-
expected: "__type.
|
|
4278
|
+
})) && input3.uncomputableValues.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4279
|
+
path: _path2 + ".uncomputableValues[" + _index3 + "]",
|
|
4280
|
+
expected: "__type.o2",
|
|
4154
4281
|
value: elem
|
|
4155
|
-
})) && $
|
|
4156
|
-
path: _path2 + ".uncomputableValues[" +
|
|
4157
|
-
expected: "__type.
|
|
4282
|
+
})) && $vo7(elem, _path2 + ".uncomputableValues[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4283
|
+
path: _path2 + ".uncomputableValues[" + _index3 + "]",
|
|
4284
|
+
expected: "__type.o2",
|
|
4158
4285
|
value: elem
|
|
4159
4286
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4160
4287
|
path: _path2 + ".uncomputableValues",
|
|
4161
|
-
expected: "(Array<__type>.o1 | null)",
|
|
4288
|
+
expected: "(Array<__type>.o1 | null | undefined)",
|
|
4162
4289
|
value: input3.uncomputableValues
|
|
4163
4290
|
})].every((flag) => flag);
|
|
4164
|
-
const $
|
|
4291
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.boxplot && null !== input3.boxplot || $report(_exceptionable2, {
|
|
4165
4292
|
path: _path2 + ".boxplot",
|
|
4166
4293
|
expected: "BoxPlotData & { label: string; }",
|
|
4167
4294
|
value: input3.boxplot
|
|
4168
|
-
})) && $
|
|
4295
|
+
})) && $vo4(input3.boxplot, _path2 + ".boxplot", _exceptionable2) || $report(_exceptionable2, {
|
|
4169
4296
|
path: _path2 + ".boxplot",
|
|
4170
4297
|
expected: "BoxPlotData & { label: string; }",
|
|
4171
4298
|
value: input3.boxplot
|
|
@@ -4177,12 +4304,12 @@ var validBoxPlotResponse = (input) => {
|
|
|
4177
4304
|
path: _path2 + ".descrStats",
|
|
4178
4305
|
expected: "Array<BoxPlotDescrStatsEntry>",
|
|
4179
4306
|
value: input3.descrStats
|
|
4180
|
-
})) && input3.descrStats.map((elem,
|
|
4181
|
-
path: _path2 + ".descrStats[" +
|
|
4307
|
+
})) && input3.descrStats.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4308
|
+
path: _path2 + ".descrStats[" + _index4 + "]",
|
|
4182
4309
|
expected: "BoxPlotDescrStatsEntry",
|
|
4183
4310
|
value: elem
|
|
4184
|
-
})) && $
|
|
4185
|
-
path: _path2 + ".descrStats[" +
|
|
4311
|
+
})) && $vo6(elem, _path2 + ".descrStats[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4312
|
+
path: _path2 + ".descrStats[" + _index4 + "]",
|
|
4186
4313
|
expected: "BoxPlotDescrStatsEntry",
|
|
4187
4314
|
value: elem
|
|
4188
4315
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4202,7 +4329,7 @@ var validBoxPlotResponse = (input) => {
|
|
|
4202
4329
|
expected: "(string | undefined)",
|
|
4203
4330
|
value: input3.seriesId
|
|
4204
4331
|
})].every((flag) => flag);
|
|
4205
|
-
const $
|
|
4332
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.w1 || "number" === typeof input3.w1 || $report(_exceptionable2, {
|
|
4206
4333
|
path: _path2 + ".w1",
|
|
4207
4334
|
expected: "(number | undefined)",
|
|
4208
4335
|
value: input3.w1
|
|
@@ -4238,13 +4365,13 @@ var validBoxPlotResponse = (input) => {
|
|
|
4238
4365
|
path: _path2 + ".out",
|
|
4239
4366
|
expected: "Array<__type>",
|
|
4240
4367
|
value: input3.out
|
|
4241
|
-
})) && input3.out.map((elem,
|
|
4242
|
-
path: _path2 + ".out[" +
|
|
4243
|
-
expected: "__type",
|
|
4368
|
+
})) && input3.out.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4369
|
+
path: _path2 + ".out[" + _index5 + "]",
|
|
4370
|
+
expected: "__type.o1",
|
|
4244
4371
|
value: elem
|
|
4245
|
-
})) && $
|
|
4246
|
-
path: _path2 + ".out[" +
|
|
4247
|
-
expected: "__type",
|
|
4372
|
+
})) && $vo5(elem, _path2 + ".out[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4373
|
+
path: _path2 + ".out[" + _index5 + "]",
|
|
4374
|
+
expected: "__type.o1",
|
|
4248
4375
|
value: elem
|
|
4249
4376
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4250
4377
|
path: _path2 + ".out",
|
|
@@ -4255,12 +4382,12 @@ var validBoxPlotResponse = (input) => {
|
|
|
4255
4382
|
expected: "string",
|
|
4256
4383
|
value: input3.label
|
|
4257
4384
|
})].every((flag) => flag);
|
|
4258
|
-
const $
|
|
4385
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
4259
4386
|
path: _path2 + ".value",
|
|
4260
4387
|
expected: "number",
|
|
4261
4388
|
value: input3.value
|
|
4262
4389
|
})].every((flag) => flag);
|
|
4263
|
-
const $
|
|
4390
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4264
4391
|
path: _path2 + ".id",
|
|
4265
4392
|
expected: "string",
|
|
4266
4393
|
value: input3.id
|
|
@@ -4273,7 +4400,16 @@ var validBoxPlotResponse = (input) => {
|
|
|
4273
4400
|
expected: "number",
|
|
4274
4401
|
value: input3.value
|
|
4275
4402
|
})].every((flag) => flag);
|
|
4276
|
-
const $
|
|
4403
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.label || $report(_exceptionable2, {
|
|
4404
|
+
path: _path2 + ".label",
|
|
4405
|
+
expected: "string",
|
|
4406
|
+
value: input3.label
|
|
4407
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
4408
|
+
path: _path2 + ".value",
|
|
4409
|
+
expected: "number",
|
|
4410
|
+
value: input3.value
|
|
4411
|
+
})].every((flag) => flag);
|
|
4412
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.label || $report(_exceptionable2, {
|
|
4277
4413
|
path: _path2 + ".label",
|
|
4278
4414
|
expected: "string",
|
|
4279
4415
|
value: input3.label
|