@sjcrh/proteinpaint-types 2.146.4-1 → 2.147.2-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/aiProjectSelectedWSImages.js +1 -1
- package/dist/aiProjectTrainModel.js +11 -0
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-75OHIZMS.js → chunk-225Q2ZUA.js} +2 -6
- package/dist/{chunk-NBV7HYBA.js → chunk-3SKFYOKV.js} +407 -515
- package/dist/{chunk-G5KSPYQG.js → chunk-4SJC57Y6.js} +403 -511
- package/dist/{chunk-C246BWQE.js → chunk-5MGSKBUU.js} +268 -92
- package/dist/{chunk-4VEXL32Q.js → chunk-75GS5ZG5.js} +381 -489
- package/dist/{chunk-2BHWLFKE.js → chunk-ETMCI34A.js} +2 -6
- package/dist/{chunk-74B7B2CV.js → chunk-KQNLROUN.js} +258 -82
- package/dist/{chunk-7ICZFAGK.js → chunk-KSVIBMFQ.js} +1049 -797
- package/dist/{chunk-5KADNZH2.js → chunk-RA7IEGS4.js} +408 -516
- package/dist/{chunk-4DNCZQOB.js → chunk-TTUU5XQC.js} +258 -82
- package/dist/chunk-UYJA4UM7.js +97 -0
- package/dist/{chunk-GCAZSDCW.js → chunk-WL7ZVGZS.js} +403 -511
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +48 -40
- package/dist/samplewsimages.js +1 -1
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +15 -12
- package/src/index.ts +2 -0
- package/src/routes/aiProjectSelectedWSImages.ts +0 -1
- package/src/routes/aiProjectTrainModel.ts +20 -0
- package/src/routes/brainImaging.ts +3 -3
- package/src/terms/categorical.ts +9 -90
- package/src/terms/date.ts +1 -1
- package/src/terms/geneExpression.ts +3 -1
- package/src/terms/metaboliteIntensity.ts +4 -2
- package/src/terms/numeric.ts +5 -1
- package/src/terms/q.ts +5 -1
- package/src/terms/qualitative.ts +73 -0
- package/src/terms/singleCellCellType.ts +6 -10
- package/src/terms/snp.ts +9 -13
- package/src/terms/ssGSEA.ts +5 -1
- package/src/terms/term.ts +2 -2
- package/src/terms/tw.ts +3 -4
|
@@ -2144,40 +2144,46 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2144
2144
|
const $io39 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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 && $iu4(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
2145
2145
|
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2146
2146
|
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
2147
|
-
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
2148
|
-
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
2149
|
-
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
2150
|
-
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
2151
|
-
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
2152
|
-
const $io47 = (input3) =>
|
|
2153
|
-
const $io48 = (input3) => "string" === typeof input3.
|
|
2154
|
-
const $io49 = (input3) => "string" === typeof input3.
|
|
2155
|
-
const $io50 = (input3) => "string" === typeof input3.
|
|
2156
|
-
const $io51 = (input3) =>
|
|
2147
|
+
const $io42 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
2148
|
+
const $io43 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "string" === typeof input3.sample && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
2149
|
+
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2150
|
+
const $io45 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2151
|
+
const $io46 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.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));
|
|
2152
|
+
const $io47 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
2153
|
+
const $io48 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io49(elem)));
|
|
2154
|
+
const $io49 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io51(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
2155
|
+
const $io50 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
2156
|
+
const $io51 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
2157
|
+
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) && $io53(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
2158
|
+
const $io53 = (input3) => Object.keys(input3).every((key) => {
|
|
2157
2159
|
const value = input3[key];
|
|
2158
2160
|
if (void 0 === value)
|
|
2159
2161
|
return true;
|
|
2160
2162
|
if (RegExp(/(.*)/).test(key))
|
|
2161
|
-
return "object" === typeof value && null !== value && $
|
|
2163
|
+
return "object" === typeof value && null !== value && $io54(value);
|
|
2162
2164
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
2163
|
-
return "object" === typeof value && null !== value && $
|
|
2165
|
+
return "object" === typeof value && null !== value && $io54(value);
|
|
2164
2166
|
return true;
|
|
2165
2167
|
});
|
|
2166
|
-
const $
|
|
2167
|
-
const $
|
|
2168
|
+
const $io54 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io55(elem))) && true;
|
|
2169
|
+
const $io55 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
2168
2170
|
const $iu0 = (input3) => (() => {
|
|
2169
2171
|
if ("metaboliteIntensity" === input3.type)
|
|
2170
2172
|
return $io40(input3);
|
|
2171
2173
|
if ("categorical" === input3.type)
|
|
2172
2174
|
return $io41(input3);
|
|
2173
|
-
if ("
|
|
2175
|
+
if ("snp" === input3.type)
|
|
2176
|
+
return $io42(input3);
|
|
2177
|
+
if ("singleCellCellType" === input3.type)
|
|
2174
2178
|
return $io43(input3);
|
|
2179
|
+
if ("date" === input3.type)
|
|
2180
|
+
return $io45(input3);
|
|
2175
2181
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2176
|
-
return $io42(input3);
|
|
2177
|
-
if ("ssGSEA" === input3.type)
|
|
2178
2182
|
return $io44(input3);
|
|
2183
|
+
if ("ssGSEA" === input3.type)
|
|
2184
|
+
return $io46(input3);
|
|
2179
2185
|
if ("condition" === input3.type)
|
|
2180
|
-
return $
|
|
2186
|
+
return $io47(input3);
|
|
2181
2187
|
return (() => {
|
|
2182
2188
|
if ($io23(input3))
|
|
2183
2189
|
return $io23(input3);
|
|
@@ -2187,10 +2193,10 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2187
2193
|
return $io38(input3);
|
|
2188
2194
|
if ($io39(input3))
|
|
2189
2195
|
return $io39(input3);
|
|
2190
|
-
if ($
|
|
2191
|
-
return $
|
|
2192
|
-
if ($
|
|
2193
|
-
return $
|
|
2196
|
+
if ($io48(input3))
|
|
2197
|
+
return $io48(input3);
|
|
2198
|
+
if ($io52(input3))
|
|
2199
|
+
return $io52(input3);
|
|
2194
2200
|
return false;
|
|
2195
2201
|
})();
|
|
2196
2202
|
})();
|
|
@@ -2292,11 +2298,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2292
2298
|
value: input3.terms
|
|
2293
2299
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2294
2300
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
2295
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name
|
|
2301
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name: string; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id: string; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { id: string; name?: string | undefined; type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "singleCellCellType"; sample: string; plot: string; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { type: "snp"; id: string; name: string; chr: string; start: number; stop: number; ref: string; alt: string[]; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2296
2302
|
value: elem
|
|
2297
2303
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2298
2304
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
2299
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name
|
|
2305
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name: string; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id: string; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { id: string; name?: string | undefined; type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "singleCellCellType"; sample: string; plot: string; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { type: "snp"; id: string; name: string; chr: string; start: number; stop: number; ref: string; alt: string[]; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2300
2306
|
value: elem
|
|
2301
2307
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2302
2308
|
path: _path2 + ".terms",
|
|
@@ -4462,9 +4468,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4462
4468
|
path: _path2 + ".name",
|
|
4463
4469
|
expected: "string",
|
|
4464
4470
|
value: input3.name
|
|
4465
|
-
}), "
|
|
4471
|
+
}), "snp" === input3.type || $report(_exceptionable2, {
|
|
4466
4472
|
path: _path2 + ".type",
|
|
4467
|
-
expected: '
|
|
4473
|
+
expected: '"snp"',
|
|
4468
4474
|
value: input3.type
|
|
4469
4475
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
4470
4476
|
path: _path2 + ".child_types",
|
|
@@ -4510,6 +4516,172 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4510
4516
|
path: _path2 + ".skipValuesBuild",
|
|
4511
4517
|
expected: "(boolean | undefined)",
|
|
4512
4518
|
value: input3.skipValuesBuild
|
|
4519
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
4520
|
+
path: _path2 + ".chr",
|
|
4521
|
+
expected: "string",
|
|
4522
|
+
value: input3.chr
|
|
4523
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
4524
|
+
path: _path2 + ".start",
|
|
4525
|
+
expected: "number",
|
|
4526
|
+
value: input3.start
|
|
4527
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
4528
|
+
path: _path2 + ".stop",
|
|
4529
|
+
expected: "number",
|
|
4530
|
+
value: input3.stop
|
|
4531
|
+
}), "string" === typeof input3.ref || $report(_exceptionable2, {
|
|
4532
|
+
path: _path2 + ".ref",
|
|
4533
|
+
expected: "string",
|
|
4534
|
+
value: input3.ref
|
|
4535
|
+
}), (Array.isArray(input3.alt) || $report(_exceptionable2, {
|
|
4536
|
+
path: _path2 + ".alt",
|
|
4537
|
+
expected: "Array<string>",
|
|
4538
|
+
value: input3.alt
|
|
4539
|
+
})) && input3.alt.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4540
|
+
path: _path2 + ".alt[" + _index55 + "]",
|
|
4541
|
+
expected: "string",
|
|
4542
|
+
value: elem
|
|
4543
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4544
|
+
path: _path2 + ".alt",
|
|
4545
|
+
expected: "Array<string>",
|
|
4546
|
+
value: input3.alt
|
|
4547
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
4548
|
+
path: _path2 + ".groupsetting",
|
|
4549
|
+
expected: "TermGroupSetting",
|
|
4550
|
+
value: input3.groupsetting
|
|
4551
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
4552
|
+
path: _path2 + ".groupsetting",
|
|
4553
|
+
expected: "TermGroupSetting",
|
|
4554
|
+
value: input3.groupsetting
|
|
4555
|
+
})].every((flag) => flag);
|
|
4556
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4557
|
+
path: _path2 + ".id",
|
|
4558
|
+
expected: "string",
|
|
4559
|
+
value: input3.id
|
|
4560
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
4561
|
+
path: _path2 + ".name",
|
|
4562
|
+
expected: "string",
|
|
4563
|
+
value: input3.name
|
|
4564
|
+
}), "singleCellCellType" === input3.type || $report(_exceptionable2, {
|
|
4565
|
+
path: _path2 + ".type",
|
|
4566
|
+
expected: '"singleCellCellType"',
|
|
4567
|
+
value: input3.type
|
|
4568
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
4569
|
+
path: _path2 + ".child_types",
|
|
4570
|
+
expected: "(Array<string> | undefined)",
|
|
4571
|
+
value: input3.child_types
|
|
4572
|
+
})) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4573
|
+
path: _path2 + ".child_types[" + _index56 + "]",
|
|
4574
|
+
expected: "string",
|
|
4575
|
+
value: elem
|
|
4576
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4577
|
+
path: _path2 + ".child_types",
|
|
4578
|
+
expected: "(Array<string> | undefined)",
|
|
4579
|
+
value: input3.child_types
|
|
4580
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
4581
|
+
path: _path2 + ".hashtmldetail",
|
|
4582
|
+
expected: "(boolean | undefined)",
|
|
4583
|
+
value: input3.hashtmldetail
|
|
4584
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
4585
|
+
path: _path2 + ".included_types",
|
|
4586
|
+
expected: "(Array<string> | undefined)",
|
|
4587
|
+
value: input3.included_types
|
|
4588
|
+
})) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4589
|
+
path: _path2 + ".included_types[" + _index57 + "]",
|
|
4590
|
+
expected: "string",
|
|
4591
|
+
value: elem
|
|
4592
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4593
|
+
path: _path2 + ".included_types",
|
|
4594
|
+
expected: "(Array<string> | undefined)",
|
|
4595
|
+
value: input3.included_types
|
|
4596
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
4597
|
+
path: _path2 + ".isleaf",
|
|
4598
|
+
expected: "(boolean | undefined)",
|
|
4599
|
+
value: input3.isleaf
|
|
4600
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4601
|
+
path: _path2 + ".values",
|
|
4602
|
+
expected: "(TermValues | undefined)",
|
|
4603
|
+
value: input3.values
|
|
4604
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4605
|
+
path: _path2 + ".values",
|
|
4606
|
+
expected: "(TermValues | undefined)",
|
|
4607
|
+
value: input3.values
|
|
4608
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
4609
|
+
path: _path2 + ".skipValuesBuild",
|
|
4610
|
+
expected: "(boolean | undefined)",
|
|
4611
|
+
value: input3.skipValuesBuild
|
|
4612
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
4613
|
+
path: _path2 + ".sample",
|
|
4614
|
+
expected: "string",
|
|
4615
|
+
value: input3.sample
|
|
4616
|
+
}), "string" === typeof input3.plot || $report(_exceptionable2, {
|
|
4617
|
+
path: _path2 + ".plot",
|
|
4618
|
+
expected: "string",
|
|
4619
|
+
value: input3.plot
|
|
4620
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
4621
|
+
path: _path2 + ".groupsetting",
|
|
4622
|
+
expected: "TermGroupSetting",
|
|
4623
|
+
value: input3.groupsetting
|
|
4624
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
4625
|
+
path: _path2 + ".groupsetting",
|
|
4626
|
+
expected: "TermGroupSetting",
|
|
4627
|
+
value: input3.groupsetting
|
|
4628
|
+
})].every((flag) => flag);
|
|
4629
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4630
|
+
path: _path2 + ".id",
|
|
4631
|
+
expected: "string",
|
|
4632
|
+
value: input3.id
|
|
4633
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
4634
|
+
path: _path2 + ".name",
|
|
4635
|
+
expected: "string",
|
|
4636
|
+
value: input3.name
|
|
4637
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
4638
|
+
path: _path2 + ".type",
|
|
4639
|
+
expected: '("float" | "integer")',
|
|
4640
|
+
value: input3.type
|
|
4641
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
4642
|
+
path: _path2 + ".child_types",
|
|
4643
|
+
expected: "(Array<string> | undefined)",
|
|
4644
|
+
value: input3.child_types
|
|
4645
|
+
})) && input3.child_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4646
|
+
path: _path2 + ".child_types[" + _index58 + "]",
|
|
4647
|
+
expected: "string",
|
|
4648
|
+
value: elem
|
|
4649
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4650
|
+
path: _path2 + ".child_types",
|
|
4651
|
+
expected: "(Array<string> | undefined)",
|
|
4652
|
+
value: input3.child_types
|
|
4653
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
4654
|
+
path: _path2 + ".hashtmldetail",
|
|
4655
|
+
expected: "(boolean | undefined)",
|
|
4656
|
+
value: input3.hashtmldetail
|
|
4657
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
4658
|
+
path: _path2 + ".included_types",
|
|
4659
|
+
expected: "(Array<string> | undefined)",
|
|
4660
|
+
value: input3.included_types
|
|
4661
|
+
})) && input3.included_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4662
|
+
path: _path2 + ".included_types[" + _index59 + "]",
|
|
4663
|
+
expected: "string",
|
|
4664
|
+
value: elem
|
|
4665
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4666
|
+
path: _path2 + ".included_types",
|
|
4667
|
+
expected: "(Array<string> | undefined)",
|
|
4668
|
+
value: input3.included_types
|
|
4669
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
4670
|
+
path: _path2 + ".isleaf",
|
|
4671
|
+
expected: "(boolean | undefined)",
|
|
4672
|
+
value: input3.isleaf
|
|
4673
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4674
|
+
path: _path2 + ".values",
|
|
4675
|
+
expected: "(TermValues | undefined)",
|
|
4676
|
+
value: input3.values
|
|
4677
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4678
|
+
path: _path2 + ".values",
|
|
4679
|
+
expected: "(TermValues | undefined)",
|
|
4680
|
+
value: input3.values
|
|
4681
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
4682
|
+
path: _path2 + ".skipValuesBuild",
|
|
4683
|
+
expected: "(boolean | undefined)",
|
|
4684
|
+
value: input3.skipValuesBuild
|
|
4513
4685
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
4514
4686
|
path: _path2 + ".continuousColorScale",
|
|
4515
4687
|
expected: "(__type.o2 | undefined)",
|
|
@@ -4531,7 +4703,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4531
4703
|
expected: "PresetNumericBins",
|
|
4532
4704
|
value: input3.bins
|
|
4533
4705
|
})].every((flag) => flag);
|
|
4534
|
-
const $
|
|
4706
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4535
4707
|
path: _path2 + ".id",
|
|
4536
4708
|
expected: "string",
|
|
4537
4709
|
value: input3.id
|
|
@@ -4547,8 +4719,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4547
4719
|
path: _path2 + ".child_types",
|
|
4548
4720
|
expected: "(Array<string> | undefined)",
|
|
4549
4721
|
value: input3.child_types
|
|
4550
|
-
})) && input3.child_types.map((elem,
|
|
4551
|
-
path: _path2 + ".child_types[" +
|
|
4722
|
+
})) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4723
|
+
path: _path2 + ".child_types[" + _index60 + "]",
|
|
4552
4724
|
expected: "string",
|
|
4553
4725
|
value: elem
|
|
4554
4726
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4563,8 +4735,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4563
4735
|
path: _path2 + ".included_types",
|
|
4564
4736
|
expected: "(Array<string> | undefined)",
|
|
4565
4737
|
value: input3.included_types
|
|
4566
|
-
})) && input3.included_types.map((elem,
|
|
4567
|
-
path: _path2 + ".included_types[" +
|
|
4738
|
+
})) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4739
|
+
path: _path2 + ".included_types[" + _index61 + "]",
|
|
4568
4740
|
expected: "string",
|
|
4569
4741
|
value: elem
|
|
4570
4742
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4608,7 +4780,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4608
4780
|
expected: "(PresetNumericBins | undefined)",
|
|
4609
4781
|
value: input3.bins
|
|
4610
4782
|
})].every((flag) => flag);
|
|
4611
|
-
const $
|
|
4783
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4612
4784
|
path: _path2 + ".id",
|
|
4613
4785
|
expected: "string",
|
|
4614
4786
|
value: input3.id
|
|
@@ -4624,8 +4796,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4624
4796
|
path: _path2 + ".child_types",
|
|
4625
4797
|
expected: "(Array<string> | undefined)",
|
|
4626
4798
|
value: input3.child_types
|
|
4627
|
-
})) && input3.child_types.map((elem,
|
|
4628
|
-
path: _path2 + ".child_types[" +
|
|
4799
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4800
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
4629
4801
|
expected: "string",
|
|
4630
4802
|
value: elem
|
|
4631
4803
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4640,8 +4812,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4640
4812
|
path: _path2 + ".included_types",
|
|
4641
4813
|
expected: "(Array<string> | undefined)",
|
|
4642
4814
|
value: input3.included_types
|
|
4643
|
-
})) && input3.included_types.map((elem,
|
|
4644
|
-
path: _path2 + ".included_types[" +
|
|
4815
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4816
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
4645
4817
|
expected: "string",
|
|
4646
4818
|
value: elem
|
|
4647
4819
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4680,8 +4852,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4680
4852
|
path: _path2 + ".genes",
|
|
4681
4853
|
expected: "(Array<string> | undefined)",
|
|
4682
4854
|
value: input3.genes
|
|
4683
|
-
})) && input3.genes.map((elem,
|
|
4684
|
-
path: _path2 + ".genes[" +
|
|
4855
|
+
})) && input3.genes.map((elem, _index64) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4856
|
+
path: _path2 + ".genes[" + _index64 + "]",
|
|
4685
4857
|
expected: "string",
|
|
4686
4858
|
value: elem
|
|
4687
4859
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4697,7 +4869,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4697
4869
|
expected: "(PresetNumericBins | undefined)",
|
|
4698
4870
|
value: input3.bins
|
|
4699
4871
|
})].every((flag) => flag);
|
|
4700
|
-
const $
|
|
4872
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4701
4873
|
path: _path2 + ".id",
|
|
4702
4874
|
expected: "string",
|
|
4703
4875
|
value: input3.id
|
|
@@ -4713,8 +4885,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4713
4885
|
path: _path2 + ".child_types",
|
|
4714
4886
|
expected: "(Array<string> | undefined)",
|
|
4715
4887
|
value: input3.child_types
|
|
4716
|
-
})) && input3.child_types.map((elem,
|
|
4717
|
-
path: _path2 + ".child_types[" +
|
|
4888
|
+
})) && input3.child_types.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4889
|
+
path: _path2 + ".child_types[" + _index65 + "]",
|
|
4718
4890
|
expected: "string",
|
|
4719
4891
|
value: elem
|
|
4720
4892
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4729,8 +4901,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4729
4901
|
path: _path2 + ".included_types",
|
|
4730
4902
|
expected: "(Array<string> | undefined)",
|
|
4731
4903
|
value: input3.included_types
|
|
4732
|
-
})) && input3.included_types.map((elem,
|
|
4733
|
-
path: _path2 + ".included_types[" +
|
|
4904
|
+
})) && input3.included_types.map((elem, _index66) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4905
|
+
path: _path2 + ".included_types[" + _index66 + "]",
|
|
4734
4906
|
expected: "string",
|
|
4735
4907
|
value: elem
|
|
4736
4908
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4754,7 +4926,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4754
4926
|
expected: "(boolean | undefined)",
|
|
4755
4927
|
value: input3.skipValuesBuild
|
|
4756
4928
|
})].every((flag) => flag);
|
|
4757
|
-
const $
|
|
4929
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4758
4930
|
path: _path2 + ".id",
|
|
4759
4931
|
expected: "string",
|
|
4760
4932
|
value: input3.id
|
|
@@ -4770,8 +4942,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4770
4942
|
path: _path2 + ".child_types",
|
|
4771
4943
|
expected: "(Array<string> | undefined)",
|
|
4772
4944
|
value: input3.child_types
|
|
4773
|
-
})) && input3.child_types.map((elem,
|
|
4774
|
-
path: _path2 + ".child_types[" +
|
|
4945
|
+
})) && input3.child_types.map((elem, _index67) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4946
|
+
path: _path2 + ".child_types[" + _index67 + "]",
|
|
4775
4947
|
expected: "string",
|
|
4776
4948
|
value: elem
|
|
4777
4949
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4786,8 +4958,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4786
4958
|
path: _path2 + ".included_types",
|
|
4787
4959
|
expected: "(Array<string> | undefined)",
|
|
4788
4960
|
value: input3.included_types
|
|
4789
|
-
})) && input3.included_types.map((elem,
|
|
4790
|
-
path: _path2 + ".included_types[" +
|
|
4961
|
+
})) && input3.included_types.map((elem, _index68) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4962
|
+
path: _path2 + ".included_types[" + _index68 + "]",
|
|
4791
4963
|
expected: "string",
|
|
4792
4964
|
value: elem
|
|
4793
4965
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4818,12 +4990,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4818
4990
|
path: _path2 + ".snps",
|
|
4819
4991
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
4820
4992
|
value: input3.snps
|
|
4821
|
-
})) && input3.snps.map((elem,
|
|
4822
|
-
path: _path2 + ".snps[" +
|
|
4993
|
+
})) && input3.snps.map((elem, _index69) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4994
|
+
path: _path2 + ".snps[" + _index69 + "]",
|
|
4823
4995
|
expected: "SnpsEntry",
|
|
4824
4996
|
value: elem
|
|
4825
|
-
})) && $
|
|
4826
|
-
path: _path2 + ".snps[" +
|
|
4997
|
+
})) && $vo49(elem, _path2 + ".snps[" + _index69 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4998
|
+
path: _path2 + ".snps[" + _index69 + "]",
|
|
4827
4999
|
expected: "SnpsEntry",
|
|
4828
5000
|
value: elem
|
|
4829
5001
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4831,12 +5003,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4831
5003
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
4832
5004
|
value: input3.snps
|
|
4833
5005
|
})].every((flag) => flag);
|
|
4834
|
-
const $
|
|
5006
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
4835
5007
|
path: _path2 + ".altAlleles",
|
|
4836
5008
|
expected: "(Array<string> | undefined)",
|
|
4837
5009
|
value: input3.altAlleles
|
|
4838
|
-
})) && input3.altAlleles.map((elem,
|
|
4839
|
-
path: _path2 + ".altAlleles[" +
|
|
5010
|
+
})) && input3.altAlleles.map((elem, _index70) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5011
|
+
path: _path2 + ".altAlleles[" + _index70 + "]",
|
|
4840
5012
|
expected: "string",
|
|
4841
5013
|
value: elem
|
|
4842
5014
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4847,12 +5019,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4847
5019
|
path: _path2 + ".alleles",
|
|
4848
5020
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
4849
5021
|
value: input3.alleles
|
|
4850
|
-
})) && input3.alleles.map((elem,
|
|
4851
|
-
path: _path2 + ".alleles[" +
|
|
5022
|
+
})) && input3.alleles.map((elem, _index71) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5023
|
+
path: _path2 + ".alleles[" + _index71 + "]",
|
|
4852
5024
|
expected: "AllelesEntry",
|
|
4853
5025
|
value: elem
|
|
4854
|
-
})) && $
|
|
4855
|
-
path: _path2 + ".alleles[" +
|
|
5026
|
+
})) && $vo50(elem, _path2 + ".alleles[" + _index71 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5027
|
+
path: _path2 + ".alleles[" + _index71 + "]",
|
|
4856
5028
|
expected: "AllelesEntry",
|
|
4857
5029
|
value: elem
|
|
4858
5030
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4867,7 +5039,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4867
5039
|
path: _path2 + ".gt2count",
|
|
4868
5040
|
expected: "(__type.o5 | undefined)",
|
|
4869
5041
|
value: input3.gt2count
|
|
4870
|
-
})) && $
|
|
5042
|
+
})) && $vo51(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
4871
5043
|
path: _path2 + ".gt2count",
|
|
4872
5044
|
expected: "(__type.o5 | undefined)",
|
|
4873
5045
|
value: input3.gt2count
|
|
@@ -4896,7 +5068,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4896
5068
|
expected: "(number | undefined)",
|
|
4897
5069
|
value: input3.pos
|
|
4898
5070
|
})].every((flag) => flag);
|
|
4899
|
-
const $
|
|
5071
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
4900
5072
|
path: _path2 + ".allele",
|
|
4901
5073
|
expected: "string",
|
|
4902
5074
|
value: input3.allele
|
|
@@ -4909,7 +5081,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4909
5081
|
expected: "boolean",
|
|
4910
5082
|
value: input3.isRef
|
|
4911
5083
|
})].every((flag) => flag);
|
|
4912
|
-
const $
|
|
5084
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
4913
5085
|
path: _path2 + ".k",
|
|
4914
5086
|
expected: "string",
|
|
4915
5087
|
value: input3.k
|
|
@@ -4918,7 +5090,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4918
5090
|
expected: "(number | string)",
|
|
4919
5091
|
value: input3.v
|
|
4920
5092
|
})].every((flag) => flag);
|
|
4921
|
-
const $
|
|
5093
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4922
5094
|
path: _path2 + ".id",
|
|
4923
5095
|
expected: "string",
|
|
4924
5096
|
value: input3.id
|
|
@@ -4934,8 +5106,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4934
5106
|
path: _path2 + ".child_types",
|
|
4935
5107
|
expected: "(Array<string> | undefined)",
|
|
4936
5108
|
value: input3.child_types
|
|
4937
|
-
})) && input3.child_types.map((elem,
|
|
4938
|
-
path: _path2 + ".child_types[" +
|
|
5109
|
+
})) && input3.child_types.map((elem, _index72) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5110
|
+
path: _path2 + ".child_types[" + _index72 + "]",
|
|
4939
5111
|
expected: "string",
|
|
4940
5112
|
value: elem
|
|
4941
5113
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4950,8 +5122,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4950
5122
|
path: _path2 + ".included_types",
|
|
4951
5123
|
expected: "(Array<string> | undefined)",
|
|
4952
5124
|
value: input3.included_types
|
|
4953
|
-
})) && input3.included_types.map((elem,
|
|
4954
|
-
path: _path2 + ".included_types[" +
|
|
5125
|
+
})) && input3.included_types.map((elem, _index73) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5126
|
+
path: _path2 + ".included_types[" + _index73 + "]",
|
|
4955
5127
|
expected: "string",
|
|
4956
5128
|
value: elem
|
|
4957
5129
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4966,7 +5138,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4966
5138
|
path: _path2 + ".values",
|
|
4967
5139
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
4968
5140
|
value: input3.values
|
|
4969
|
-
})) && $
|
|
5141
|
+
})) && $vo53(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4970
5142
|
path: _path2 + ".values",
|
|
4971
5143
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
4972
5144
|
value: input3.values
|
|
@@ -4975,7 +5147,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4975
5147
|
expected: "(boolean | undefined)",
|
|
4976
5148
|
value: input3.skipValuesBuild
|
|
4977
5149
|
})].every((flag) => flag);
|
|
4978
|
-
const $
|
|
5150
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
4979
5151
|
const value = input3[key];
|
|
4980
5152
|
if (void 0 === value)
|
|
4981
5153
|
return true;
|
|
@@ -4984,7 +5156,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4984
5156
|
path: _path2 + $join(key),
|
|
4985
5157
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4986
5158
|
value
|
|
4987
|
-
})) && $
|
|
5159
|
+
})) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4988
5160
|
path: _path2 + $join(key),
|
|
4989
5161
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4990
5162
|
value
|
|
@@ -4994,14 +5166,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4994
5166
|
path: _path2 + $join(key),
|
|
4995
5167
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4996
5168
|
value
|
|
4997
|
-
})) && $
|
|
5169
|
+
})) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4998
5170
|
path: _path2 + $join(key),
|
|
4999
5171
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
5000
5172
|
value
|
|
5001
5173
|
});
|
|
5002
5174
|
return true;
|
|
5003
5175
|
}).every((flag) => flag)].every((flag) => flag);
|
|
5004
|
-
const $
|
|
5176
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
5005
5177
|
path: _path2 + ".key",
|
|
5006
5178
|
expected: "(string | undefined)",
|
|
5007
5179
|
value: input3.key
|
|
@@ -5045,12 +5217,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5045
5217
|
path: _path2 + ".list",
|
|
5046
5218
|
expected: "Array<__type>.o3",
|
|
5047
5219
|
value: input3.list
|
|
5048
|
-
})) && input3.list.map((elem,
|
|
5049
|
-
path: _path2 + ".list[" +
|
|
5220
|
+
})) && input3.list.map((elem, _index74) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5221
|
+
path: _path2 + ".list[" + _index74 + "]",
|
|
5050
5222
|
expected: "__type.o6",
|
|
5051
5223
|
value: elem
|
|
5052
|
-
})) && $
|
|
5053
|
-
path: _path2 + ".list[" +
|
|
5224
|
+
})) && $vo55(elem, _path2 + ".list[" + _index74 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5225
|
+
path: _path2 + ".list[" + _index74 + "]",
|
|
5054
5226
|
expected: "__type.o6",
|
|
5055
5227
|
value: elem
|
|
5056
5228
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5058,7 +5230,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5058
5230
|
expected: "Array<__type>.o3",
|
|
5059
5231
|
value: input3.list
|
|
5060
5232
|
}), true].every((flag) => flag);
|
|
5061
|
-
const $
|
|
5233
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
5062
5234
|
path: _path2 + ".sampleId",
|
|
5063
5235
|
expected: "string",
|
|
5064
5236
|
value: input3.sampleId
|
|
@@ -5072,15 +5244,19 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5072
5244
|
return $vo40(input3, _path2, _exceptionable2);
|
|
5073
5245
|
if ("categorical" === input3.type)
|
|
5074
5246
|
return $vo41(input3, _path2, _exceptionable2);
|
|
5075
|
-
if ("
|
|
5247
|
+
if ("snp" === input3.type)
|
|
5248
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
5249
|
+
if ("singleCellCellType" === input3.type)
|
|
5076
5250
|
return $vo43(input3, _path2, _exceptionable2);
|
|
5251
|
+
if ("date" === input3.type)
|
|
5252
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
5077
5253
|
if ("integer" === input3.type || "float" === input3.type)
|
|
5078
|
-
return $vo42(input3, _path2, _exceptionable2);
|
|
5079
|
-
if ("ssGSEA" === input3.type)
|
|
5080
5254
|
return $vo44(input3, _path2, _exceptionable2);
|
|
5255
|
+
if ("ssGSEA" === input3.type)
|
|
5256
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
5081
5257
|
if ("condition" === input3.type)
|
|
5082
|
-
return $
|
|
5083
|
-
return $vo23(input3, _path2, false) || $vo1(input3, _path2, false) || $vo38(input3, _path2, false) || $vo39(input3, _path2, false) || $
|
|
5258
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
5259
|
+
return $vo23(input3, _path2, false) || $vo1(input3, _path2, false) || $vo38(input3, _path2, false) || $vo39(input3, _path2, false) || $vo48(input3, _path2, false) || $vo52(input3, _path2, false);
|
|
5084
5260
|
})();
|
|
5085
5261
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
5086
5262
|
if ("tvslst" === input3.type)
|