@sjcrh/proteinpaint-types 2.181.0 → 2.183.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/brainImaging.js +1 -1
- package/dist/{chunk-2QTCQFYE.js → chunk-2NINVZOB.js} +47 -11
- package/dist/{chunk-KNDCWQJD.js → chunk-2UNWSR7Y.js} +15 -3
- package/dist/{chunk-UBAJYDGK.js → chunk-734AZGID.js} +15 -3
- package/dist/{chunk-J55IQXT7.js → chunk-7ZYM6FC6.js} +15 -3
- package/dist/{chunk-UYKWZWCU.js → chunk-JYTPHVO2.js} +47 -11
- package/dist/{chunk-DDMUMMOL.js → chunk-LDLZU2QY.js} +15 -3
- package/dist/{chunk-C5ECCXOT.js → chunk-NF6RKK5E.js} +15 -3
- package/dist/{chunk-K6W2WEPW.js → chunk-NO3ZZD3L.js} +15 -3
- package/dist/{chunk-ZRTB7SRA.js → chunk-ONNT3XV7.js} +32 -8
- package/dist/{chunk-VUNM6QTX.js → chunk-QMEKJW2A.js} +15 -3
- package/dist/{chunk-URYAC364.js → chunk-R7BQWUIF.js} +15 -3
- package/dist/{chunk-ZKO7LMCC.js → chunk-TUM3OZ7K.js} +15 -3
- package/dist/{chunk-3DA4MJ2U.js → chunk-URG6BNUU.js} +15 -3
- package/dist/chunk-W3F3CLYP.js +61 -0
- package/dist/{chunk-45VA4Y6L.js → chunk-YDJG6VT4.js} +15 -3
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +31 -23
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +15 -3
- package/dist/termdb.chat2.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.dmr.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.proteome.js +11 -0
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violinBox.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +35 -18
- package/src/index.ts +1 -0
- package/src/routes/termdb.proteome.ts +13 -0
- package/src/terms/dnaMethylation.ts +12 -3
- package/src/terms/termCollection.ts +7 -1
|
@@ -71,7 +71,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
71
71
|
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
72
72
|
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
73
73
|
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
74
|
-
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
74
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
75
75
|
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
76
76
|
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
77
77
|
const $io37 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
@@ -97,7 +97,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
97
97
|
const $io48 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io10(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io44(elem)));
|
|
98
98
|
const $io49 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
|
|
99
99
|
const $io50 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && "number" === typeof input3.ratio;
|
|
100
|
-
const $io51 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io52(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io53(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io55(input3.valueTransform));
|
|
100
|
+
const $io51 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io52(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io53(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io55(input3.valueTransform));
|
|
101
101
|
const $io52 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion));
|
|
102
102
|
const $io53 = (input3) => Object.keys(input3).every((key) => {
|
|
103
103
|
const value = input3[key];
|
|
@@ -116,7 +116,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
116
116
|
return true;
|
|
117
117
|
});
|
|
118
118
|
const $io55 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
|
|
119
|
-
const $io56 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io52(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io53(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io57(elem)));
|
|
119
|
+
const $io56 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io52(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io53(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io57(elem)));
|
|
120
120
|
const $io57 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
121
121
|
const $iu0 = (input3) => (() => {
|
|
122
122
|
if ("tvslst" === input3.type)
|
|
@@ -2020,6 +2020,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2020
2020
|
path: _path2 + ".stop",
|
|
2021
2021
|
expected: "number",
|
|
2022
2022
|
value: input3.stop
|
|
2023
|
+
}), "gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType || $report(_exceptionable2, {
|
|
2024
|
+
path: _path2 + ".genomicFeatureType",
|
|
2025
|
+
expected: '("enhancer" | "gene" | "promoter" | "region")',
|
|
2026
|
+
value: input3.genomicFeatureType
|
|
2023
2027
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2024
2028
|
path: _path2 + ".bins",
|
|
2025
2029
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3190,6 +3194,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
3190
3194
|
path: _path2 + ".propsByTermId",
|
|
3191
3195
|
expected: "__type.o9",
|
|
3192
3196
|
value: input3.propsByTermId
|
|
3197
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3198
|
+
path: _path2 + ".isCustom",
|
|
3199
|
+
expected: "(boolean | undefined)",
|
|
3200
|
+
value: input3.isCustom
|
|
3193
3201
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
3194
3202
|
path: _path2 + ".memberType",
|
|
3195
3203
|
expected: '"numeric"',
|
|
@@ -3413,6 +3421,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
3413
3421
|
path: _path2 + ".propsByTermId",
|
|
3414
3422
|
expected: "__type.o9",
|
|
3415
3423
|
value: input3.propsByTermId
|
|
3424
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3425
|
+
path: _path2 + ".isCustom",
|
|
3426
|
+
expected: "(boolean | undefined)",
|
|
3427
|
+
value: input3.isCustom
|
|
3416
3428
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
3417
3429
|
path: _path2 + ".memberType",
|
|
3418
3430
|
expected: '"categorical"',
|
|
@@ -69,7 +69,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
69
69
|
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
70
70
|
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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));
|
|
71
71
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
72
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
72
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
73
73
|
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
74
74
|
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
75
75
|
const $io35 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
@@ -95,7 +95,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
95
95
|
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io42(elem)));
|
|
96
96
|
const $io47 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
|
|
97
97
|
const $io48 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && "number" === typeof input3.ratio;
|
|
98
|
-
const $io49 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io53(input3.valueTransform));
|
|
98
|
+
const $io49 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io53(input3.valueTransform));
|
|
99
99
|
const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
|
|
100
100
|
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
101
101
|
const value = input3[key];
|
|
@@ -114,7 +114,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
114
114
|
return true;
|
|
115
115
|
});
|
|
116
116
|
const $io53 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
|
|
117
|
-
const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io55(elem)));
|
|
117
|
+
const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io55(elem)));
|
|
118
118
|
const $io55 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
119
119
|
const $io56 = (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) && $io57(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu13(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io61(input3.q)) && "QualTWValues" === input3.type;
|
|
120
120
|
const $io57 = (input3) => Object.keys(input3).every((key) => {
|
|
@@ -2092,6 +2092,10 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2092
2092
|
path: _path2 + ".stop",
|
|
2093
2093
|
expected: "number",
|
|
2094
2094
|
value: input3.stop
|
|
2095
|
+
}), "gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType || $report(_exceptionable2, {
|
|
2096
|
+
path: _path2 + ".genomicFeatureType",
|
|
2097
|
+
expected: '("enhancer" | "gene" | "promoter" | "region")',
|
|
2098
|
+
value: input3.genomicFeatureType
|
|
2095
2099
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2096
2100
|
path: _path2 + ".bins",
|
|
2097
2101
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3262,6 +3266,10 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3262
3266
|
path: _path2 + ".propsByTermId",
|
|
3263
3267
|
expected: "__type.o7",
|
|
3264
3268
|
value: input3.propsByTermId
|
|
3269
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3270
|
+
path: _path2 + ".isCustom",
|
|
3271
|
+
expected: "(boolean | undefined)",
|
|
3272
|
+
value: input3.isCustom
|
|
3265
3273
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
3266
3274
|
path: _path2 + ".memberType",
|
|
3267
3275
|
expected: '"numeric"',
|
|
@@ -3485,6 +3493,10 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3485
3493
|
path: _path2 + ".propsByTermId",
|
|
3486
3494
|
expected: "__type.o7",
|
|
3487
3495
|
value: input3.propsByTermId
|
|
3496
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3497
|
+
path: _path2 + ".isCustom",
|
|
3498
|
+
expected: "(boolean | undefined)",
|
|
3499
|
+
value: input3.isCustom
|
|
3488
3500
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
3489
3501
|
path: _path2 + ".memberType",
|
|
3490
3502
|
expected: '"categorical"',
|
|
@@ -56,7 +56,7 @@ var validChatRequest = (input) => {
|
|
|
56
56
|
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
57
57
|
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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));
|
|
58
58
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
59
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
59
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
60
60
|
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
61
61
|
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
62
62
|
const $io35 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
@@ -82,7 +82,7 @@ var validChatRequest = (input) => {
|
|
|
82
82
|
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io42(elem)));
|
|
83
83
|
const $io47 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
|
|
84
84
|
const $io48 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && "number" === typeof input3.ratio;
|
|
85
|
-
const $io49 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io53(input3.valueTransform));
|
|
85
|
+
const $io49 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io53(input3.valueTransform));
|
|
86
86
|
const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
|
|
87
87
|
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
88
88
|
const value = input3[key];
|
|
@@ -101,7 +101,7 @@ var validChatRequest = (input) => {
|
|
|
101
101
|
return true;
|
|
102
102
|
});
|
|
103
103
|
const $io53 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
|
|
104
|
-
const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io55(elem)));
|
|
104
|
+
const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io55(elem)));
|
|
105
105
|
const $io55 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
106
106
|
const $iu0 = (input3) => (() => {
|
|
107
107
|
if ("tvslst" === input3.type)
|
|
@@ -1951,6 +1951,10 @@ var validChatRequest = (input) => {
|
|
|
1951
1951
|
path: _path2 + ".stop",
|
|
1952
1952
|
expected: "number",
|
|
1953
1953
|
value: input3.stop
|
|
1954
|
+
}), "gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType || $report(_exceptionable2, {
|
|
1955
|
+
path: _path2 + ".genomicFeatureType",
|
|
1956
|
+
expected: '("enhancer" | "gene" | "promoter" | "region")',
|
|
1957
|
+
value: input3.genomicFeatureType
|
|
1954
1958
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1955
1959
|
path: _path2 + ".bins",
|
|
1956
1960
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3121,6 +3125,10 @@ var validChatRequest = (input) => {
|
|
|
3121
3125
|
path: _path2 + ".propsByTermId",
|
|
3122
3126
|
expected: "__type.o7",
|
|
3123
3127
|
value: input3.propsByTermId
|
|
3128
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3129
|
+
path: _path2 + ".isCustom",
|
|
3130
|
+
expected: "(boolean | undefined)",
|
|
3131
|
+
value: input3.isCustom
|
|
3124
3132
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
3125
3133
|
path: _path2 + ".memberType",
|
|
3126
3134
|
expected: '"numeric"',
|
|
@@ -3344,6 +3352,10 @@ var validChatRequest = (input) => {
|
|
|
3344
3352
|
path: _path2 + ".propsByTermId",
|
|
3345
3353
|
expected: "__type.o7",
|
|
3346
3354
|
value: input3.propsByTermId
|
|
3355
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3356
|
+
path: _path2 + ".isCustom",
|
|
3357
|
+
expected: "(boolean | undefined)",
|
|
3358
|
+
value: input3.isCustom
|
|
3347
3359
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
3348
3360
|
path: _path2 + ".memberType",
|
|
3349
3361
|
expected: '"categorical"',
|
|
@@ -133,7 +133,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
133
133
|
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
134
134
|
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
|
|
135
135
|
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
|
|
136
|
-
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
|
|
136
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
|
|
137
137
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
138
138
|
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
139
139
|
const $io33 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
@@ -164,7 +164,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
164
164
|
const $io49 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io44(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io40(elem)));
|
|
165
165
|
const $io50 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
|
|
166
166
|
const $io51 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu13(input3.term)) && "number" === typeof input3.ratio;
|
|
167
|
-
const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io54(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io56(input3.valueTransform));
|
|
167
|
+
const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io54(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io56(input3.valueTransform));
|
|
168
168
|
const $io53 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion));
|
|
169
169
|
const $io54 = (input3) => Object.keys(input3).every((key) => {
|
|
170
170
|
const value = input3[key];
|
|
@@ -183,7 +183,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
183
183
|
return true;
|
|
184
184
|
});
|
|
185
185
|
const $io56 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
|
|
186
|
-
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io54(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io58(elem)));
|
|
186
|
+
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io54(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io58(elem)));
|
|
187
187
|
const $io58 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
188
188
|
const $io59 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "snp" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && "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 && $io44(input3.groupsetting));
|
|
189
189
|
const $io60 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellCellType" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && ("object" === typeof input3.sample && null !== input3.sample && true) && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io44(input3.groupsetting));
|
|
@@ -2072,6 +2072,10 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2072
2072
|
path: _path2 + ".stop",
|
|
2073
2073
|
expected: "number",
|
|
2074
2074
|
value: input3.stop
|
|
2075
|
+
}), "gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType || $report(_exceptionable2, {
|
|
2076
|
+
path: _path2 + ".genomicFeatureType",
|
|
2077
|
+
expected: '("enhancer" | "gene" | "promoter" | "region")',
|
|
2078
|
+
value: input3.genomicFeatureType
|
|
2075
2079
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2076
2080
|
path: _path2 + ".bins",
|
|
2077
2081
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3355,6 +3359,10 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3355
3359
|
path: _path2 + ".propsByTermId",
|
|
3356
3360
|
expected: "__type.o9",
|
|
3357
3361
|
value: input3.propsByTermId
|
|
3362
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3363
|
+
path: _path2 + ".isCustom",
|
|
3364
|
+
expected: "(boolean | undefined)",
|
|
3365
|
+
value: input3.isCustom
|
|
3358
3366
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
3359
3367
|
path: _path2 + ".memberType",
|
|
3360
3368
|
expected: '"numeric"',
|
|
@@ -3578,6 +3586,10 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3578
3586
|
path: _path2 + ".propsByTermId",
|
|
3579
3587
|
expected: "__type.o9",
|
|
3580
3588
|
value: input3.propsByTermId
|
|
3589
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3590
|
+
path: _path2 + ".isCustom",
|
|
3591
|
+
expected: "(boolean | undefined)",
|
|
3592
|
+
value: input3.isCustom
|
|
3581
3593
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
3582
3594
|
path: _path2 + ".memberType",
|
|
3583
3595
|
expected: '"categorical"',
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__toESM,
|
|
3
|
+
require_lib
|
|
4
|
+
} from "./chunk-YNHC5SXO.js";
|
|
5
|
+
|
|
6
|
+
// dist/termdb.proteome.ts
|
|
7
|
+
var import_typia = __toESM(require_lib(), 1);
|
|
8
|
+
|
|
9
|
+
// src/routes/termdb.proteome.ts
|
|
10
|
+
var termdbProteomePayload = {
|
|
11
|
+
request: {
|
|
12
|
+
typeId: "TermdbProteomeRequest"
|
|
13
|
+
},
|
|
14
|
+
response: {
|
|
15
|
+
typeId: "TermdbProteomeResponse"
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// dist/termdb.proteome.ts
|
|
20
|
+
var validTermdbProteomeRequest = (input) => {
|
|
21
|
+
const errors = [];
|
|
22
|
+
const __is = (input2) => {
|
|
23
|
+
return true;
|
|
24
|
+
};
|
|
25
|
+
if (false === __is(input)) {
|
|
26
|
+
const $report = import_typia.createValidate.report(errors);
|
|
27
|
+
/* @__PURE__ */ ((input2, _path, _exceptionable = true) => {
|
|
28
|
+
return true;
|
|
29
|
+
})(input, "$input", true);
|
|
30
|
+
}
|
|
31
|
+
const success = 0 === errors.length;
|
|
32
|
+
return {
|
|
33
|
+
success,
|
|
34
|
+
errors,
|
|
35
|
+
data: success ? input : void 0
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
var validTermdbProteomeResponse = (input) => {
|
|
39
|
+
const errors = [];
|
|
40
|
+
const __is = (input2) => {
|
|
41
|
+
return true;
|
|
42
|
+
};
|
|
43
|
+
if (false === __is(input)) {
|
|
44
|
+
const $report = import_typia.createValidate.report(errors);
|
|
45
|
+
/* @__PURE__ */ ((input2, _path, _exceptionable = true) => {
|
|
46
|
+
return true;
|
|
47
|
+
})(input, "$input", true);
|
|
48
|
+
}
|
|
49
|
+
const success = 0 === errors.length;
|
|
50
|
+
return {
|
|
51
|
+
success,
|
|
52
|
+
errors,
|
|
53
|
+
data: success ? input : void 0
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export {
|
|
58
|
+
termdbProteomePayload,
|
|
59
|
+
validTermdbProteomeRequest,
|
|
60
|
+
validTermdbProteomeResponse
|
|
61
|
+
};
|