@sjcrh/proteinpaint-types 2.146.2 → 2.147.1
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-74B7B2CV.js → chunk-2ZJS3NUY.js} +258 -82
- package/dist/{chunk-NBV7HYBA.js → chunk-3SKFYOKV.js} +407 -515
- package/dist/{chunk-G5KSPYQG.js → chunk-4SJC57Y6.js} +403 -511
- package/dist/{chunk-4VEXL32Q.js → chunk-75GS5ZG5.js} +381 -489
- package/dist/{chunk-2BHWLFKE.js → chunk-ETMCI34A.js} +2 -6
- package/dist/{chunk-7ICZFAGK.js → chunk-KSVIBMFQ.js} +1049 -797
- package/dist/{chunk-C246BWQE.js → chunk-NQUMNEVO.js} +258 -82
- package/dist/{chunk-4DNCZQOB.js → chunk-OOQIRLS5.js} +258 -82
- package/dist/{chunk-5KADNZH2.js → chunk-RA7IEGS4.js} +408 -516
- 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/q.ts +6 -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/term.ts +2 -2
- package/src/terms/tw.ts +3 -4
|
@@ -117,27 +117,29 @@ var validPercentileRequest = (input) => {
|
|
|
117
117
|
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 && $iu3(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)));
|
|
118
118
|
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));
|
|
119
119
|
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));
|
|
120
|
-
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
121
|
-
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
122
|
-
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
123
|
-
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
124
|
-
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
125
|
-
const $io47 = (input3) =>
|
|
126
|
-
const $io48 = (input3) => "string" === typeof input3.
|
|
127
|
-
const $io49 = (input3) => "string" === typeof input3.
|
|
128
|
-
const $io50 = (input3) => "string" === typeof input3.
|
|
129
|
-
const $io51 = (input3) =>
|
|
120
|
+
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));
|
|
121
|
+
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));
|
|
122
|
+
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));
|
|
123
|
+
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));
|
|
124
|
+
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));
|
|
125
|
+
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);
|
|
126
|
+
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)));
|
|
127
|
+
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);
|
|
128
|
+
const $io50 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
129
|
+
const $io51 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
130
|
+
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);
|
|
131
|
+
const $io53 = (input3) => Object.keys(input3).every((key) => {
|
|
130
132
|
const value = input3[key];
|
|
131
133
|
if (void 0 === value)
|
|
132
134
|
return true;
|
|
133
135
|
if (RegExp(/(.*)/).test(key))
|
|
134
|
-
return "object" === typeof value && null !== value && $
|
|
136
|
+
return "object" === typeof value && null !== value && $io54(value);
|
|
135
137
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
136
|
-
return "object" === typeof value && null !== value && $
|
|
138
|
+
return "object" === typeof value && null !== value && $io54(value);
|
|
137
139
|
return true;
|
|
138
140
|
});
|
|
139
|
-
const $
|
|
140
|
-
const $
|
|
141
|
+
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;
|
|
142
|
+
const $io55 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
141
143
|
const $iu0 = (input3) => (() => {
|
|
142
144
|
if ("tvslst" === input3.type)
|
|
143
145
|
return $io4(input3);
|
|
@@ -171,14 +173,18 @@ var validPercentileRequest = (input) => {
|
|
|
171
173
|
return $io40(input3);
|
|
172
174
|
if ("categorical" === input3.type)
|
|
173
175
|
return $io41(input3);
|
|
174
|
-
if ("
|
|
176
|
+
if ("snp" === input3.type)
|
|
177
|
+
return $io42(input3);
|
|
178
|
+
if ("singleCellCellType" === input3.type)
|
|
175
179
|
return $io43(input3);
|
|
180
|
+
if ("date" === input3.type)
|
|
181
|
+
return $io45(input3);
|
|
176
182
|
if ("integer" === input3.type || "float" === input3.type)
|
|
177
|
-
return $io42(input3);
|
|
178
|
-
if ("ssGSEA" === input3.type)
|
|
179
183
|
return $io44(input3);
|
|
184
|
+
if ("ssGSEA" === input3.type)
|
|
185
|
+
return $io46(input3);
|
|
180
186
|
if ("condition" === input3.type)
|
|
181
|
-
return $
|
|
187
|
+
return $io47(input3);
|
|
182
188
|
return (() => {
|
|
183
189
|
if ($io23(input3))
|
|
184
190
|
return $io23(input3);
|
|
@@ -188,10 +194,10 @@ var validPercentileRequest = (input) => {
|
|
|
188
194
|
return $io38(input3);
|
|
189
195
|
if ($io39(input3))
|
|
190
196
|
return $io39(input3);
|
|
191
|
-
if ($
|
|
192
|
-
return $
|
|
193
|
-
if ($
|
|
194
|
-
return $
|
|
197
|
+
if ($io48(input3))
|
|
198
|
+
return $io48(input3);
|
|
199
|
+
if ($io52(input3))
|
|
200
|
+
return $io52(input3);
|
|
195
201
|
return false;
|
|
196
202
|
})();
|
|
197
203
|
})();
|
|
@@ -285,11 +291,11 @@ var validPercentileRequest = (input) => {
|
|
|
285
291
|
value: input3.getpercentile
|
|
286
292
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
287
293
|
path: _path2 + ".term",
|
|
288
|
-
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 | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | 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; } & { name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | 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; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "
|
|
294
|
+
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 | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | 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; } & { name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | 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; })',
|
|
289
295
|
value: input3.term
|
|
290
296
|
})) && $vu4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
291
297
|
path: _path2 + ".term",
|
|
292
|
-
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 | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | 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; } & { name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | 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; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "
|
|
298
|
+
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 | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | 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; } & { name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | 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; })',
|
|
293
299
|
value: input3.term
|
|
294
300
|
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
295
301
|
path: _path2 + ".filter",
|
|
@@ -2459,9 +2465,9 @@ var validPercentileRequest = (input) => {
|
|
|
2459
2465
|
path: _path2 + ".name",
|
|
2460
2466
|
expected: "string",
|
|
2461
2467
|
value: input3.name
|
|
2462
|
-
}), "
|
|
2468
|
+
}), "snp" === input3.type || $report(_exceptionable2, {
|
|
2463
2469
|
path: _path2 + ".type",
|
|
2464
|
-
expected: '
|
|
2470
|
+
expected: '"snp"',
|
|
2465
2471
|
value: input3.type
|
|
2466
2472
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2467
2473
|
path: _path2 + ".child_types",
|
|
@@ -2507,6 +2513,172 @@ var validPercentileRequest = (input) => {
|
|
|
2507
2513
|
path: _path2 + ".skipValuesBuild",
|
|
2508
2514
|
expected: "(boolean | undefined)",
|
|
2509
2515
|
value: input3.skipValuesBuild
|
|
2516
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2517
|
+
path: _path2 + ".chr",
|
|
2518
|
+
expected: "string",
|
|
2519
|
+
value: input3.chr
|
|
2520
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2521
|
+
path: _path2 + ".start",
|
|
2522
|
+
expected: "number",
|
|
2523
|
+
value: input3.start
|
|
2524
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2525
|
+
path: _path2 + ".stop",
|
|
2526
|
+
expected: "number",
|
|
2527
|
+
value: input3.stop
|
|
2528
|
+
}), "string" === typeof input3.ref || $report(_exceptionable2, {
|
|
2529
|
+
path: _path2 + ".ref",
|
|
2530
|
+
expected: "string",
|
|
2531
|
+
value: input3.ref
|
|
2532
|
+
}), (Array.isArray(input3.alt) || $report(_exceptionable2, {
|
|
2533
|
+
path: _path2 + ".alt",
|
|
2534
|
+
expected: "Array<string>",
|
|
2535
|
+
value: input3.alt
|
|
2536
|
+
})) && input3.alt.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2537
|
+
path: _path2 + ".alt[" + _index55 + "]",
|
|
2538
|
+
expected: "string",
|
|
2539
|
+
value: elem
|
|
2540
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2541
|
+
path: _path2 + ".alt",
|
|
2542
|
+
expected: "Array<string>",
|
|
2543
|
+
value: input3.alt
|
|
2544
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2545
|
+
path: _path2 + ".groupsetting",
|
|
2546
|
+
expected: "TermGroupSetting",
|
|
2547
|
+
value: input3.groupsetting
|
|
2548
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2549
|
+
path: _path2 + ".groupsetting",
|
|
2550
|
+
expected: "TermGroupSetting",
|
|
2551
|
+
value: input3.groupsetting
|
|
2552
|
+
})].every((flag) => flag);
|
|
2553
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2554
|
+
path: _path2 + ".id",
|
|
2555
|
+
expected: "string",
|
|
2556
|
+
value: input3.id
|
|
2557
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2558
|
+
path: _path2 + ".name",
|
|
2559
|
+
expected: "string",
|
|
2560
|
+
value: input3.name
|
|
2561
|
+
}), "singleCellCellType" === input3.type || $report(_exceptionable2, {
|
|
2562
|
+
path: _path2 + ".type",
|
|
2563
|
+
expected: '"singleCellCellType"',
|
|
2564
|
+
value: input3.type
|
|
2565
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2566
|
+
path: _path2 + ".child_types",
|
|
2567
|
+
expected: "(Array<string> | undefined)",
|
|
2568
|
+
value: input3.child_types
|
|
2569
|
+
})) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2570
|
+
path: _path2 + ".child_types[" + _index56 + "]",
|
|
2571
|
+
expected: "string",
|
|
2572
|
+
value: elem
|
|
2573
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2574
|
+
path: _path2 + ".child_types",
|
|
2575
|
+
expected: "(Array<string> | undefined)",
|
|
2576
|
+
value: input3.child_types
|
|
2577
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2578
|
+
path: _path2 + ".hashtmldetail",
|
|
2579
|
+
expected: "(boolean | undefined)",
|
|
2580
|
+
value: input3.hashtmldetail
|
|
2581
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2582
|
+
path: _path2 + ".included_types",
|
|
2583
|
+
expected: "(Array<string> | undefined)",
|
|
2584
|
+
value: input3.included_types
|
|
2585
|
+
})) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2586
|
+
path: _path2 + ".included_types[" + _index57 + "]",
|
|
2587
|
+
expected: "string",
|
|
2588
|
+
value: elem
|
|
2589
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2590
|
+
path: _path2 + ".included_types",
|
|
2591
|
+
expected: "(Array<string> | undefined)",
|
|
2592
|
+
value: input3.included_types
|
|
2593
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2594
|
+
path: _path2 + ".isleaf",
|
|
2595
|
+
expected: "(boolean | undefined)",
|
|
2596
|
+
value: input3.isleaf
|
|
2597
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2598
|
+
path: _path2 + ".values",
|
|
2599
|
+
expected: "(TermValues | undefined)",
|
|
2600
|
+
value: input3.values
|
|
2601
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2602
|
+
path: _path2 + ".values",
|
|
2603
|
+
expected: "(TermValues | undefined)",
|
|
2604
|
+
value: input3.values
|
|
2605
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2606
|
+
path: _path2 + ".skipValuesBuild",
|
|
2607
|
+
expected: "(boolean | undefined)",
|
|
2608
|
+
value: input3.skipValuesBuild
|
|
2609
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
2610
|
+
path: _path2 + ".sample",
|
|
2611
|
+
expected: "string",
|
|
2612
|
+
value: input3.sample
|
|
2613
|
+
}), "string" === typeof input3.plot || $report(_exceptionable2, {
|
|
2614
|
+
path: _path2 + ".plot",
|
|
2615
|
+
expected: "string",
|
|
2616
|
+
value: input3.plot
|
|
2617
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2618
|
+
path: _path2 + ".groupsetting",
|
|
2619
|
+
expected: "TermGroupSetting",
|
|
2620
|
+
value: input3.groupsetting
|
|
2621
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2622
|
+
path: _path2 + ".groupsetting",
|
|
2623
|
+
expected: "TermGroupSetting",
|
|
2624
|
+
value: input3.groupsetting
|
|
2625
|
+
})].every((flag) => flag);
|
|
2626
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2627
|
+
path: _path2 + ".id",
|
|
2628
|
+
expected: "string",
|
|
2629
|
+
value: input3.id
|
|
2630
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2631
|
+
path: _path2 + ".name",
|
|
2632
|
+
expected: "string",
|
|
2633
|
+
value: input3.name
|
|
2634
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
2635
|
+
path: _path2 + ".type",
|
|
2636
|
+
expected: '("float" | "integer")',
|
|
2637
|
+
value: input3.type
|
|
2638
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2639
|
+
path: _path2 + ".child_types",
|
|
2640
|
+
expected: "(Array<string> | undefined)",
|
|
2641
|
+
value: input3.child_types
|
|
2642
|
+
})) && input3.child_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2643
|
+
path: _path2 + ".child_types[" + _index58 + "]",
|
|
2644
|
+
expected: "string",
|
|
2645
|
+
value: elem
|
|
2646
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2647
|
+
path: _path2 + ".child_types",
|
|
2648
|
+
expected: "(Array<string> | undefined)",
|
|
2649
|
+
value: input3.child_types
|
|
2650
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2651
|
+
path: _path2 + ".hashtmldetail",
|
|
2652
|
+
expected: "(boolean | undefined)",
|
|
2653
|
+
value: input3.hashtmldetail
|
|
2654
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2655
|
+
path: _path2 + ".included_types",
|
|
2656
|
+
expected: "(Array<string> | undefined)",
|
|
2657
|
+
value: input3.included_types
|
|
2658
|
+
})) && input3.included_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2659
|
+
path: _path2 + ".included_types[" + _index59 + "]",
|
|
2660
|
+
expected: "string",
|
|
2661
|
+
value: elem
|
|
2662
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2663
|
+
path: _path2 + ".included_types",
|
|
2664
|
+
expected: "(Array<string> | undefined)",
|
|
2665
|
+
value: input3.included_types
|
|
2666
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2667
|
+
path: _path2 + ".isleaf",
|
|
2668
|
+
expected: "(boolean | undefined)",
|
|
2669
|
+
value: input3.isleaf
|
|
2670
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2671
|
+
path: _path2 + ".values",
|
|
2672
|
+
expected: "(TermValues | undefined)",
|
|
2673
|
+
value: input3.values
|
|
2674
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2675
|
+
path: _path2 + ".values",
|
|
2676
|
+
expected: "(TermValues | undefined)",
|
|
2677
|
+
value: input3.values
|
|
2678
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2679
|
+
path: _path2 + ".skipValuesBuild",
|
|
2680
|
+
expected: "(boolean | undefined)",
|
|
2681
|
+
value: input3.skipValuesBuild
|
|
2510
2682
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2511
2683
|
path: _path2 + ".continuousColorScale",
|
|
2512
2684
|
expected: "(__type.o2 | undefined)",
|
|
@@ -2528,7 +2700,7 @@ var validPercentileRequest = (input) => {
|
|
|
2528
2700
|
expected: "PresetNumericBins",
|
|
2529
2701
|
value: input3.bins
|
|
2530
2702
|
})].every((flag) => flag);
|
|
2531
|
-
const $
|
|
2703
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2532
2704
|
path: _path2 + ".id",
|
|
2533
2705
|
expected: "string",
|
|
2534
2706
|
value: input3.id
|
|
@@ -2544,8 +2716,8 @@ var validPercentileRequest = (input) => {
|
|
|
2544
2716
|
path: _path2 + ".child_types",
|
|
2545
2717
|
expected: "(Array<string> | undefined)",
|
|
2546
2718
|
value: input3.child_types
|
|
2547
|
-
})) && input3.child_types.map((elem,
|
|
2548
|
-
path: _path2 + ".child_types[" +
|
|
2719
|
+
})) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2720
|
+
path: _path2 + ".child_types[" + _index60 + "]",
|
|
2549
2721
|
expected: "string",
|
|
2550
2722
|
value: elem
|
|
2551
2723
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2560,8 +2732,8 @@ var validPercentileRequest = (input) => {
|
|
|
2560
2732
|
path: _path2 + ".included_types",
|
|
2561
2733
|
expected: "(Array<string> | undefined)",
|
|
2562
2734
|
value: input3.included_types
|
|
2563
|
-
})) && input3.included_types.map((elem,
|
|
2564
|
-
path: _path2 + ".included_types[" +
|
|
2735
|
+
})) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2736
|
+
path: _path2 + ".included_types[" + _index61 + "]",
|
|
2565
2737
|
expected: "string",
|
|
2566
2738
|
value: elem
|
|
2567
2739
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2605,7 +2777,7 @@ var validPercentileRequest = (input) => {
|
|
|
2605
2777
|
expected: "(PresetNumericBins | undefined)",
|
|
2606
2778
|
value: input3.bins
|
|
2607
2779
|
})].every((flag) => flag);
|
|
2608
|
-
const $
|
|
2780
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2609
2781
|
path: _path2 + ".id",
|
|
2610
2782
|
expected: "string",
|
|
2611
2783
|
value: input3.id
|
|
@@ -2621,8 +2793,8 @@ var validPercentileRequest = (input) => {
|
|
|
2621
2793
|
path: _path2 + ".child_types",
|
|
2622
2794
|
expected: "(Array<string> | undefined)",
|
|
2623
2795
|
value: input3.child_types
|
|
2624
|
-
})) && input3.child_types.map((elem,
|
|
2625
|
-
path: _path2 + ".child_types[" +
|
|
2796
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2797
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
2626
2798
|
expected: "string",
|
|
2627
2799
|
value: elem
|
|
2628
2800
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2637,8 +2809,8 @@ var validPercentileRequest = (input) => {
|
|
|
2637
2809
|
path: _path2 + ".included_types",
|
|
2638
2810
|
expected: "(Array<string> | undefined)",
|
|
2639
2811
|
value: input3.included_types
|
|
2640
|
-
})) && input3.included_types.map((elem,
|
|
2641
|
-
path: _path2 + ".included_types[" +
|
|
2812
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2813
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
2642
2814
|
expected: "string",
|
|
2643
2815
|
value: elem
|
|
2644
2816
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2677,8 +2849,8 @@ var validPercentileRequest = (input) => {
|
|
|
2677
2849
|
path: _path2 + ".genes",
|
|
2678
2850
|
expected: "(Array<string> | undefined)",
|
|
2679
2851
|
value: input3.genes
|
|
2680
|
-
})) && input3.genes.map((elem,
|
|
2681
|
-
path: _path2 + ".genes[" +
|
|
2852
|
+
})) && input3.genes.map((elem, _index64) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2853
|
+
path: _path2 + ".genes[" + _index64 + "]",
|
|
2682
2854
|
expected: "string",
|
|
2683
2855
|
value: elem
|
|
2684
2856
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2694,7 +2866,7 @@ var validPercentileRequest = (input) => {
|
|
|
2694
2866
|
expected: "(PresetNumericBins | undefined)",
|
|
2695
2867
|
value: input3.bins
|
|
2696
2868
|
})].every((flag) => flag);
|
|
2697
|
-
const $
|
|
2869
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2698
2870
|
path: _path2 + ".id",
|
|
2699
2871
|
expected: "string",
|
|
2700
2872
|
value: input3.id
|
|
@@ -2710,8 +2882,8 @@ var validPercentileRequest = (input) => {
|
|
|
2710
2882
|
path: _path2 + ".child_types",
|
|
2711
2883
|
expected: "(Array<string> | undefined)",
|
|
2712
2884
|
value: input3.child_types
|
|
2713
|
-
})) && input3.child_types.map((elem,
|
|
2714
|
-
path: _path2 + ".child_types[" +
|
|
2885
|
+
})) && input3.child_types.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2886
|
+
path: _path2 + ".child_types[" + _index65 + "]",
|
|
2715
2887
|
expected: "string",
|
|
2716
2888
|
value: elem
|
|
2717
2889
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2726,8 +2898,8 @@ var validPercentileRequest = (input) => {
|
|
|
2726
2898
|
path: _path2 + ".included_types",
|
|
2727
2899
|
expected: "(Array<string> | undefined)",
|
|
2728
2900
|
value: input3.included_types
|
|
2729
|
-
})) && input3.included_types.map((elem,
|
|
2730
|
-
path: _path2 + ".included_types[" +
|
|
2901
|
+
})) && input3.included_types.map((elem, _index66) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2902
|
+
path: _path2 + ".included_types[" + _index66 + "]",
|
|
2731
2903
|
expected: "string",
|
|
2732
2904
|
value: elem
|
|
2733
2905
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2751,7 +2923,7 @@ var validPercentileRequest = (input) => {
|
|
|
2751
2923
|
expected: "(boolean | undefined)",
|
|
2752
2924
|
value: input3.skipValuesBuild
|
|
2753
2925
|
})].every((flag) => flag);
|
|
2754
|
-
const $
|
|
2926
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2755
2927
|
path: _path2 + ".id",
|
|
2756
2928
|
expected: "string",
|
|
2757
2929
|
value: input3.id
|
|
@@ -2767,8 +2939,8 @@ var validPercentileRequest = (input) => {
|
|
|
2767
2939
|
path: _path2 + ".child_types",
|
|
2768
2940
|
expected: "(Array<string> | undefined)",
|
|
2769
2941
|
value: input3.child_types
|
|
2770
|
-
})) && input3.child_types.map((elem,
|
|
2771
|
-
path: _path2 + ".child_types[" +
|
|
2942
|
+
})) && input3.child_types.map((elem, _index67) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2943
|
+
path: _path2 + ".child_types[" + _index67 + "]",
|
|
2772
2944
|
expected: "string",
|
|
2773
2945
|
value: elem
|
|
2774
2946
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2783,8 +2955,8 @@ var validPercentileRequest = (input) => {
|
|
|
2783
2955
|
path: _path2 + ".included_types",
|
|
2784
2956
|
expected: "(Array<string> | undefined)",
|
|
2785
2957
|
value: input3.included_types
|
|
2786
|
-
})) && input3.included_types.map((elem,
|
|
2787
|
-
path: _path2 + ".included_types[" +
|
|
2958
|
+
})) && input3.included_types.map((elem, _index68) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2959
|
+
path: _path2 + ".included_types[" + _index68 + "]",
|
|
2788
2960
|
expected: "string",
|
|
2789
2961
|
value: elem
|
|
2790
2962
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2815,12 +2987,12 @@ var validPercentileRequest = (input) => {
|
|
|
2815
2987
|
path: _path2 + ".snps",
|
|
2816
2988
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2817
2989
|
value: input3.snps
|
|
2818
|
-
})) && input3.snps.map((elem,
|
|
2819
|
-
path: _path2 + ".snps[" +
|
|
2990
|
+
})) && input3.snps.map((elem, _index69) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2991
|
+
path: _path2 + ".snps[" + _index69 + "]",
|
|
2820
2992
|
expected: "SnpsEntry",
|
|
2821
2993
|
value: elem
|
|
2822
|
-
})) && $
|
|
2823
|
-
path: _path2 + ".snps[" +
|
|
2994
|
+
})) && $vo49(elem, _path2 + ".snps[" + _index69 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2995
|
+
path: _path2 + ".snps[" + _index69 + "]",
|
|
2824
2996
|
expected: "SnpsEntry",
|
|
2825
2997
|
value: elem
|
|
2826
2998
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2828,12 +3000,12 @@ var validPercentileRequest = (input) => {
|
|
|
2828
3000
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2829
3001
|
value: input3.snps
|
|
2830
3002
|
})].every((flag) => flag);
|
|
2831
|
-
const $
|
|
3003
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
2832
3004
|
path: _path2 + ".altAlleles",
|
|
2833
3005
|
expected: "(Array<string> | undefined)",
|
|
2834
3006
|
value: input3.altAlleles
|
|
2835
|
-
})) && input3.altAlleles.map((elem,
|
|
2836
|
-
path: _path2 + ".altAlleles[" +
|
|
3007
|
+
})) && input3.altAlleles.map((elem, _index70) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3008
|
+
path: _path2 + ".altAlleles[" + _index70 + "]",
|
|
2837
3009
|
expected: "string",
|
|
2838
3010
|
value: elem
|
|
2839
3011
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2844,12 +3016,12 @@ var validPercentileRequest = (input) => {
|
|
|
2844
3016
|
path: _path2 + ".alleles",
|
|
2845
3017
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
2846
3018
|
value: input3.alleles
|
|
2847
|
-
})) && input3.alleles.map((elem,
|
|
2848
|
-
path: _path2 + ".alleles[" +
|
|
3019
|
+
})) && input3.alleles.map((elem, _index71) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3020
|
+
path: _path2 + ".alleles[" + _index71 + "]",
|
|
2849
3021
|
expected: "AllelesEntry",
|
|
2850
3022
|
value: elem
|
|
2851
|
-
})) && $
|
|
2852
|
-
path: _path2 + ".alleles[" +
|
|
3023
|
+
})) && $vo50(elem, _path2 + ".alleles[" + _index71 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3024
|
+
path: _path2 + ".alleles[" + _index71 + "]",
|
|
2853
3025
|
expected: "AllelesEntry",
|
|
2854
3026
|
value: elem
|
|
2855
3027
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2864,7 +3036,7 @@ var validPercentileRequest = (input) => {
|
|
|
2864
3036
|
path: _path2 + ".gt2count",
|
|
2865
3037
|
expected: "(__type.o5 | undefined)",
|
|
2866
3038
|
value: input3.gt2count
|
|
2867
|
-
})) && $
|
|
3039
|
+
})) && $vo51(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
2868
3040
|
path: _path2 + ".gt2count",
|
|
2869
3041
|
expected: "(__type.o5 | undefined)",
|
|
2870
3042
|
value: input3.gt2count
|
|
@@ -2893,7 +3065,7 @@ var validPercentileRequest = (input) => {
|
|
|
2893
3065
|
expected: "(number | undefined)",
|
|
2894
3066
|
value: input3.pos
|
|
2895
3067
|
})].every((flag) => flag);
|
|
2896
|
-
const $
|
|
3068
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
2897
3069
|
path: _path2 + ".allele",
|
|
2898
3070
|
expected: "string",
|
|
2899
3071
|
value: input3.allele
|
|
@@ -2906,7 +3078,7 @@ var validPercentileRequest = (input) => {
|
|
|
2906
3078
|
expected: "boolean",
|
|
2907
3079
|
value: input3.isRef
|
|
2908
3080
|
})].every((flag) => flag);
|
|
2909
|
-
const $
|
|
3081
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
2910
3082
|
path: _path2 + ".k",
|
|
2911
3083
|
expected: "string",
|
|
2912
3084
|
value: input3.k
|
|
@@ -2915,7 +3087,7 @@ var validPercentileRequest = (input) => {
|
|
|
2915
3087
|
expected: "(number | string)",
|
|
2916
3088
|
value: input3.v
|
|
2917
3089
|
})].every((flag) => flag);
|
|
2918
|
-
const $
|
|
3090
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2919
3091
|
path: _path2 + ".id",
|
|
2920
3092
|
expected: "string",
|
|
2921
3093
|
value: input3.id
|
|
@@ -2931,8 +3103,8 @@ var validPercentileRequest = (input) => {
|
|
|
2931
3103
|
path: _path2 + ".child_types",
|
|
2932
3104
|
expected: "(Array<string> | undefined)",
|
|
2933
3105
|
value: input3.child_types
|
|
2934
|
-
})) && input3.child_types.map((elem,
|
|
2935
|
-
path: _path2 + ".child_types[" +
|
|
3106
|
+
})) && input3.child_types.map((elem, _index72) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3107
|
+
path: _path2 + ".child_types[" + _index72 + "]",
|
|
2936
3108
|
expected: "string",
|
|
2937
3109
|
value: elem
|
|
2938
3110
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2947,8 +3119,8 @@ var validPercentileRequest = (input) => {
|
|
|
2947
3119
|
path: _path2 + ".included_types",
|
|
2948
3120
|
expected: "(Array<string> | undefined)",
|
|
2949
3121
|
value: input3.included_types
|
|
2950
|
-
})) && input3.included_types.map((elem,
|
|
2951
|
-
path: _path2 + ".included_types[" +
|
|
3122
|
+
})) && input3.included_types.map((elem, _index73) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3123
|
+
path: _path2 + ".included_types[" + _index73 + "]",
|
|
2952
3124
|
expected: "string",
|
|
2953
3125
|
value: elem
|
|
2954
3126
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2963,7 +3135,7 @@ var validPercentileRequest = (input) => {
|
|
|
2963
3135
|
path: _path2 + ".values",
|
|
2964
3136
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2965
3137
|
value: input3.values
|
|
2966
|
-
})) && $
|
|
3138
|
+
})) && $vo53(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2967
3139
|
path: _path2 + ".values",
|
|
2968
3140
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2969
3141
|
value: input3.values
|
|
@@ -2972,7 +3144,7 @@ var validPercentileRequest = (input) => {
|
|
|
2972
3144
|
expected: "(boolean | undefined)",
|
|
2973
3145
|
value: input3.skipValuesBuild
|
|
2974
3146
|
})].every((flag) => flag);
|
|
2975
|
-
const $
|
|
3147
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2976
3148
|
const value = input3[key];
|
|
2977
3149
|
if (void 0 === value)
|
|
2978
3150
|
return true;
|
|
@@ -2981,7 +3153,7 @@ var validPercentileRequest = (input) => {
|
|
|
2981
3153
|
path: _path2 + $join(key),
|
|
2982
3154
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2983
3155
|
value
|
|
2984
|
-
})) && $
|
|
3156
|
+
})) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2985
3157
|
path: _path2 + $join(key),
|
|
2986
3158
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2987
3159
|
value
|
|
@@ -2991,14 +3163,14 @@ var validPercentileRequest = (input) => {
|
|
|
2991
3163
|
path: _path2 + $join(key),
|
|
2992
3164
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2993
3165
|
value
|
|
2994
|
-
})) && $
|
|
3166
|
+
})) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2995
3167
|
path: _path2 + $join(key),
|
|
2996
3168
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2997
3169
|
value
|
|
2998
3170
|
});
|
|
2999
3171
|
return true;
|
|
3000
3172
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3001
|
-
const $
|
|
3173
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3002
3174
|
path: _path2 + ".key",
|
|
3003
3175
|
expected: "(string | undefined)",
|
|
3004
3176
|
value: input3.key
|
|
@@ -3042,12 +3214,12 @@ var validPercentileRequest = (input) => {
|
|
|
3042
3214
|
path: _path2 + ".list",
|
|
3043
3215
|
expected: "Array<__type>.o3",
|
|
3044
3216
|
value: input3.list
|
|
3045
|
-
})) && input3.list.map((elem,
|
|
3046
|
-
path: _path2 + ".list[" +
|
|
3217
|
+
})) && input3.list.map((elem, _index74) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3218
|
+
path: _path2 + ".list[" + _index74 + "]",
|
|
3047
3219
|
expected: "__type.o6",
|
|
3048
3220
|
value: elem
|
|
3049
|
-
})) && $
|
|
3050
|
-
path: _path2 + ".list[" +
|
|
3221
|
+
})) && $vo55(elem, _path2 + ".list[" + _index74 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3222
|
+
path: _path2 + ".list[" + _index74 + "]",
|
|
3051
3223
|
expected: "__type.o6",
|
|
3052
3224
|
value: elem
|
|
3053
3225
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3055,7 +3227,7 @@ var validPercentileRequest = (input) => {
|
|
|
3055
3227
|
expected: "Array<__type>.o3",
|
|
3056
3228
|
value: input3.list
|
|
3057
3229
|
}), true].every((flag) => flag);
|
|
3058
|
-
const $
|
|
3230
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3059
3231
|
path: _path2 + ".sampleId",
|
|
3060
3232
|
expected: "string",
|
|
3061
3233
|
value: input3.sampleId
|
|
@@ -3109,15 +3281,19 @@ var validPercentileRequest = (input) => {
|
|
|
3109
3281
|
return $vo40(input3, _path2, _exceptionable2);
|
|
3110
3282
|
if ("categorical" === input3.type)
|
|
3111
3283
|
return $vo41(input3, _path2, _exceptionable2);
|
|
3112
|
-
if ("
|
|
3284
|
+
if ("snp" === input3.type)
|
|
3285
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3286
|
+
if ("singleCellCellType" === input3.type)
|
|
3113
3287
|
return $vo43(input3, _path2, _exceptionable2);
|
|
3288
|
+
if ("date" === input3.type)
|
|
3289
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3114
3290
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3115
|
-
return $vo42(input3, _path2, _exceptionable2);
|
|
3116
|
-
if ("ssGSEA" === input3.type)
|
|
3117
3291
|
return $vo44(input3, _path2, _exceptionable2);
|
|
3292
|
+
if ("ssGSEA" === input3.type)
|
|
3293
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3118
3294
|
if ("condition" === input3.type)
|
|
3119
|
-
return $
|
|
3120
|
-
return $vo23(input3, _path2, false) || $vo1(input3, _path2, false) || $vo38(input3, _path2, false) || $vo39(input3, _path2, false) || $
|
|
3295
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
3296
|
+
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);
|
|
3121
3297
|
})();
|
|
3122
3298
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3123
3299
|
if (void 0 !== input3.ranges)
|