@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
|
@@ -109,7 +109,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
109
109
|
const $io25 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(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 && $io13(input3.bins)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
110
110
|
const $io27 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins));
|
|
111
111
|
const $io28 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(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 && $io13(input3.bins));
|
|
112
|
-
const $io29 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(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 && $io13(input3.bins));
|
|
112
|
+
const $io29 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(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 && $io13(input3.bins));
|
|
113
113
|
const $io30 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(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 && $io13(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);
|
|
114
114
|
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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(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 && $io13(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
115
115
|
const $io32 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
@@ -140,7 +140,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
140
140
|
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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(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 && $io43(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
141
141
|
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);
|
|
142
142
|
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 && $iu13(input3.term)) && "number" === typeof input3.ratio;
|
|
143
|
-
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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(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));
|
|
143
|
+
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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(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));
|
|
144
144
|
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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion));
|
|
145
145
|
const $io53 = (input3) => Object.keys(input3).every((key) => {
|
|
146
146
|
const value = input3[key];
|
|
@@ -159,7 +159,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
159
159
|
return true;
|
|
160
160
|
});
|
|
161
161
|
const $io55 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
|
|
162
|
-
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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(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)));
|
|
162
|
+
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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(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)));
|
|
163
163
|
const $io57 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
164
164
|
const $io58 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(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 && $io43(input3.groupsetting));
|
|
165
165
|
const $io59 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && ("object" === typeof input3.sample && null !== input3.sample && true) && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io43(input3.groupsetting));
|
|
@@ -2056,6 +2056,10 @@ var validDescrStatsRequest = (input) => {
|
|
|
2056
2056
|
path: _path2 + ".stop",
|
|
2057
2057
|
expected: "number",
|
|
2058
2058
|
value: input3.stop
|
|
2059
|
+
}), "gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType || $report(_exceptionable2, {
|
|
2060
|
+
path: _path2 + ".genomicFeatureType",
|
|
2061
|
+
expected: '("enhancer" | "gene" | "promoter" | "region")',
|
|
2062
|
+
value: input3.genomicFeatureType
|
|
2059
2063
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2060
2064
|
path: _path2 + ".bins",
|
|
2061
2065
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3339,6 +3343,10 @@ var validDescrStatsRequest = (input) => {
|
|
|
3339
3343
|
path: _path2 + ".propsByTermId",
|
|
3340
3344
|
expected: "__type.o8",
|
|
3341
3345
|
value: input3.propsByTermId
|
|
3346
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3347
|
+
path: _path2 + ".isCustom",
|
|
3348
|
+
expected: "(boolean | undefined)",
|
|
3349
|
+
value: input3.isCustom
|
|
3342
3350
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
3343
3351
|
path: _path2 + ".memberType",
|
|
3344
3352
|
expected: '"numeric"',
|
|
@@ -3562,6 +3570,10 @@ var validDescrStatsRequest = (input) => {
|
|
|
3562
3570
|
path: _path2 + ".propsByTermId",
|
|
3563
3571
|
expected: "__type.o8",
|
|
3564
3572
|
value: input3.propsByTermId
|
|
3573
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3574
|
+
path: _path2 + ".isCustom",
|
|
3575
|
+
expected: "(boolean | undefined)",
|
|
3576
|
+
value: input3.isCustom
|
|
3565
3577
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
3566
3578
|
path: _path2 + ".memberType",
|
|
3567
3579
|
expected: '"categorical"',
|
package/dist/grin2.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
validViolinBoxRequest,
|
|
3
|
+
validViolinBoxResponse,
|
|
4
|
+
violinBoxPayload
|
|
5
|
+
} from "./chunk-NF6RKK5E.js";
|
|
1
6
|
import {
|
|
2
7
|
tilePayload,
|
|
3
8
|
validTileRequest,
|
|
@@ -13,6 +18,11 @@ import {
|
|
|
13
18
|
validWSISamplesResponse,
|
|
14
19
|
wsiSamplesPayload
|
|
15
20
|
} from "./chunk-2744ACBX.js";
|
|
21
|
+
import {
|
|
22
|
+
termdbSingleCellDEgenesPayload,
|
|
23
|
+
validTermdbSingleCellDEgenesRequest,
|
|
24
|
+
validTermdbSingleCellDEgenesResponse
|
|
25
|
+
} from "./chunk-3EVYVWI2.js";
|
|
16
26
|
import {
|
|
17
27
|
termdbSingleCellDataPayload,
|
|
18
28
|
validTermdbSingleCellDataRequest,
|
|
@@ -32,7 +42,7 @@ import {
|
|
|
32
42
|
termsByIdsPayload,
|
|
33
43
|
validTermsByIdsRequest,
|
|
34
44
|
validTermsByIdsResponse
|
|
35
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-URG6BNUU.js";
|
|
36
46
|
import {
|
|
37
47
|
topMutatedGenePayload,
|
|
38
48
|
validtopMutatedGeneRequest,
|
|
@@ -42,17 +52,12 @@ import {
|
|
|
42
52
|
termdbTopTermsByTypePayload,
|
|
43
53
|
validTermdbTopTermsByTypeRequest,
|
|
44
54
|
validTermdbTopTermsByTypeResponse
|
|
45
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-2NINVZOB.js";
|
|
46
56
|
import {
|
|
47
57
|
termdbTopVariablyExpressedGenesPayload,
|
|
48
58
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
49
59
|
validTermdbTopVariablyExpressedGenesResponse
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import {
|
|
52
|
-
validViolinBoxRequest,
|
|
53
|
-
validViolinBoxResponse,
|
|
54
|
-
violinBoxPayload
|
|
55
|
-
} from "./chunk-C5ECCXOT.js";
|
|
60
|
+
} from "./chunk-QMEKJW2A.js";
|
|
56
61
|
import {
|
|
57
62
|
ProfileFormScoresPayload,
|
|
58
63
|
validProfileFormScoresRequest,
|
|
@@ -63,6 +68,11 @@ import {
|
|
|
63
68
|
validProfileScoresRequest,
|
|
64
69
|
validProfileScoresResponse
|
|
65
70
|
} from "./chunk-MHDQO7R5.js";
|
|
71
|
+
import {
|
|
72
|
+
termdbProteomePayload,
|
|
73
|
+
validTermdbProteomeRequest,
|
|
74
|
+
validTermdbProteomeResponse
|
|
75
|
+
} from "./chunk-W3F3CLYP.js";
|
|
66
76
|
import {
|
|
67
77
|
rootTermPayload,
|
|
68
78
|
validRootTermRequest,
|
|
@@ -88,11 +98,6 @@ import {
|
|
|
88
98
|
validTermdbSingleSampleMutationRequest,
|
|
89
99
|
validTermdbSingleSampleMutationResponse
|
|
90
100
|
} from "./chunk-5L4VF3ZL.js";
|
|
91
|
-
import {
|
|
92
|
-
termdbSingleCellDEgenesPayload,
|
|
93
|
-
validTermdbSingleCellDEgenesRequest,
|
|
94
|
-
validTermdbSingleCellDEgenesResponse
|
|
95
|
-
} from "./chunk-3EVYVWI2.js";
|
|
96
101
|
import {
|
|
97
102
|
termdbCohortsPayload,
|
|
98
103
|
validTermdbCohortsRequest,
|
|
@@ -102,7 +107,7 @@ import {
|
|
|
102
107
|
descrStatsPayload,
|
|
103
108
|
validDescrStatsRequest,
|
|
104
109
|
validDescrStatsResponse
|
|
105
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-YDJG6VT4.js";
|
|
106
111
|
import {
|
|
107
112
|
diffMethPayload,
|
|
108
113
|
validDiffMethRequest,
|
|
@@ -112,7 +117,7 @@ import {
|
|
|
112
117
|
TermdbDmrPayload,
|
|
113
118
|
validTermdbDmrRequest,
|
|
114
119
|
validTermdbDmrResponse
|
|
115
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-NO3ZZD3L.js";
|
|
116
121
|
import {
|
|
117
122
|
FilterTermValuesPayload,
|
|
118
123
|
validFilterTermValuesRequest,
|
|
@@ -127,12 +132,12 @@ import {
|
|
|
127
132
|
numericCategoriesPayload,
|
|
128
133
|
validNumericCategoriesRequest,
|
|
129
134
|
validNumericCategoriesResponse
|
|
130
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-LDLZU2QY.js";
|
|
131
136
|
import {
|
|
132
137
|
percentilePayload,
|
|
133
138
|
validPercentileRequest,
|
|
134
139
|
validPercentileResponse
|
|
135
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-ONNT3XV7.js";
|
|
136
141
|
import {
|
|
137
142
|
saveWSIAnnotationPayload,
|
|
138
143
|
validSaveWSIAnnotationRequest,
|
|
@@ -152,11 +157,11 @@ import {
|
|
|
152
157
|
termdbCategoriesPayload,
|
|
153
158
|
validCategoriesRequest,
|
|
154
159
|
validCategoriesResponse
|
|
155
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-2UNWSR7Y.js";
|
|
156
161
|
import {
|
|
157
162
|
validChatRequest,
|
|
158
163
|
validChatResponse
|
|
159
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-TUM3OZ7K.js";
|
|
160
165
|
import {
|
|
161
166
|
ChatPayload
|
|
162
167
|
} from "./chunk-FRXRNCDV.js";
|
|
@@ -164,7 +169,7 @@ import {
|
|
|
164
169
|
termdbClusterPayload,
|
|
165
170
|
validTermdbClusterRequest,
|
|
166
171
|
validTermdbClusterResponse
|
|
167
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-JYTPHVO2.js";
|
|
168
173
|
import {
|
|
169
174
|
termdbCohortSummaryPayload,
|
|
170
175
|
validTermdbCohortSummaryRequest,
|
|
@@ -234,7 +239,7 @@ import {
|
|
|
234
239
|
GRIN2Payload,
|
|
235
240
|
validGRIN2Request,
|
|
236
241
|
validGRIN2Response
|
|
237
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-734AZGID.js";
|
|
238
243
|
import {
|
|
239
244
|
healthcheckPayload,
|
|
240
245
|
validHealthCheckRequest,
|
|
@@ -256,7 +261,7 @@ import {
|
|
|
256
261
|
CorrelationVolcanoPayload,
|
|
257
262
|
validCorrelationVolcanoRequest,
|
|
258
263
|
validCorrelationVolcanoResponse
|
|
259
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-R7BQWUIF.js";
|
|
260
265
|
import {
|
|
261
266
|
datasetPayload,
|
|
262
267
|
validDatasetRequest,
|
|
@@ -314,7 +319,7 @@ import {
|
|
|
314
319
|
brainImagingPayload,
|
|
315
320
|
validBrainImagingRequest,
|
|
316
321
|
validBrainImagingResponse
|
|
317
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-7ZYM6FC6.js";
|
|
318
323
|
import {
|
|
319
324
|
brainImagingSamplesPayload,
|
|
320
325
|
validBrainImagingSamplesRequest,
|
|
@@ -378,6 +383,7 @@ export {
|
|
|
378
383
|
termdbClusterPayload,
|
|
379
384
|
termdbCohortSummaryPayload,
|
|
380
385
|
termdbCohortsPayload,
|
|
386
|
+
termdbProteomePayload,
|
|
381
387
|
termdbSampleImagesPayload,
|
|
382
388
|
termdbSampleScatterPayload,
|
|
383
389
|
termdbSingleCellDEgenesPayload,
|
|
@@ -485,6 +491,8 @@ export {
|
|
|
485
491
|
validTermdbDmrResponse,
|
|
486
492
|
validTermdbIsoformAvailabilityRequest,
|
|
487
493
|
validTermdbIsoformAvailabilityResponse,
|
|
494
|
+
validTermdbProteomeRequest,
|
|
495
|
+
validTermdbProteomeResponse,
|
|
488
496
|
validTermdbSampleImagesRequest,
|
|
489
497
|
validTermdbSampleImagesResponse,
|
|
490
498
|
validTermdbSampleScatterRequest,
|
package/dist/termdb.chat.js
CHANGED
|
@@ -59,7 +59,7 @@ var validChatRequest = (input) => {
|
|
|
59
59
|
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));
|
|
60
60
|
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));
|
|
61
61
|
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));
|
|
62
|
-
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));
|
|
62
|
+
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));
|
|
63
63
|
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);
|
|
64
64
|
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;
|
|
65
65
|
const $io35 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
@@ -85,7 +85,7 @@ var validChatRequest = (input) => {
|
|
|
85
85
|
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)));
|
|
86
86
|
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);
|
|
87
87
|
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;
|
|
88
|
-
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));
|
|
88
|
+
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));
|
|
89
89
|
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));
|
|
90
90
|
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
91
91
|
const value = input3[key];
|
|
@@ -104,7 +104,7 @@ var validChatRequest = (input) => {
|
|
|
104
104
|
return true;
|
|
105
105
|
});
|
|
106
106
|
const $io53 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
|
|
107
|
-
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)));
|
|
107
|
+
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)));
|
|
108
108
|
const $io55 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
109
109
|
const $iu0 = (input3) => (() => {
|
|
110
110
|
if ("tvslst" === input3.type)
|
|
@@ -1954,6 +1954,10 @@ var validChatRequest = (input) => {
|
|
|
1954
1954
|
path: _path2 + ".stop",
|
|
1955
1955
|
expected: "number",
|
|
1956
1956
|
value: input3.stop
|
|
1957
|
+
}), "gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType || $report(_exceptionable2, {
|
|
1958
|
+
path: _path2 + ".genomicFeatureType",
|
|
1959
|
+
expected: '("enhancer" | "gene" | "promoter" | "region")',
|
|
1960
|
+
value: input3.genomicFeatureType
|
|
1957
1961
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1958
1962
|
path: _path2 + ".bins",
|
|
1959
1963
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3124,6 +3128,10 @@ var validChatRequest = (input) => {
|
|
|
3124
3128
|
path: _path2 + ".propsByTermId",
|
|
3125
3129
|
expected: "__type.o7",
|
|
3126
3130
|
value: input3.propsByTermId
|
|
3131
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3132
|
+
path: _path2 + ".isCustom",
|
|
3133
|
+
expected: "(boolean | undefined)",
|
|
3134
|
+
value: input3.isCustom
|
|
3127
3135
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
3128
3136
|
path: _path2 + ".memberType",
|
|
3129
3137
|
expected: '"numeric"',
|
|
@@ -3347,6 +3355,10 @@ var validChatRequest = (input) => {
|
|
|
3347
3355
|
path: _path2 + ".propsByTermId",
|
|
3348
3356
|
expected: "__type.o7",
|
|
3349
3357
|
value: input3.propsByTermId
|
|
3358
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3359
|
+
path: _path2 + ".isCustom",
|
|
3360
|
+
expected: "(boolean | undefined)",
|
|
3361
|
+
value: input3.isCustom
|
|
3350
3362
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
3351
3363
|
path: _path2 + ".memberType",
|
|
3352
3364
|
expected: '"categorical"',
|
package/dist/termdb.chat2.js
CHANGED
package/dist/termdb.cluster.js
CHANGED
package/dist/termdb.dmr.js
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
termdbProteomePayload,
|
|
3
|
+
validTermdbProteomeRequest,
|
|
4
|
+
validTermdbProteomeResponse
|
|
5
|
+
} from "./chunk-W3F3CLYP.js";
|
|
6
|
+
import "./chunk-YNHC5SXO.js";
|
|
7
|
+
export {
|
|
8
|
+
termdbProteomePayload,
|
|
9
|
+
validTermdbProteomeRequest,
|
|
10
|
+
validTermdbProteomeResponse
|
|
11
|
+
};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termdbTopVariablyExpressedGenesPayload,
|
|
3
3
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
4
4
|
validTermdbTopVariablyExpressedGenesResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QMEKJW2A.js";
|
|
6
6
|
import "./chunk-YNHC5SXO.js";
|
|
7
7
|
export {
|
|
8
8
|
termdbTopVariablyExpressedGenesPayload,
|
package/dist/termdb.violinBox.js
CHANGED