@sjcrh/proteinpaint-types 2.142.0 → 2.144.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-WMI4VKU3.js → chunk-D6IBJJ63.js} +210 -51
- 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-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 +45 -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.topTermsByType.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
@@ -56,9 +56,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
56
56
|
return "number" === typeof value;
|
|
57
57
|
return true;
|
|
58
58
|
});
|
|
59
|
-
const $io18 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
60
|
-
const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
61
|
-
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
59
|
+
const $io18 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
60
|
+
const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
61
|
+
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
62
62
|
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
63
63
|
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
64
64
|
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
@@ -770,6 +770,10 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
770
770
|
path: _path2 + ".label",
|
|
771
771
|
expected: "(string | undefined)",
|
|
772
772
|
value: input3.label
|
|
773
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
774
|
+
path: _path2 + ".range",
|
|
775
|
+
expected: "(string | undefined)",
|
|
776
|
+
value: input3.range
|
|
773
777
|
})].every((flag) => flag);
|
|
774
778
|
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
775
779
|
path: _path2 + ".startunbounded",
|
|
@@ -799,6 +803,10 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
799
803
|
path: _path2 + ".label",
|
|
800
804
|
expected: "(string | undefined)",
|
|
801
805
|
value: input3.label
|
|
806
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
807
|
+
path: _path2 + ".range",
|
|
808
|
+
expected: "(string | undefined)",
|
|
809
|
+
value: input3.range
|
|
802
810
|
})].every((flag) => flag);
|
|
803
811
|
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
804
812
|
path: _path2 + ".start",
|
|
@@ -824,6 +832,10 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
824
832
|
path: _path2 + ".label",
|
|
825
833
|
expected: "(string | undefined)",
|
|
826
834
|
value: input3.label
|
|
835
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
836
|
+
path: _path2 + ".range",
|
|
837
|
+
expected: "(string | undefined)",
|
|
838
|
+
value: input3.range
|
|
827
839
|
})].every((flag) => flag);
|
|
828
840
|
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
829
841
|
path: _path2 + ".hiddenValues",
|
|
@@ -2109,9 +2121,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2109
2121
|
return "number" === typeof value;
|
|
2110
2122
|
return true;
|
|
2111
2123
|
});
|
|
2112
|
-
const $io19 = (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);
|
|
2113
|
-
const $io20 = (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);
|
|
2114
|
-
const $io21 = (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);
|
|
2124
|
+
const $io19 = (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);
|
|
2125
|
+
const $io20 = (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);
|
|
2126
|
+
const $io21 = (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);
|
|
2115
2127
|
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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] && $iu3(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
2116
2128
|
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(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;
|
|
2117
2129
|
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
@@ -2969,6 +2981,10 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2969
2981
|
path: _path2 + ".label",
|
|
2970
2982
|
expected: "(string | undefined)",
|
|
2971
2983
|
value: input3.label
|
|
2984
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
2985
|
+
path: _path2 + ".range",
|
|
2986
|
+
expected: "(string | undefined)",
|
|
2987
|
+
value: input3.range
|
|
2972
2988
|
})].every((flag) => flag);
|
|
2973
2989
|
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2974
2990
|
path: _path2 + ".startunbounded",
|
|
@@ -2998,6 +3014,10 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2998
3014
|
path: _path2 + ".label",
|
|
2999
3015
|
expected: "(string | undefined)",
|
|
3000
3016
|
value: input3.label
|
|
3017
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
3018
|
+
path: _path2 + ".range",
|
|
3019
|
+
expected: "(string | undefined)",
|
|
3020
|
+
value: input3.range
|
|
3001
3021
|
})].every((flag) => flag);
|
|
3002
3022
|
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
3003
3023
|
path: _path2 + ".start",
|
|
@@ -3023,6 +3043,10 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3023
3043
|
path: _path2 + ".label",
|
|
3024
3044
|
expected: "(string | undefined)",
|
|
3025
3045
|
value: input3.label
|
|
3046
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
3047
|
+
path: _path2 + ".range",
|
|
3048
|
+
expected: "(string | undefined)",
|
|
3049
|
+
value: input3.range
|
|
3026
3050
|
})].every((flag) => flag);
|
|
3027
3051
|
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3028
3052
|
path: _path2 + ".hiddenValues",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__toESM,
|
|
3
3
|
require_lib
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YNHC5SXO.js";
|
|
5
5
|
|
|
6
6
|
// dist/brainImaging.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
@@ -22,7 +22,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
24
24
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.refKey && (void 0 === input3.l || "string" === typeof input3.l) && (void 0 === input3.f || "string" === typeof input3.f) && (void 0 === input3.t || "string" === typeof input3.t) && (Array.isArray(input3.selectedSampleFileNames) && input3.selectedSampleFileNames.every((elem) => "string" === typeof elem)) && (void 0 === input3.divideByTW || "object" === typeof input3.divideByTW && null !== input3.divideByTW && $io1(input3.divideByTW)) && (void 0 === input3.overlayTW || "object" === typeof input3.overlayTW && null !== input3.overlayTW && $io1(input3.overlayTW)) && (void 0 === input3.legendFilter || Array.isArray(input3.legendFilter) && input3.legendFilter.every((elem) => "string" === typeof elem));
|
|
25
|
-
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q &&
|
|
25
|
+
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && $iu4(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term));
|
|
26
26
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
27
27
|
const value = input3[key];
|
|
28
28
|
if (void 0 === value)
|
|
@@ -40,7 +40,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
40
40
|
return "number" === typeof value;
|
|
41
41
|
return true;
|
|
42
42
|
});
|
|
43
|
-
const $io5 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic ||
|
|
43
|
+
const $io5 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "filter" === input3.type;
|
|
44
44
|
const $io6 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
45
45
|
const $io7 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io8(input3.customset));
|
|
46
46
|
const $io8 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
@@ -69,9 +69,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
69
69
|
const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
70
70
|
const $io23 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
71
71
|
const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
72
|
-
const $io25 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
73
|
-
const $io26 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
74
|
-
const $io27 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
72
|
+
const $io25 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
73
|
+
const $io26 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
74
|
+
const $io27 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
75
75
|
const $io28 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
76
76
|
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
77
77
|
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
@@ -120,11 +120,13 @@ var validBrainImagingRequest = (input) => {
|
|
|
120
120
|
const $iu4 = (input3) => (() => {
|
|
121
121
|
if ("values" === input3.type)
|
|
122
122
|
return $io3(input3);
|
|
123
|
+
if ("filter" === input3.type)
|
|
124
|
+
return $io5(input3);
|
|
123
125
|
if ("predefined-groupset" === input3.type)
|
|
124
126
|
return $io6(input3);
|
|
125
127
|
if ("custom-groupset" === input3.type)
|
|
126
128
|
return $io7(input3);
|
|
127
|
-
return
|
|
129
|
+
return false;
|
|
128
130
|
})();
|
|
129
131
|
const $iu5 = (input3) => (() => {
|
|
130
132
|
if (void 0 !== input3.ranges)
|
|
@@ -283,7 +285,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
283
285
|
path: _path2 + ".type",
|
|
284
286
|
expected: '("CatTWCustomGS" | "CatTWPredefinedGS" | "CatTWValues")',
|
|
285
287
|
value: input3.type
|
|
286
|
-
}), ("object" === typeof input3.q && null !== input3.q
|
|
288
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
287
289
|
path: _path2 + ".q",
|
|
288
290
|
expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
289
291
|
value: input3.q
|
|
@@ -357,25 +359,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
357
359
|
path: _path2 + ".hiddenValues",
|
|
358
360
|
expected: "(HiddenValues | undefined)",
|
|
359
361
|
value: input3.hiddenValues
|
|
360
|
-
}), void 0 === input3.isAtomic ||
|
|
362
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
361
363
|
path: _path2 + ".isAtomic",
|
|
362
|
-
expected: "(
|
|
364
|
+
expected: "(true | undefined)",
|
|
363
365
|
value: input3.isAtomic
|
|
364
366
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
365
367
|
path: _path2 + ".name",
|
|
366
368
|
expected: "(string | undefined)",
|
|
367
369
|
value: input3.name
|
|
368
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
369
|
-
path: _path2 + ".mode",
|
|
370
|
-
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
371
|
-
value: input3.mode
|
|
372
370
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
373
371
|
path: _path2 + ".reuseId",
|
|
374
372
|
expected: "(string | undefined)",
|
|
375
373
|
value: input3.reuseId
|
|
376
|
-
}),
|
|
374
|
+
}), "filter" === input3.type || $report(_exceptionable2, {
|
|
377
375
|
path: _path2 + ".type",
|
|
378
|
-
expected: '
|
|
376
|
+
expected: '"filter"',
|
|
379
377
|
value: input3.type
|
|
380
378
|
})].every((flag) => flag);
|
|
381
379
|
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
@@ -1034,6 +1032,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1034
1032
|
path: _path2 + ".label",
|
|
1035
1033
|
expected: "(string | undefined)",
|
|
1036
1034
|
value: input3.label
|
|
1035
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
1036
|
+
path: _path2 + ".range",
|
|
1037
|
+
expected: "(string | undefined)",
|
|
1038
|
+
value: input3.range
|
|
1037
1039
|
})].every((flag) => flag);
|
|
1038
1040
|
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1039
1041
|
path: _path2 + ".startunbounded",
|
|
@@ -1063,6 +1065,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1063
1065
|
path: _path2 + ".label",
|
|
1064
1066
|
expected: "(string | undefined)",
|
|
1065
1067
|
value: input3.label
|
|
1068
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
1069
|
+
path: _path2 + ".range",
|
|
1070
|
+
expected: "(string | undefined)",
|
|
1071
|
+
value: input3.range
|
|
1066
1072
|
})].every((flag) => flag);
|
|
1067
1073
|
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1068
1074
|
path: _path2 + ".start",
|
|
@@ -1088,6 +1094,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1088
1094
|
path: _path2 + ".label",
|
|
1089
1095
|
expected: "(string | undefined)",
|
|
1090
1096
|
value: input3.label
|
|
1097
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
1098
|
+
path: _path2 + ".range",
|
|
1099
|
+
expected: "(string | undefined)",
|
|
1100
|
+
value: input3.range
|
|
1091
1101
|
})].every((flag) => flag);
|
|
1092
1102
|
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1093
1103
|
path: _path2 + ".hiddenValues",
|
|
@@ -2259,11 +2269,17 @@ var validBrainImagingRequest = (input) => {
|
|
|
2259
2269
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2260
2270
|
if ("values" === input3.type)
|
|
2261
2271
|
return $vo3(input3, _path2, _exceptionable2);
|
|
2272
|
+
if ("filter" === input3.type)
|
|
2273
|
+
return $vo5(input3, _path2, _exceptionable2);
|
|
2262
2274
|
if ("predefined-groupset" === input3.type)
|
|
2263
2275
|
return $vo6(input3, _path2, _exceptionable2);
|
|
2264
2276
|
if ("custom-groupset" === input3.type)
|
|
2265
2277
|
return $vo7(input3, _path2, _exceptionable2);
|
|
2266
|
-
return $
|
|
2278
|
+
return $report(_exceptionable2, {
|
|
2279
|
+
path: _path2,
|
|
2280
|
+
expected: "(ValuesQ | FilterQ | PredefinedGroupSettingQ | CustomGroupSettingQ)",
|
|
2281
|
+
value: input3
|
|
2282
|
+
});
|
|
2267
2283
|
})();
|
|
2268
2284
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2269
2285
|
if (void 0 !== input3.ranges)
|
|
@@ -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.cluster.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
@@ -56,9 +56,9 @@ var validTermdbClusterRequest = (input) => {
|
|
|
56
56
|
return "number" === typeof value;
|
|
57
57
|
return true;
|
|
58
58
|
});
|
|
59
|
-
const $io18 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
60
|
-
const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
61
|
-
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
59
|
+
const $io18 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
60
|
+
const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
61
|
+
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
62
62
|
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
63
63
|
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
64
64
|
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
@@ -933,6 +933,10 @@ var validTermdbClusterRequest = (input) => {
|
|
|
933
933
|
path: _path2 + ".label",
|
|
934
934
|
expected: "(string | undefined)",
|
|
935
935
|
value: input3.label
|
|
936
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
937
|
+
path: _path2 + ".range",
|
|
938
|
+
expected: "(string | undefined)",
|
|
939
|
+
value: input3.range
|
|
936
940
|
})].every((flag) => flag);
|
|
937
941
|
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
938
942
|
path: _path2 + ".startunbounded",
|
|
@@ -962,6 +966,10 @@ var validTermdbClusterRequest = (input) => {
|
|
|
962
966
|
path: _path2 + ".label",
|
|
963
967
|
expected: "(string | undefined)",
|
|
964
968
|
value: input3.label
|
|
969
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
970
|
+
path: _path2 + ".range",
|
|
971
|
+
expected: "(string | undefined)",
|
|
972
|
+
value: input3.range
|
|
965
973
|
})].every((flag) => flag);
|
|
966
974
|
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
967
975
|
path: _path2 + ".start",
|
|
@@ -987,6 +995,10 @@ var validTermdbClusterRequest = (input) => {
|
|
|
987
995
|
path: _path2 + ".label",
|
|
988
996
|
expected: "(string | undefined)",
|
|
989
997
|
value: input3.label
|
|
998
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
999
|
+
path: _path2 + ".range",
|
|
1000
|
+
expected: "(string | undefined)",
|
|
1001
|
+
value: input3.range
|
|
990
1002
|
})].every((flag) => flag);
|
|
991
1003
|
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
992
1004
|
path: _path2 + ".hiddenValues",
|
|
@@ -3400,9 +3412,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3400
3412
|
return "number" === typeof value;
|
|
3401
3413
|
return true;
|
|
3402
3414
|
});
|
|
3403
|
-
const $io29 = (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);
|
|
3404
|
-
const $io30 = (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);
|
|
3405
|
-
const $io31 = (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);
|
|
3415
|
+
const $io29 = (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);
|
|
3416
|
+
const $io30 = (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);
|
|
3417
|
+
const $io31 = (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);
|
|
3406
3418
|
const $io32 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io28(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
3407
3419
|
const $io33 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io25(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io26(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;
|
|
3408
3420
|
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io25(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io26(input3.bins));
|
|
@@ -4461,6 +4473,10 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4461
4473
|
path: _path2 + ".label",
|
|
4462
4474
|
expected: "(string | undefined)",
|
|
4463
4475
|
value: input3.label
|
|
4476
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
4477
|
+
path: _path2 + ".range",
|
|
4478
|
+
expected: "(string | undefined)",
|
|
4479
|
+
value: input3.range
|
|
4464
4480
|
})].every((flag) => flag);
|
|
4465
4481
|
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
4466
4482
|
path: _path2 + ".startunbounded",
|
|
@@ -4490,6 +4506,10 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4490
4506
|
path: _path2 + ".label",
|
|
4491
4507
|
expected: "(string | undefined)",
|
|
4492
4508
|
value: input3.label
|
|
4509
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
4510
|
+
path: _path2 + ".range",
|
|
4511
|
+
expected: "(string | undefined)",
|
|
4512
|
+
value: input3.range
|
|
4493
4513
|
})].every((flag) => flag);
|
|
4494
4514
|
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
4495
4515
|
path: _path2 + ".start",
|
|
@@ -4515,6 +4535,10 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4515
4535
|
path: _path2 + ".label",
|
|
4516
4536
|
expected: "(string | undefined)",
|
|
4517
4537
|
value: input3.label
|
|
4538
|
+
}), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
|
|
4539
|
+
path: _path2 + ".range",
|
|
4540
|
+
expected: "(string | undefined)",
|
|
4541
|
+
value: input3.range
|
|
4518
4542
|
})].every((flag) => flag);
|
|
4519
4543
|
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
4520
4544
|
path: _path2 + ".hiddenValues",
|
|
@@ -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/wsimages.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
@@ -21,7 +21,8 @@ var wsImagesPayload = {
|
|
|
21
21
|
var validWSImagesRequest = (input) => {
|
|
22
22
|
const errors = [];
|
|
23
23
|
const __is = (input2) => {
|
|
24
|
-
|
|
24
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.sampleId || "string" === typeof input3.sampleId) && "string" === typeof input3.wsimage && (void 0 === input3.aiProjectId || "number" === typeof input3.aiProjectId);
|
|
25
|
+
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
25
26
|
};
|
|
26
27
|
if (false === __is(input)) {
|
|
27
28
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -34,14 +35,18 @@ var validWSImagesRequest = (input) => {
|
|
|
34
35
|
path: _path2 + ".dslabel",
|
|
35
36
|
expected: "string",
|
|
36
37
|
value: input3.dslabel
|
|
37
|
-
}), "string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
38
|
+
}), void 0 === input3.sampleId || "string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
38
39
|
path: _path2 + ".sampleId",
|
|
39
|
-
expected: "string",
|
|
40
|
+
expected: "(string | undefined)",
|
|
40
41
|
value: input3.sampleId
|
|
41
42
|
}), "string" === typeof input3.wsimage || $report(_exceptionable2, {
|
|
42
43
|
path: _path2 + ".wsimage",
|
|
43
44
|
expected: "string",
|
|
44
45
|
value: input3.wsimage
|
|
46
|
+
}), void 0 === input3.aiProjectId || "number" === typeof input3.aiProjectId || $report(_exceptionable2, {
|
|
47
|
+
path: _path2 + ".aiProjectId",
|
|
48
|
+
expected: "(number | undefined)",
|
|
49
|
+
value: input3.aiProjectId
|
|
45
50
|
})].every((flag) => flag);
|
|
46
51
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
47
52
|
path: _path + "",
|