@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.descrstats.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
@@ -96,9 +96,9 @@ var validDescrStatsRequest = (input) => {
|
|
|
96
96
|
return "number" === typeof value;
|
|
97
97
|
return true;
|
|
98
98
|
});
|
|
99
|
-
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);
|
|
100
|
-
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);
|
|
101
|
-
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);
|
|
99
|
+
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);
|
|
100
|
+
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);
|
|
101
|
+
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);
|
|
102
102
|
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);
|
|
103
103
|
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);
|
|
104
104
|
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;
|
|
@@ -144,21 +144,22 @@ var validDescrStatsRequest = (input) => {
|
|
|
144
144
|
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;
|
|
145
145
|
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));
|
|
146
146
|
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));
|
|
147
|
-
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 && $
|
|
148
|
-
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 ||
|
|
149
|
-
const $io65 = (input3) => (void 0 === input3.
|
|
150
|
-
const $io66 = (input3) => (void 0 === input3.
|
|
151
|
-
const $io67 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.
|
|
152
|
-
const $io68 = (input3) => "string" === typeof input3.
|
|
153
|
-
const $io69 = (input3) => (void 0 === input3.
|
|
154
|
-
const $io70 = (input3) => "string" === typeof input3.
|
|
155
|
-
const $io71 = (input3) => "string" === typeof input3.
|
|
156
|
-
const $io72 = (input3) =>
|
|
157
|
-
const $io73 = (input3) => (void 0 === input3.
|
|
158
|
-
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 ||
|
|
159
|
-
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.
|
|
160
|
-
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.
|
|
161
|
-
const $io77 = (input3) =>
|
|
147
|
+
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));
|
|
148
|
+
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;
|
|
149
|
+
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;
|
|
150
|
+
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));
|
|
151
|
+
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;
|
|
152
|
+
const $io68 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
153
|
+
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)));
|
|
154
|
+
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);
|
|
155
|
+
const $io71 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
156
|
+
const $io72 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
157
|
+
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));
|
|
158
|
+
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;
|
|
159
|
+
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;
|
|
160
|
+
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;
|
|
161
|
+
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));
|
|
162
|
+
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));
|
|
162
163
|
const $iu0 = (input3) => (() => {
|
|
163
164
|
if ("tvslst" === input3.type)
|
|
164
165
|
return $io6(input3);
|
|
@@ -203,9 +204,9 @@ var validDescrStatsRequest = (input) => {
|
|
|
203
204
|
})();
|
|
204
205
|
const $iu6 = (input3) => (() => {
|
|
205
206
|
if ("SnpTW" === input3.type)
|
|
206
|
-
return $
|
|
207
|
+
return $io73(input3);
|
|
207
208
|
if ("SnpsTW" === input3.type)
|
|
208
|
-
return $
|
|
209
|
+
return $io66(input3);
|
|
209
210
|
if ("ConditionTW" === input3.type)
|
|
210
211
|
return $io63(input3);
|
|
211
212
|
if ("GvCustomGsTW" === input3.type)
|
|
@@ -284,17 +285,22 @@ var validDescrStatsRequest = (input) => {
|
|
|
284
285
|
return false;
|
|
285
286
|
})();
|
|
286
287
|
const $iu12 = (input3) => (() => {
|
|
287
|
-
if (
|
|
288
|
+
if ("grade" === input3.valueFor)
|
|
289
|
+
return $io64(input3);
|
|
290
|
+
if ("children" === input3.valueFor)
|
|
291
|
+
return $io65(input3);
|
|
292
|
+
return false;
|
|
293
|
+
})();
|
|
294
|
+
const $iu13 = (input3) => (() => {
|
|
295
|
+
if ("values" === input3.type)
|
|
296
|
+
return $io74(input3);
|
|
297
|
+
if ("filter" === input3.type)
|
|
288
298
|
return $io75(input3);
|
|
289
|
-
if (
|
|
299
|
+
if ("predefined-groupset" === input3.type)
|
|
290
300
|
return $io76(input3);
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
if ($io73(input3))
|
|
295
|
-
return $io73(input3);
|
|
296
|
-
return false;
|
|
297
|
-
})();
|
|
301
|
+
if ("custom-groupset" === input3.type)
|
|
302
|
+
return $io77(input3);
|
|
303
|
+
return false;
|
|
298
304
|
})();
|
|
299
305
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
300
306
|
};
|
|
@@ -856,6 +862,10 @@ var validDescrStatsRequest = (input) => {
|
|
|
856
862
|
path: _path2 + ".label",
|
|
857
863
|
expected: "(string | undefined)",
|
|
858
864
|
value: input3.label
|
|
865
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
866
|
+
path: _path2 + ".range",
|
|
867
|
+
expected: "(string | undefined)",
|
|
868
|
+
value: input3.range
|
|
859
869
|
})].every((flag) => flag);
|
|
860
870
|
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
861
871
|
path: _path2 + ".startunbounded",
|
|
@@ -885,6 +895,10 @@ var validDescrStatsRequest = (input) => {
|
|
|
885
895
|
path: _path2 + ".label",
|
|
886
896
|
expected: "(string | undefined)",
|
|
887
897
|
value: input3.label
|
|
898
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
899
|
+
path: _path2 + ".range",
|
|
900
|
+
expected: "(string | undefined)",
|
|
901
|
+
value: input3.range
|
|
888
902
|
})].every((flag) => flag);
|
|
889
903
|
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
890
904
|
path: _path2 + ".start",
|
|
@@ -910,6 +924,10 @@ var validDescrStatsRequest = (input) => {
|
|
|
910
924
|
path: _path2 + ".label",
|
|
911
925
|
expected: "(string | undefined)",
|
|
912
926
|
value: input3.label
|
|
927
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
928
|
+
path: _path2 + ".range",
|
|
929
|
+
expected: "(string | undefined)",
|
|
930
|
+
value: input3.range
|
|
913
931
|
})].every((flag) => flag);
|
|
914
932
|
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
915
933
|
path: _path2 + ".hiddenValues",
|
|
@@ -3271,11 +3289,11 @@ var validDescrStatsRequest = (input) => {
|
|
|
3271
3289
|
value: input3.term
|
|
3272
3290
|
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
3273
3291
|
path: _path2 + ".q",
|
|
3274
|
-
expected: "
|
|
3292
|
+
expected: "(ConditionChildrenQ | ConditionGradeQ)",
|
|
3275
3293
|
value: input3.q
|
|
3276
|
-
})) && $
|
|
3294
|
+
})) && $vu12(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3277
3295
|
path: _path2 + ".q",
|
|
3278
|
-
expected: "
|
|
3296
|
+
expected: "(ConditionChildrenQ | ConditionGradeQ)",
|
|
3279
3297
|
value: input3.q
|
|
3280
3298
|
})].every((flag) => flag);
|
|
3281
3299
|
const $vo64 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
@@ -3286,34 +3304,34 @@ var validDescrStatsRequest = (input) => {
|
|
|
3286
3304
|
path: _path2 + ".hiddenValues",
|
|
3287
3305
|
expected: "(HiddenValues | undefined)",
|
|
3288
3306
|
value: input3.hiddenValues
|
|
3289
|
-
}), void 0 === input3.isAtomic ||
|
|
3307
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3290
3308
|
path: _path2 + ".isAtomic",
|
|
3291
|
-
expected: "(
|
|
3309
|
+
expected: "(true | undefined)",
|
|
3292
3310
|
value: input3.isAtomic
|
|
3293
3311
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3294
3312
|
path: _path2 + ".name",
|
|
3295
3313
|
expected: "(string | undefined)",
|
|
3296
3314
|
value: input3.name
|
|
3297
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3298
|
-
path: _path2 + ".mode",
|
|
3299
|
-
expected: '("binary" | "cox" | "cuminc" | "discrete" | undefined)',
|
|
3300
|
-
value: input3.mode
|
|
3301
3315
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3302
3316
|
path: _path2 + ".reuseId",
|
|
3303
3317
|
expected: "(string | undefined)",
|
|
3304
3318
|
value: input3.reuseId
|
|
3305
|
-
}),
|
|
3306
|
-
path: _path2 + ".
|
|
3307
|
-
expected: '("
|
|
3308
|
-
value: input3.
|
|
3309
|
-
}),
|
|
3310
|
-
path: _path2 + ".
|
|
3311
|
-
expected: "
|
|
3312
|
-
value: input3.
|
|
3313
|
-
}),
|
|
3319
|
+
}), "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3320
|
+
path: _path2 + ".mode",
|
|
3321
|
+
expected: '("binary" | "cox" | "cuminc" | "discrete")',
|
|
3322
|
+
value: input3.mode
|
|
3323
|
+
}), "grade" === input3.valueFor || $report(_exceptionable2, {
|
|
3324
|
+
path: _path2 + ".valueFor",
|
|
3325
|
+
expected: '"grade"',
|
|
3326
|
+
value: input3.valueFor
|
|
3327
|
+
}), true === input3.bar_by_grade || $report(_exceptionable2, {
|
|
3314
3328
|
path: _path2 + ".bar_by_grade",
|
|
3315
|
-
expected: "
|
|
3329
|
+
expected: "true",
|
|
3316
3330
|
value: input3.bar_by_grade
|
|
3331
|
+
}), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
|
|
3332
|
+
path: _path2 + ".timeScale",
|
|
3333
|
+
expected: '("age" | "time")',
|
|
3334
|
+
value: input3.timeScale
|
|
3317
3335
|
}), void 0 === input3.breaks || (Array.isArray(input3.breaks) || $report(_exceptionable2, {
|
|
3318
3336
|
path: _path2 + ".breaks",
|
|
3319
3337
|
expected: "(Array<number> | undefined)",
|
|
@@ -3326,10 +3344,6 @@ var validDescrStatsRequest = (input) => {
|
|
|
3326
3344
|
path: _path2 + ".breaks",
|
|
3327
3345
|
expected: "(Array<number> | undefined)",
|
|
3328
3346
|
value: input3.breaks
|
|
3329
|
-
}), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
|
|
3330
|
-
path: _path2 + ".timeScale",
|
|
3331
|
-
expected: '("age" | "time")',
|
|
3332
|
-
value: input3.timeScale
|
|
3333
3347
|
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
3334
3348
|
path: _path2 + ".value_by_max_grade",
|
|
3335
3349
|
expected: "(boolean | undefined)",
|
|
@@ -3343,7 +3357,40 @@ var validDescrStatsRequest = (input) => {
|
|
|
3343
3357
|
expected: "(boolean | undefined)",
|
|
3344
3358
|
value: input3.value_by_computable_grade
|
|
3345
3359
|
}), true].every((flag) => flag);
|
|
3346
|
-
const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.
|
|
3360
|
+
const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3361
|
+
path: _path2 + ".hiddenValues",
|
|
3362
|
+
expected: "(HiddenValues | undefined)",
|
|
3363
|
+
value: input3.hiddenValues
|
|
3364
|
+
})) && $vo14(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3365
|
+
path: _path2 + ".hiddenValues",
|
|
3366
|
+
expected: "(HiddenValues | undefined)",
|
|
3367
|
+
value: input3.hiddenValues
|
|
3368
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3369
|
+
path: _path2 + ".isAtomic",
|
|
3370
|
+
expected: "(true | undefined)",
|
|
3371
|
+
value: input3.isAtomic
|
|
3372
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3373
|
+
path: _path2 + ".name",
|
|
3374
|
+
expected: "(string | undefined)",
|
|
3375
|
+
value: input3.name
|
|
3376
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3377
|
+
path: _path2 + ".reuseId",
|
|
3378
|
+
expected: "(string | undefined)",
|
|
3379
|
+
value: input3.reuseId
|
|
3380
|
+
}), "discrete" === input3.mode || $report(_exceptionable2, {
|
|
3381
|
+
path: _path2 + ".mode",
|
|
3382
|
+
expected: '"discrete"',
|
|
3383
|
+
value: input3.mode
|
|
3384
|
+
}), "children" === input3.valueFor || $report(_exceptionable2, {
|
|
3385
|
+
path: _path2 + ".valueFor",
|
|
3386
|
+
expected: '"children"',
|
|
3387
|
+
value: input3.valueFor
|
|
3388
|
+
}), true === input3.bar_by_children || $report(_exceptionable2, {
|
|
3389
|
+
path: _path2 + ".bar_by_children",
|
|
3390
|
+
expected: "true",
|
|
3391
|
+
value: input3.bar_by_children
|
|
3392
|
+
}), true].every((flag) => flag);
|
|
3393
|
+
const $vo66 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3347
3394
|
path: _path2 + ".id",
|
|
3348
3395
|
expected: "(string | undefined)",
|
|
3349
3396
|
value: input3.id
|
|
@@ -3375,7 +3422,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3375
3422
|
path: _path2 + ".q",
|
|
3376
3423
|
expected: "SnpsQ",
|
|
3377
3424
|
value: input3.q
|
|
3378
|
-
})) && $
|
|
3425
|
+
})) && $vo67(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3379
3426
|
path: _path2 + ".q",
|
|
3380
3427
|
expected: "SnpsQ",
|
|
3381
3428
|
value: input3.q
|
|
@@ -3383,12 +3430,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
3383
3430
|
path: _path2 + ".term",
|
|
3384
3431
|
expected: "SnpsTerm",
|
|
3385
3432
|
value: input3.term
|
|
3386
|
-
})) && $
|
|
3433
|
+
})) && $vo69(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3387
3434
|
path: _path2 + ".term",
|
|
3388
3435
|
expected: "SnpsTerm",
|
|
3389
3436
|
value: input3.term
|
|
3390
3437
|
})].every((flag) => flag);
|
|
3391
|
-
const $
|
|
3438
|
+
const $vo67 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3392
3439
|
path: _path2 + ".hiddenValues",
|
|
3393
3440
|
expected: "(HiddenValues | undefined)",
|
|
3394
3441
|
value: input3.hiddenValues
|
|
@@ -3396,26 +3443,18 @@ var validDescrStatsRequest = (input) => {
|
|
|
3396
3443
|
path: _path2 + ".hiddenValues",
|
|
3397
3444
|
expected: "(HiddenValues | undefined)",
|
|
3398
3445
|
value: input3.hiddenValues
|
|
3399
|
-
}), void 0 === input3.isAtomic ||
|
|
3446
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3400
3447
|
path: _path2 + ".isAtomic",
|
|
3401
|
-
expected: "(
|
|
3448
|
+
expected: "(true | undefined)",
|
|
3402
3449
|
value: input3.isAtomic
|
|
3403
3450
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3404
3451
|
path: _path2 + ".name",
|
|
3405
3452
|
expected: "(string | undefined)",
|
|
3406
3453
|
value: input3.name
|
|
3407
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3408
|
-
path: _path2 + ".mode",
|
|
3409
|
-
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
3410
|
-
value: input3.mode
|
|
3411
3454
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3412
3455
|
path: _path2 + ".reuseId",
|
|
3413
3456
|
expected: "(string | undefined)",
|
|
3414
3457
|
value: input3.reuseId
|
|
3415
|
-
}), 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, {
|
|
3416
|
-
path: _path2 + ".type",
|
|
3417
|
-
expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
|
|
3418
|
-
value: input3.type
|
|
3419
3458
|
}), "number" === typeof input3.AFcutoff || $report(_exceptionable2, {
|
|
3420
3459
|
path: _path2 + ".AFcutoff",
|
|
3421
3460
|
expected: "number",
|
|
@@ -3444,7 +3483,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3444
3483
|
path: _path2 + ".restrictAncestry",
|
|
3445
3484
|
expected: "RestrictAncestry",
|
|
3446
3485
|
value: input3.restrictAncestry
|
|
3447
|
-
})) && $
|
|
3486
|
+
})) && $vo68(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
|
|
3448
3487
|
path: _path2 + ".restrictAncestry",
|
|
3449
3488
|
expected: "RestrictAncestry",
|
|
3450
3489
|
value: input3.restrictAncestry
|
|
@@ -3469,7 +3508,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3469
3508
|
expected: "number",
|
|
3470
3509
|
value: input3.stop
|
|
3471
3510
|
})].every((flag) => flag);
|
|
3472
|
-
const $
|
|
3511
|
+
const $vo68 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
3473
3512
|
path: _path2 + ".name",
|
|
3474
3513
|
expected: "string",
|
|
3475
3514
|
value: input3.name
|
|
@@ -3482,7 +3521,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3482
3521
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
3483
3522
|
value: input3.tvs
|
|
3484
3523
|
})].every((flag) => flag);
|
|
3485
|
-
const $
|
|
3524
|
+
const $vo69 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3486
3525
|
path: _path2 + ".id",
|
|
3487
3526
|
expected: "string",
|
|
3488
3527
|
value: input3.id
|
|
@@ -3550,7 +3589,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3550
3589
|
path: _path2 + ".snps[" + _index53 + "]",
|
|
3551
3590
|
expected: "SnpsEntry",
|
|
3552
3591
|
value: elem
|
|
3553
|
-
})) && $
|
|
3592
|
+
})) && $vo70(elem, _path2 + ".snps[" + _index53 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3554
3593
|
path: _path2 + ".snps[" + _index53 + "]",
|
|
3555
3594
|
expected: "SnpsEntry",
|
|
3556
3595
|
value: elem
|
|
@@ -3559,7 +3598,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3559
3598
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3560
3599
|
value: input3.snps
|
|
3561
3600
|
})].every((flag) => flag);
|
|
3562
|
-
const $
|
|
3601
|
+
const $vo70 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3563
3602
|
path: _path2 + ".altAlleles",
|
|
3564
3603
|
expected: "(Array<string> | undefined)",
|
|
3565
3604
|
value: input3.altAlleles
|
|
@@ -3579,7 +3618,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3579
3618
|
path: _path2 + ".alleles[" + _index55 + "]",
|
|
3580
3619
|
expected: "AllelesEntry",
|
|
3581
3620
|
value: elem
|
|
3582
|
-
})) && $
|
|
3621
|
+
})) && $vo71(elem, _path2 + ".alleles[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3583
3622
|
path: _path2 + ".alleles[" + _index55 + "]",
|
|
3584
3623
|
expected: "AllelesEntry",
|
|
3585
3624
|
value: elem
|
|
@@ -3595,7 +3634,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3595
3634
|
path: _path2 + ".gt2count",
|
|
3596
3635
|
expected: "(__type.o7 | undefined)",
|
|
3597
3636
|
value: input3.gt2count
|
|
3598
|
-
})) && $
|
|
3637
|
+
})) && $vo72(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3599
3638
|
path: _path2 + ".gt2count",
|
|
3600
3639
|
expected: "(__type.o7 | undefined)",
|
|
3601
3640
|
value: input3.gt2count
|
|
@@ -3624,7 +3663,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3624
3663
|
expected: "(number | undefined)",
|
|
3625
3664
|
value: input3.pos
|
|
3626
3665
|
})].every((flag) => flag);
|
|
3627
|
-
const $
|
|
3666
|
+
const $vo71 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3628
3667
|
path: _path2 + ".allele",
|
|
3629
3668
|
expected: "string",
|
|
3630
3669
|
value: input3.allele
|
|
@@ -3637,7 +3676,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3637
3676
|
expected: "boolean",
|
|
3638
3677
|
value: input3.isRef
|
|
3639
3678
|
})].every((flag) => flag);
|
|
3640
|
-
const $
|
|
3679
|
+
const $vo72 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3641
3680
|
path: _path2 + ".k",
|
|
3642
3681
|
expected: "string",
|
|
3643
3682
|
value: input3.k
|
|
@@ -3646,7 +3685,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3646
3685
|
expected: "(number | string)",
|
|
3647
3686
|
value: input3.v
|
|
3648
3687
|
})].every((flag) => flag);
|
|
3649
|
-
const $
|
|
3688
|
+
const $vo73 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3650
3689
|
path: _path2 + ".id",
|
|
3651
3690
|
expected: "(string | undefined)",
|
|
3652
3691
|
value: input3.id
|
|
@@ -3674,24 +3713,24 @@ var validDescrStatsRequest = (input) => {
|
|
|
3674
3713
|
path: _path2 + ".type",
|
|
3675
3714
|
expected: '"SnpTW"',
|
|
3676
3715
|
value: input3.type
|
|
3677
|
-
}), ("object" === typeof input3.q && null !== input3.q
|
|
3716
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
3678
3717
|
path: _path2 + ".q",
|
|
3679
|
-
expected: '(
|
|
3718
|
+
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"; })',
|
|
3680
3719
|
value: input3.q
|
|
3681
|
-
})) && $
|
|
3720
|
+
})) && $vu13(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3682
3721
|
path: _path2 + ".q",
|
|
3683
|
-
expected: '(
|
|
3722
|
+
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"; })',
|
|
3684
3723
|
value: input3.q
|
|
3685
3724
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3686
3725
|
path: _path2 + ".term",
|
|
3687
3726
|
expected: "SnpTerm",
|
|
3688
3727
|
value: input3.term
|
|
3689
|
-
})) && $
|
|
3728
|
+
})) && $vo78(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3690
3729
|
path: _path2 + ".term",
|
|
3691
3730
|
expected: "SnpTerm",
|
|
3692
3731
|
value: input3.term
|
|
3693
3732
|
})].every((flag) => flag);
|
|
3694
|
-
const $
|
|
3733
|
+
const $vo74 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3695
3734
|
path: _path2 + ".hiddenValues",
|
|
3696
3735
|
expected: "(HiddenValues | undefined)",
|
|
3697
3736
|
value: input3.hiddenValues
|
|
@@ -3707,20 +3746,20 @@ var validDescrStatsRequest = (input) => {
|
|
|
3707
3746
|
path: _path2 + ".name",
|
|
3708
3747
|
expected: "(string | undefined)",
|
|
3709
3748
|
value: input3.name
|
|
3710
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3711
|
-
path: _path2 + ".mode",
|
|
3712
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
3713
|
-
value: input3.mode
|
|
3714
3749
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3715
3750
|
path: _path2 + ".reuseId",
|
|
3716
3751
|
expected: "(string | undefined)",
|
|
3717
3752
|
value: input3.reuseId
|
|
3718
|
-
}), void 0 === input3.
|
|
3753
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3754
|
+
path: _path2 + ".mode",
|
|
3755
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
3756
|
+
value: input3.mode
|
|
3757
|
+
}), "values" === input3.type || $report(_exceptionable2, {
|
|
3719
3758
|
path: _path2 + ".type",
|
|
3720
|
-
expected: '
|
|
3759
|
+
expected: '"values"',
|
|
3721
3760
|
value: input3.type
|
|
3722
3761
|
})].every((flag) => flag);
|
|
3723
|
-
const $
|
|
3762
|
+
const $vo75 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3724
3763
|
path: _path2 + ".hiddenValues",
|
|
3725
3764
|
expected: "(HiddenValues | undefined)",
|
|
3726
3765
|
value: input3.hiddenValues
|
|
@@ -3728,28 +3767,24 @@ var validDescrStatsRequest = (input) => {
|
|
|
3728
3767
|
path: _path2 + ".hiddenValues",
|
|
3729
3768
|
expected: "(HiddenValues | undefined)",
|
|
3730
3769
|
value: input3.hiddenValues
|
|
3731
|
-
}), void 0 === input3.isAtomic ||
|
|
3770
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3732
3771
|
path: _path2 + ".isAtomic",
|
|
3733
|
-
expected: "(
|
|
3772
|
+
expected: "(true | undefined)",
|
|
3734
3773
|
value: input3.isAtomic
|
|
3735
3774
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3736
3775
|
path: _path2 + ".name",
|
|
3737
3776
|
expected: "(string | undefined)",
|
|
3738
3777
|
value: input3.name
|
|
3739
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3740
|
-
path: _path2 + ".mode",
|
|
3741
|
-
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
3742
|
-
value: input3.mode
|
|
3743
3778
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3744
3779
|
path: _path2 + ".reuseId",
|
|
3745
3780
|
expected: "(string | undefined)",
|
|
3746
3781
|
value: input3.reuseId
|
|
3747
|
-
}),
|
|
3782
|
+
}), "filter" === input3.type || $report(_exceptionable2, {
|
|
3748
3783
|
path: _path2 + ".type",
|
|
3749
|
-
expected: '
|
|
3784
|
+
expected: '"filter"',
|
|
3750
3785
|
value: input3.type
|
|
3751
3786
|
})].every((flag) => flag);
|
|
3752
|
-
const $
|
|
3787
|
+
const $vo76 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3753
3788
|
path: _path2 + ".hiddenValues",
|
|
3754
3789
|
expected: "(HiddenValues | undefined)",
|
|
3755
3790
|
value: input3.hiddenValues
|
|
@@ -3765,24 +3800,24 @@ var validDescrStatsRequest = (input) => {
|
|
|
3765
3800
|
path: _path2 + ".name",
|
|
3766
3801
|
expected: "(string | undefined)",
|
|
3767
3802
|
value: input3.name
|
|
3768
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3769
|
-
path: _path2 + ".mode",
|
|
3770
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
3771
|
-
value: input3.mode
|
|
3772
3803
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3773
3804
|
path: _path2 + ".reuseId",
|
|
3774
3805
|
expected: "(string | undefined)",
|
|
3775
3806
|
value: input3.reuseId
|
|
3776
|
-
}), void 0 === input3.
|
|
3807
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3808
|
+
path: _path2 + ".mode",
|
|
3809
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
3810
|
+
value: input3.mode
|
|
3811
|
+
}), "predefined-groupset" === input3.type || $report(_exceptionable2, {
|
|
3777
3812
|
path: _path2 + ".type",
|
|
3778
|
-
expected: '
|
|
3813
|
+
expected: '"predefined-groupset"',
|
|
3779
3814
|
value: input3.type
|
|
3780
3815
|
}), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
|
|
3781
3816
|
path: _path2 + ".predefined_groupset_idx",
|
|
3782
3817
|
expected: "number",
|
|
3783
3818
|
value: input3.predefined_groupset_idx
|
|
3784
3819
|
})].every((flag) => flag);
|
|
3785
|
-
const $
|
|
3820
|
+
const $vo77 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3786
3821
|
path: _path2 + ".hiddenValues",
|
|
3787
3822
|
expected: "(HiddenValues | undefined)",
|
|
3788
3823
|
value: input3.hiddenValues
|
|
@@ -3798,17 +3833,17 @@ var validDescrStatsRequest = (input) => {
|
|
|
3798
3833
|
path: _path2 + ".name",
|
|
3799
3834
|
expected: "(string | undefined)",
|
|
3800
3835
|
value: input3.name
|
|
3801
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3802
|
-
path: _path2 + ".mode",
|
|
3803
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
3804
|
-
value: input3.mode
|
|
3805
3836
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3806
3837
|
path: _path2 + ".reuseId",
|
|
3807
3838
|
expected: "(string | undefined)",
|
|
3808
3839
|
value: input3.reuseId
|
|
3809
|
-
}), void 0 === input3.
|
|
3840
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3841
|
+
path: _path2 + ".mode",
|
|
3842
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
3843
|
+
value: input3.mode
|
|
3844
|
+
}), "custom-groupset" === input3.type || $report(_exceptionable2, {
|
|
3810
3845
|
path: _path2 + ".type",
|
|
3811
|
-
expected: '
|
|
3846
|
+
expected: '"custom-groupset"',
|
|
3812
3847
|
value: input3.type
|
|
3813
3848
|
}), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
|
|
3814
3849
|
path: _path2 + ".customset",
|
|
@@ -3819,7 +3854,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3819
3854
|
expected: "BaseGroupSet",
|
|
3820
3855
|
value: input3.customset
|
|
3821
3856
|
})].every((flag) => flag);
|
|
3822
|
-
const $
|
|
3857
|
+
const $vo78 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3823
3858
|
path: _path2 + ".id",
|
|
3824
3859
|
expected: "string",
|
|
3825
3860
|
value: input3.id
|
|
@@ -3976,9 +4011,9 @@ var validDescrStatsRequest = (input) => {
|
|
|
3976
4011
|
})();
|
|
3977
4012
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3978
4013
|
if ("SnpTW" === input3.type)
|
|
3979
|
-
return $
|
|
4014
|
+
return $vo73(input3, _path2, _exceptionable2);
|
|
3980
4015
|
if ("SnpsTW" === input3.type)
|
|
3981
|
-
return $
|
|
4016
|
+
return $vo66(input3, _path2, _exceptionable2);
|
|
3982
4017
|
if ("ConditionTW" === input3.type)
|
|
3983
4018
|
return $vo63(input3, _path2, _exceptionable2);
|
|
3984
4019
|
if ("GvCustomGsTW" === input3.type)
|
|
@@ -4059,11 +4094,30 @@ var validDescrStatsRequest = (input) => {
|
|
|
4059
4094
|
});
|
|
4060
4095
|
})();
|
|
4061
4096
|
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4062
|
-
if (
|
|
4097
|
+
if ("grade" === input3.valueFor)
|
|
4098
|
+
return $vo64(input3, _path2, _exceptionable2);
|
|
4099
|
+
if ("children" === input3.valueFor)
|
|
4100
|
+
return $vo65(input3, _path2, _exceptionable2);
|
|
4101
|
+
return $report(_exceptionable2, {
|
|
4102
|
+
path: _path2,
|
|
4103
|
+
expected: "(ConditionGradeQ | ConditionChildrenQ)",
|
|
4104
|
+
value: input3
|
|
4105
|
+
});
|
|
4106
|
+
})();
|
|
4107
|
+
const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4108
|
+
if ("values" === input3.type)
|
|
4109
|
+
return $vo74(input3, _path2, _exceptionable2);
|
|
4110
|
+
if ("filter" === input3.type)
|
|
4063
4111
|
return $vo75(input3, _path2, _exceptionable2);
|
|
4064
|
-
if (
|
|
4112
|
+
if ("predefined-groupset" === input3.type)
|
|
4065
4113
|
return $vo76(input3, _path2, _exceptionable2);
|
|
4066
|
-
|
|
4114
|
+
if ("custom-groupset" === input3.type)
|
|
4115
|
+
return $vo77(input3, _path2, _exceptionable2);
|
|
4116
|
+
return $report(_exceptionable2, {
|
|
4117
|
+
path: _path2,
|
|
4118
|
+
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; })',
|
|
4119
|
+
value: input3
|
|
4120
|
+
});
|
|
4067
4121
|
})();
|
|
4068
4122
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
4069
4123
|
path: _path + "",
|