@sjcrh/proteinpaint-types 2.118.3-0 → 2.119.0-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/{chunk-3QALQGW4.js → chunk-3C26VWPU.js} +5 -5
- package/dist/{chunk-KG7UDG6M.js → chunk-4V46EBDF.js} +6 -38
- package/dist/{chunk-4U546XOJ.js → chunk-7NNYHDAK.js} +6 -38
- package/dist/{chunk-JYO2T4HZ.js → chunk-BM3JLR6T.js} +6 -38
- package/dist/{chunk-W4JULXYD.js → chunk-HURSYPTO.js} +13 -1
- package/dist/{chunk-JOGEIPHA.js → chunk-UVOO2LBD.js} +6 -38
- package/dist/{chunk-53UNFIIG.js → chunk-YURGGHZI.js} +6 -38
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +7 -7
- package/dist/samplewsimages.js +1 -1
- package/dist/termdb.DE.js +1 -1
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +42 -6
- package/src/routes/samplewsimages.ts +1 -0
- package/src/routes/termdb.DE.ts +1 -1
- package/src/terms/geneVariant.ts +2 -2
|
@@ -75,7 +75,7 @@ var validDEResponse = (input) => {
|
|
|
75
75
|
const errors = [];
|
|
76
76
|
const __is = (input2) => {
|
|
77
77
|
const $io0 = (input3) => Array.isArray(input3.data) && input3.data.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)) && "number" === typeof input3.sample_size1 && "number" === typeof input3.sample_size2 && "string" === typeof input3.method && (void 0 === input3.images || Array.isArray(input3.images) && input3.images.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)));
|
|
78
|
-
const $io1 = (input3) => "number" === typeof input3.adjusted_p_value && "number" === typeof input3.original_p_value && "number" === typeof input3.fold_change && "string" === typeof input3.
|
|
78
|
+
const $io1 = (input3) => "number" === typeof input3.adjusted_p_value && "number" === typeof input3.original_p_value && "number" === typeof input3.fold_change && "string" === typeof input3.gene_id && "string" === typeof input3.gene_name;
|
|
79
79
|
const $io2 = (input3) => "string" === typeof input3.src && "number" === typeof input3.size && "string" === typeof input3.key;
|
|
80
80
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
81
81
|
};
|
|
@@ -139,14 +139,14 @@ var validDEResponse = (input) => {
|
|
|
139
139
|
path: _path2 + ".fold_change",
|
|
140
140
|
expected: "number",
|
|
141
141
|
value: input3.fold_change
|
|
142
|
+
}), "string" === typeof input3.gene_id || $report(_exceptionable2, {
|
|
143
|
+
path: _path2 + ".gene_id",
|
|
144
|
+
expected: "string",
|
|
145
|
+
value: input3.gene_id
|
|
142
146
|
}), "string" === typeof input3.gene_name || $report(_exceptionable2, {
|
|
143
147
|
path: _path2 + ".gene_name",
|
|
144
148
|
expected: "string",
|
|
145
149
|
value: input3.gene_name
|
|
146
|
-
}), "string" === typeof input3.gene_symbol || $report(_exceptionable2, {
|
|
147
|
-
path: _path2 + ".gene_symbol",
|
|
148
|
-
expected: "string",
|
|
149
|
-
value: input3.gene_symbol
|
|
150
150
|
})].every((flag) => flag);
|
|
151
151
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.src || $report(_exceptionable2, {
|
|
152
152
|
path: _path2 + ".src",
|
|
@@ -155,10 +155,10 @@ var validDescrStatsRequest = (input) => {
|
|
|
155
155
|
const $io62 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
156
156
|
const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type);
|
|
157
157
|
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
158
|
-
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
159
|
-
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
160
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
161
|
-
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
158
|
+
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
|
|
159
|
+
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.type || "filter" === input3.type);
|
|
160
|
+
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
161
|
+
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io8(input3.customset));
|
|
162
162
|
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io70(input3.groups));
|
|
163
163
|
const $io70 = (input3) => Object.keys(input3).every((key) => {
|
|
164
164
|
const value = input3[key];
|
|
@@ -2258,11 +2258,11 @@ var validDescrStatsRequest = (input) => {
|
|
|
2258
2258
|
value: input3.term
|
|
2259
2259
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2260
2260
|
path: _path2 + ".q",
|
|
2261
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[];
|
|
2261
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & BaseQ & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2262
2262
|
value: input3.q
|
|
2263
2263
|
})) && $vu14(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2264
2264
|
path: _path2 + ".q",
|
|
2265
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[];
|
|
2265
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & BaseQ & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2266
2266
|
value: input3.q
|
|
2267
2267
|
})].every((flag) => flag);
|
|
2268
2268
|
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2970,14 +2970,6 @@ var validDescrStatsRequest = (input) => {
|
|
|
2970
2970
|
path: _path2 + ".exclude",
|
|
2971
2971
|
expected: "Array<string>",
|
|
2972
2972
|
value: input3.exclude
|
|
2973
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2974
|
-
path: _path2 + ".dt",
|
|
2975
|
-
expected: "(number | undefined)",
|
|
2976
|
-
value: input3.dt
|
|
2977
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2978
|
-
path: _path2 + ".origin",
|
|
2979
|
-
expected: "(string | undefined)",
|
|
2980
|
-
value: input3.origin
|
|
2981
2973
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
2982
2974
|
path: _path2 + ".mode",
|
|
2983
2975
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -3035,14 +3027,6 @@ var validDescrStatsRequest = (input) => {
|
|
|
3035
3027
|
path: _path2 + ".exclude",
|
|
3036
3028
|
expected: "Array<string>",
|
|
3037
3029
|
value: input3.exclude
|
|
3038
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3039
|
-
path: _path2 + ".dt",
|
|
3040
|
-
expected: "(number | undefined)",
|
|
3041
|
-
value: input3.dt
|
|
3042
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3043
|
-
path: _path2 + ".origin",
|
|
3044
|
-
expected: "(string | undefined)",
|
|
3045
|
-
value: input3.origin
|
|
3046
3030
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3047
3031
|
path: _path2 + ".mode",
|
|
3048
3032
|
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
@@ -3100,14 +3084,6 @@ var validDescrStatsRequest = (input) => {
|
|
|
3100
3084
|
path: _path2 + ".exclude",
|
|
3101
3085
|
expected: "Array<string>",
|
|
3102
3086
|
value: input3.exclude
|
|
3103
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3104
|
-
path: _path2 + ".dt",
|
|
3105
|
-
expected: "(number | undefined)",
|
|
3106
|
-
value: input3.dt
|
|
3107
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3108
|
-
path: _path2 + ".origin",
|
|
3109
|
-
expected: "(string | undefined)",
|
|
3110
|
-
value: input3.origin
|
|
3111
3087
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3112
3088
|
path: _path2 + ".mode",
|
|
3113
3089
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -3169,14 +3145,6 @@ var validDescrStatsRequest = (input) => {
|
|
|
3169
3145
|
path: _path2 + ".exclude",
|
|
3170
3146
|
expected: "Array<string>",
|
|
3171
3147
|
value: input3.exclude
|
|
3172
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3173
|
-
path: _path2 + ".dt",
|
|
3174
|
-
expected: "(number | undefined)",
|
|
3175
|
-
value: input3.dt
|
|
3176
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3177
|
-
path: _path2 + ".origin",
|
|
3178
|
-
expected: "(string | undefined)",
|
|
3179
|
-
value: input3.origin
|
|
3180
3148
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3181
3149
|
path: _path2 + ".mode",
|
|
3182
3150
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -170,10 +170,10 @@ var validBoxPlotRequest = (input) => {
|
|
|
170
170
|
const $io62 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
171
171
|
const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type);
|
|
172
172
|
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
173
|
-
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
174
|
-
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
175
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
176
|
-
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
173
|
+
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
|
|
174
|
+
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.type || "filter" === input3.type);
|
|
175
|
+
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
176
|
+
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io8(input3.customset));
|
|
177
177
|
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io70(input3.groups));
|
|
178
178
|
const $io70 = (input3) => Object.keys(input3).every((key) => {
|
|
179
179
|
const value = input3[key];
|
|
@@ -2281,11 +2281,11 @@ var validBoxPlotRequest = (input) => {
|
|
|
2281
2281
|
value: input3.term
|
|
2282
2282
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2283
2283
|
path: _path2 + ".q",
|
|
2284
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[];
|
|
2284
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & BaseQ & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2285
2285
|
value: input3.q
|
|
2286
2286
|
})) && $vu14(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2287
2287
|
path: _path2 + ".q",
|
|
2288
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[];
|
|
2288
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & BaseQ & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2289
2289
|
value: input3.q
|
|
2290
2290
|
})].every((flag) => flag);
|
|
2291
2291
|
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2993,14 +2993,6 @@ var validBoxPlotRequest = (input) => {
|
|
|
2993
2993
|
path: _path2 + ".exclude",
|
|
2994
2994
|
expected: "Array<string>",
|
|
2995
2995
|
value: input3.exclude
|
|
2996
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2997
|
-
path: _path2 + ".dt",
|
|
2998
|
-
expected: "(number | undefined)",
|
|
2999
|
-
value: input3.dt
|
|
3000
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3001
|
-
path: _path2 + ".origin",
|
|
3002
|
-
expected: "(string | undefined)",
|
|
3003
|
-
value: input3.origin
|
|
3004
2996
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3005
2997
|
path: _path2 + ".mode",
|
|
3006
2998
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -3058,14 +3050,6 @@ var validBoxPlotRequest = (input) => {
|
|
|
3058
3050
|
path: _path2 + ".exclude",
|
|
3059
3051
|
expected: "Array<string>",
|
|
3060
3052
|
value: input3.exclude
|
|
3061
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3062
|
-
path: _path2 + ".dt",
|
|
3063
|
-
expected: "(number | undefined)",
|
|
3064
|
-
value: input3.dt
|
|
3065
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3066
|
-
path: _path2 + ".origin",
|
|
3067
|
-
expected: "(string | undefined)",
|
|
3068
|
-
value: input3.origin
|
|
3069
3053
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3070
3054
|
path: _path2 + ".mode",
|
|
3071
3055
|
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
@@ -3123,14 +3107,6 @@ var validBoxPlotRequest = (input) => {
|
|
|
3123
3107
|
path: _path2 + ".exclude",
|
|
3124
3108
|
expected: "Array<string>",
|
|
3125
3109
|
value: input3.exclude
|
|
3126
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3127
|
-
path: _path2 + ".dt",
|
|
3128
|
-
expected: "(number | undefined)",
|
|
3129
|
-
value: input3.dt
|
|
3130
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3131
|
-
path: _path2 + ".origin",
|
|
3132
|
-
expected: "(string | undefined)",
|
|
3133
|
-
value: input3.origin
|
|
3134
3110
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3135
3111
|
path: _path2 + ".mode",
|
|
3136
3112
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -3192,14 +3168,6 @@ var validBoxPlotRequest = (input) => {
|
|
|
3192
3168
|
path: _path2 + ".exclude",
|
|
3193
3169
|
expected: "Array<string>",
|
|
3194
3170
|
value: input3.exclude
|
|
3195
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3196
|
-
path: _path2 + ".dt",
|
|
3197
|
-
expected: "(number | undefined)",
|
|
3198
|
-
value: input3.dt
|
|
3199
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3200
|
-
path: _path2 + ".origin",
|
|
3201
|
-
expected: "(string | undefined)",
|
|
3202
|
-
value: input3.origin
|
|
3203
3171
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3204
3172
|
path: _path2 + ".mode",
|
|
3205
3173
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -179,10 +179,10 @@ var validTermsByIdsResponse = (input) => {
|
|
|
179
179
|
const $io63 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
180
180
|
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type);
|
|
181
181
|
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
182
|
-
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
183
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
184
|
-
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
185
|
-
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
182
|
+
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
|
|
183
|
+
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.type || "filter" === input3.type);
|
|
184
|
+
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
185
|
+
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io9(input3.customset));
|
|
186
186
|
const $io70 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io71(input3.groups));
|
|
187
187
|
const $io71 = (input3) => Object.keys(input3).every((key) => {
|
|
188
188
|
const value = input3[key];
|
|
@@ -2274,11 +2274,11 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2274
2274
|
value: input3.term
|
|
2275
2275
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2276
2276
|
path: _path2 + ".q",
|
|
2277
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[];
|
|
2277
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & BaseQ & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2278
2278
|
value: input3.q
|
|
2279
2279
|
})) && $vu14(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2280
2280
|
path: _path2 + ".q",
|
|
2281
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[];
|
|
2281
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & BaseQ & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2282
2282
|
value: input3.q
|
|
2283
2283
|
})].every((flag) => flag);
|
|
2284
2284
|
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2986,14 +2986,6 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2986
2986
|
path: _path2 + ".exclude",
|
|
2987
2987
|
expected: "Array<string>",
|
|
2988
2988
|
value: input3.exclude
|
|
2989
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2990
|
-
path: _path2 + ".dt",
|
|
2991
|
-
expected: "(number | undefined)",
|
|
2992
|
-
value: input3.dt
|
|
2993
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2994
|
-
path: _path2 + ".origin",
|
|
2995
|
-
expected: "(string | undefined)",
|
|
2996
|
-
value: input3.origin
|
|
2997
2989
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
2998
2990
|
path: _path2 + ".mode",
|
|
2999
2991
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -3051,14 +3043,6 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3051
3043
|
path: _path2 + ".exclude",
|
|
3052
3044
|
expected: "Array<string>",
|
|
3053
3045
|
value: input3.exclude
|
|
3054
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3055
|
-
path: _path2 + ".dt",
|
|
3056
|
-
expected: "(number | undefined)",
|
|
3057
|
-
value: input3.dt
|
|
3058
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3059
|
-
path: _path2 + ".origin",
|
|
3060
|
-
expected: "(string | undefined)",
|
|
3061
|
-
value: input3.origin
|
|
3062
3046
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3063
3047
|
path: _path2 + ".mode",
|
|
3064
3048
|
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
@@ -3116,14 +3100,6 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3116
3100
|
path: _path2 + ".exclude",
|
|
3117
3101
|
expected: "Array<string>",
|
|
3118
3102
|
value: input3.exclude
|
|
3119
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3120
|
-
path: _path2 + ".dt",
|
|
3121
|
-
expected: "(number | undefined)",
|
|
3122
|
-
value: input3.dt
|
|
3123
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3124
|
-
path: _path2 + ".origin",
|
|
3125
|
-
expected: "(string | undefined)",
|
|
3126
|
-
value: input3.origin
|
|
3127
3103
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3128
3104
|
path: _path2 + ".mode",
|
|
3129
3105
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -3185,14 +3161,6 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3185
3161
|
path: _path2 + ".exclude",
|
|
3186
3162
|
expected: "Array<string>",
|
|
3187
3163
|
value: input3.exclude
|
|
3188
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3189
|
-
path: _path2 + ".dt",
|
|
3190
|
-
expected: "(number | undefined)",
|
|
3191
|
-
value: input3.dt
|
|
3192
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3193
|
-
path: _path2 + ".origin",
|
|
3194
|
-
expected: "(string | undefined)",
|
|
3195
|
-
value: input3.origin
|
|
3196
3164
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3197
3165
|
path: _path2 + ".mode",
|
|
3198
3166
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -65,7 +65,7 @@ var validSampleWSImagesResponse = (input) => {
|
|
|
65
65
|
const errors = [];
|
|
66
66
|
const __is = (input2) => {
|
|
67
67
|
const $io0 = (input3) => Array.isArray(input3.sampleWSImages) && input3.sampleWSImages.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
|
|
68
|
-
const $io1 = (input3) => "string" === typeof input3.filename && "string" === typeof input3.metadata;
|
|
68
|
+
const $io1 = (input3) => "string" === typeof input3.filename && (void 0 === input3.overlays || Array.isArray(input3.overlays) && input3.overlays.every((elem) => "string" === typeof elem)) && "string" === typeof input3.metadata;
|
|
69
69
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
70
70
|
};
|
|
71
71
|
if (false === __is(input)) {
|
|
@@ -92,6 +92,18 @@ var validSampleWSImagesResponse = (input) => {
|
|
|
92
92
|
path: _path2 + ".filename",
|
|
93
93
|
expected: "string",
|
|
94
94
|
value: input3.filename
|
|
95
|
+
}), void 0 === input3.overlays || (Array.isArray(input3.overlays) || $report(_exceptionable2, {
|
|
96
|
+
path: _path2 + ".overlays",
|
|
97
|
+
expected: "(Array<string> | undefined)",
|
|
98
|
+
value: input3.overlays
|
|
99
|
+
})) && input3.overlays.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable2, {
|
|
100
|
+
path: _path2 + ".overlays[" + _index2 + "]",
|
|
101
|
+
expected: "string",
|
|
102
|
+
value: elem
|
|
103
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
104
|
+
path: _path2 + ".overlays",
|
|
105
|
+
expected: "(Array<string> | undefined)",
|
|
106
|
+
value: input3.overlays
|
|
95
107
|
}), "string" === typeof input3.metadata || $report(_exceptionable2, {
|
|
96
108
|
path: _path2 + ".metadata",
|
|
97
109
|
expected: "string",
|
|
@@ -155,10 +155,10 @@ var validCategoriesRequest = (input) => {
|
|
|
155
155
|
const $io62 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
156
156
|
const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type);
|
|
157
157
|
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
158
|
-
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
159
|
-
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
160
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
161
|
-
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
158
|
+
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
|
|
159
|
+
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.type || "filter" === input3.type);
|
|
160
|
+
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
161
|
+
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io8(input3.customset));
|
|
162
162
|
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io70(input3.groups));
|
|
163
163
|
const $io70 = (input3) => Object.keys(input3).every((key) => {
|
|
164
164
|
const value = input3[key];
|
|
@@ -2266,11 +2266,11 @@ var validCategoriesRequest = (input) => {
|
|
|
2266
2266
|
value: input3.term
|
|
2267
2267
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2268
2268
|
path: _path2 + ".q",
|
|
2269
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[];
|
|
2269
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & BaseQ & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2270
2270
|
value: input3.q
|
|
2271
2271
|
})) && $vu14(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2272
2272
|
path: _path2 + ".q",
|
|
2273
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[];
|
|
2273
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & BaseQ & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2274
2274
|
value: input3.q
|
|
2275
2275
|
})].every((flag) => flag);
|
|
2276
2276
|
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2978,14 +2978,6 @@ var validCategoriesRequest = (input) => {
|
|
|
2978
2978
|
path: _path2 + ".exclude",
|
|
2979
2979
|
expected: "Array<string>",
|
|
2980
2980
|
value: input3.exclude
|
|
2981
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2982
|
-
path: _path2 + ".dt",
|
|
2983
|
-
expected: "(number | undefined)",
|
|
2984
|
-
value: input3.dt
|
|
2985
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2986
|
-
path: _path2 + ".origin",
|
|
2987
|
-
expected: "(string | undefined)",
|
|
2988
|
-
value: input3.origin
|
|
2989
2981
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
2990
2982
|
path: _path2 + ".mode",
|
|
2991
2983
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -3043,14 +3035,6 @@ var validCategoriesRequest = (input) => {
|
|
|
3043
3035
|
path: _path2 + ".exclude",
|
|
3044
3036
|
expected: "Array<string>",
|
|
3045
3037
|
value: input3.exclude
|
|
3046
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3047
|
-
path: _path2 + ".dt",
|
|
3048
|
-
expected: "(number | undefined)",
|
|
3049
|
-
value: input3.dt
|
|
3050
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3051
|
-
path: _path2 + ".origin",
|
|
3052
|
-
expected: "(string | undefined)",
|
|
3053
|
-
value: input3.origin
|
|
3054
3038
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3055
3039
|
path: _path2 + ".mode",
|
|
3056
3040
|
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
@@ -3108,14 +3092,6 @@ var validCategoriesRequest = (input) => {
|
|
|
3108
3092
|
path: _path2 + ".exclude",
|
|
3109
3093
|
expected: "Array<string>",
|
|
3110
3094
|
value: input3.exclude
|
|
3111
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3112
|
-
path: _path2 + ".dt",
|
|
3113
|
-
expected: "(number | undefined)",
|
|
3114
|
-
value: input3.dt
|
|
3115
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3116
|
-
path: _path2 + ".origin",
|
|
3117
|
-
expected: "(string | undefined)",
|
|
3118
|
-
value: input3.origin
|
|
3119
3095
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3120
3096
|
path: _path2 + ".mode",
|
|
3121
3097
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -3177,14 +3153,6 @@ var validCategoriesRequest = (input) => {
|
|
|
3177
3153
|
path: _path2 + ".exclude",
|
|
3178
3154
|
expected: "Array<string>",
|
|
3179
3155
|
value: input3.exclude
|
|
3180
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3181
|
-
path: _path2 + ".dt",
|
|
3182
|
-
expected: "(number | undefined)",
|
|
3183
|
-
value: input3.dt
|
|
3184
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3185
|
-
path: _path2 + ".origin",
|
|
3186
|
-
expected: "(string | undefined)",
|
|
3187
|
-
value: input3.origin
|
|
3188
3156
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3189
3157
|
path: _path2 + ".mode",
|
|
3190
3158
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -119,10 +119,10 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
119
119
|
const $io62 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
120
120
|
const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type);
|
|
121
121
|
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
122
|
-
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
123
|
-
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
124
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
125
|
-
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.
|
|
122
|
+
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
|
|
123
|
+
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.type || "filter" === input3.type);
|
|
124
|
+
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
125
|
+
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io39(input3.customset));
|
|
126
126
|
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io70(input3.groups));
|
|
127
127
|
const $io70 = (input3) => Object.keys(input3).every((key) => {
|
|
128
128
|
const value = input3[key];
|
|
@@ -2234,11 +2234,11 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2234
2234
|
value: input3.term
|
|
2235
2235
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2236
2236
|
path: _path2 + ".q",
|
|
2237
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[];
|
|
2237
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & BaseQ & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2238
2238
|
value: input3.q
|
|
2239
2239
|
})) && $vu14(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2240
2240
|
path: _path2 + ".q",
|
|
2241
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[];
|
|
2241
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & BaseQ & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2242
2242
|
value: input3.q
|
|
2243
2243
|
})].every((flag) => flag);
|
|
2244
2244
|
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2946,14 +2946,6 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2946
2946
|
path: _path2 + ".exclude",
|
|
2947
2947
|
expected: "Array<string>",
|
|
2948
2948
|
value: input3.exclude
|
|
2949
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2950
|
-
path: _path2 + ".dt",
|
|
2951
|
-
expected: "(number | undefined)",
|
|
2952
|
-
value: input3.dt
|
|
2953
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2954
|
-
path: _path2 + ".origin",
|
|
2955
|
-
expected: "(string | undefined)",
|
|
2956
|
-
value: input3.origin
|
|
2957
2949
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
2958
2950
|
path: _path2 + ".mode",
|
|
2959
2951
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -3011,14 +3003,6 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3011
3003
|
path: _path2 + ".exclude",
|
|
3012
3004
|
expected: "Array<string>",
|
|
3013
3005
|
value: input3.exclude
|
|
3014
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3015
|
-
path: _path2 + ".dt",
|
|
3016
|
-
expected: "(number | undefined)",
|
|
3017
|
-
value: input3.dt
|
|
3018
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3019
|
-
path: _path2 + ".origin",
|
|
3020
|
-
expected: "(string | undefined)",
|
|
3021
|
-
value: input3.origin
|
|
3022
3006
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3023
3007
|
path: _path2 + ".mode",
|
|
3024
3008
|
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
@@ -3076,14 +3060,6 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3076
3060
|
path: _path2 + ".exclude",
|
|
3077
3061
|
expected: "Array<string>",
|
|
3078
3062
|
value: input3.exclude
|
|
3079
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3080
|
-
path: _path2 + ".dt",
|
|
3081
|
-
expected: "(number | undefined)",
|
|
3082
|
-
value: input3.dt
|
|
3083
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3084
|
-
path: _path2 + ".origin",
|
|
3085
|
-
expected: "(string | undefined)",
|
|
3086
|
-
value: input3.origin
|
|
3087
3063
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3088
3064
|
path: _path2 + ".mode",
|
|
3089
3065
|
expected: '("binary" | "discrete" | undefined)',
|
|
@@ -3145,14 +3121,6 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3145
3121
|
path: _path2 + ".exclude",
|
|
3146
3122
|
expected: "Array<string>",
|
|
3147
3123
|
value: input3.exclude
|
|
3148
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3149
|
-
path: _path2 + ".dt",
|
|
3150
|
-
expected: "(number | undefined)",
|
|
3151
|
-
value: input3.dt
|
|
3152
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3153
|
-
path: _path2 + ".origin",
|
|
3154
|
-
expected: "(string | undefined)",
|
|
3155
|
-
value: input3.origin
|
|
3156
3124
|
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3157
3125
|
path: _path2 + ".mode",
|
|
3158
3126
|
expected: '("binary" | "discrete" | undefined)',
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termsByIdsPayload,
|
|
3
3
|
validTermsByIdsRequest,
|
|
4
4
|
validTermsByIdsResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BM3JLR6T.js";
|
|
6
6
|
import {
|
|
7
7
|
topMutatedGenePayload,
|
|
8
8
|
validTopMutatedGeneRequest,
|
|
@@ -82,17 +82,17 @@ import {
|
|
|
82
82
|
diffExpPayload,
|
|
83
83
|
validDERequest,
|
|
84
84
|
validDEResponse
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-3C26VWPU.js";
|
|
86
86
|
import {
|
|
87
87
|
boxplotPayload,
|
|
88
88
|
validBoxPlotRequest,
|
|
89
89
|
validBoxPlotResponse
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-7NNYHDAK.js";
|
|
91
91
|
import {
|
|
92
92
|
termdbCategoriesPayload,
|
|
93
93
|
validCategoriesRequest,
|
|
94
94
|
validCategoriesResponse
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-UVOO2LBD.js";
|
|
96
96
|
import {
|
|
97
97
|
termdbClusterPayload,
|
|
98
98
|
validTermdbClusterRequest,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
descrStatsPayload,
|
|
113
113
|
validDescrStatsRequest,
|
|
114
114
|
validDescrStatsResponse
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-4V46EBDF.js";
|
|
116
116
|
import {
|
|
117
117
|
numericCategoriesPayload,
|
|
118
118
|
validNumericCategoriesRequest,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
sampleWSImagesPayload,
|
|
148
148
|
validSampleWSImagesRequest,
|
|
149
149
|
validSampleWSImagesResponse
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-HURSYPTO.js";
|
|
151
151
|
import {
|
|
152
152
|
snpPayload,
|
|
153
153
|
validSnpRequest,
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
CorrelationVolcanoPayload,
|
|
213
213
|
validCorrelationVolcanoRequest,
|
|
214
214
|
validCorrelationVolcanoResponse
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-YURGGHZI.js";
|
|
216
216
|
import {
|
|
217
217
|
datasetPayload,
|
|
218
218
|
validDatasetRequest,
|
package/dist/samplewsimages.js
CHANGED
package/dist/termdb.DE.js
CHANGED
package/dist/termdb.boxplot.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -524,6 +524,7 @@ type TrackLst = {
|
|
|
524
524
|
|
|
525
525
|
/** cnv segments are queried by coordinates, and can be filtered by segment length and/or value
|
|
526
526
|
configs for types of cnv data
|
|
527
|
+
|
|
527
528
|
- log(ratio)
|
|
528
529
|
{
|
|
529
530
|
cnvMaxLength:10000000
|
|
@@ -536,6 +537,15 @@ configs for types of cnv data
|
|
|
536
537
|
cnvMaxCopynumber:10
|
|
537
538
|
cnvMinCopynumber:1
|
|
538
539
|
}
|
|
540
|
+
- qualitative categories
|
|
541
|
+
{
|
|
542
|
+
cnvMaxLength?:? // abscent if ds doesn't allow filtering by max length (e.g. segments are actually gene bodies)
|
|
543
|
+
//cnvCategories:['CNV_amp', 'CNV_loss'] // "CNV_amplification" and "CNV_homozygous_deletion" are optional depending on ds
|
|
544
|
+
}
|
|
545
|
+
may not need to declare cnvCategories[];
|
|
546
|
+
cnv edit ui rendering can be entirely based on actual server-returned gene cnv data
|
|
547
|
+
e.g. if CNV_amplification is present from getCategories() or cnv data, show its checkbox, otherwise do not show checkbox
|
|
548
|
+
|
|
539
549
|
important: presence of filtering properties indiate the type of cnv quantification
|
|
540
550
|
and will trigger rendering of ui controls
|
|
541
551
|
*/
|
|
@@ -547,6 +557,7 @@ type CnvSegment = {
|
|
|
547
557
|
2. start, 0-based
|
|
548
558
|
3. stop
|
|
549
559
|
4. {"dt": 4, "mattr": {"origin": "somatic"}, "sample": "3332", "value": -1.0}
|
|
560
|
+
"value" can be logratio (minus/positive number), copy number (non-negative integer), or qualitative call (gain/loss)
|
|
550
561
|
*/
|
|
551
562
|
file?: string
|
|
552
563
|
|
|
@@ -558,21 +569,40 @@ type CnvSegment = {
|
|
|
558
569
|
gainColor?: string
|
|
559
570
|
lossColor?: string
|
|
560
571
|
|
|
561
|
-
/** filter segments by max length to restrict to focal events;
|
|
572
|
+
/** filter segments by max length to restrict to focal events;
|
|
573
|
+
samples with all events filtered out should be treated as wildtype
|
|
574
|
+
set to -1 to show all as a convenient solution, thus no need for UI to show a checkbox for filterbylength or not
|
|
562
575
|
allow to be missing, in such case will always show all */
|
|
563
576
|
cnvMaxLength?: number
|
|
564
577
|
|
|
565
|
-
|
|
578
|
+
/// quick fix: following sets of properties are mutually exclusive. TODO may improve with "type" property
|
|
579
|
+
|
|
580
|
+
/** presence of these properties indicate cnv is quantified as log(ratio) or similar
|
|
566
581
|
filter segments by following two cutoffs only apply to log ratio, cnv gain value is positive, cnv loss value is negative
|
|
582
|
+
samples with all events filtered out should be treated as wildtype
|
|
583
|
+
|
|
584
|
+
- if m.value>0, skip m if m.value<this cutoff
|
|
585
|
+
- set to 0 to not filtering and show all gain events
|
|
586
|
+
- set to a large value e.g. 99 to hide all gain events
|
|
567
587
|
*/
|
|
568
|
-
/** if value>0, skip if value<this cutoff, set to a large value e.g. 100 for not filtering */
|
|
569
588
|
cnvGainCutoff?: number
|
|
570
|
-
|
|
589
|
+
/*
|
|
590
|
+
- if m.value<0, skip m if m.value>this cutoff
|
|
591
|
+
- set to 0 to not filtering and show all loss events
|
|
592
|
+
- set to a large negative value e.g. -99 to hide all loss events
|
|
593
|
+
*/
|
|
571
594
|
cnvLossCutoff?: number
|
|
572
|
-
|
|
573
|
-
|
|
595
|
+
|
|
596
|
+
/** presence of these properties indicate cnv is quantified as integer copy number
|
|
597
|
+
* not in use yet *
|
|
598
|
+
enable when there's such data
|
|
574
599
|
cnvMinCopynumber?: number
|
|
575
600
|
cnvMaxCopynumber?: number
|
|
601
|
+
*/
|
|
602
|
+
|
|
603
|
+
/** if cnv is using qualitative categories. ui will show checkboxes for each category that's present
|
|
604
|
+
cnvCategories?:string[]
|
|
605
|
+
*/
|
|
576
606
|
}
|
|
577
607
|
|
|
578
608
|
/*
|
|
@@ -908,10 +938,14 @@ export type WSImages = {
|
|
|
908
938
|
*/
|
|
909
939
|
imageBySampleFolder: string
|
|
910
940
|
|
|
941
|
+
annotationsColor?: Array<number>
|
|
942
|
+
|
|
911
943
|
/** either ds supplied or dynamically added on launch with built in logic (retrieve the sample list from the wsimages table) */
|
|
912
944
|
getSamples?: () => Promise<Array<WSISample>>
|
|
913
945
|
/** either ds supplied or dynamically added on launch with built in logic */
|
|
914
946
|
getWSImages?: (sampleName: string) => Promise<WSImage[]>
|
|
947
|
+
/** ds supplied */
|
|
948
|
+
getWSIAnnotations?: (sampleName: string, wsiImage: string) => Promise<string[]>
|
|
915
949
|
}
|
|
916
950
|
|
|
917
951
|
/*** types supporting Termdb ***/
|
|
@@ -1288,6 +1322,8 @@ keep this setting here for reason of:
|
|
|
1288
1322
|
sample?: UrlTemplateBase
|
|
1289
1323
|
/** ssm link definition */
|
|
1290
1324
|
ssm?: UrlTemplateSsm | UrlTemplateSsm[]
|
|
1325
|
+
/** allow to add link to "Experiment" field of singlecell app sample table */
|
|
1326
|
+
scrnaExperimentId?: UrlTemplateBase
|
|
1291
1327
|
}
|
|
1292
1328
|
|
|
1293
1329
|
termtypeByCohort?: any // FIXME see below
|
package/src/routes/termdb.DE.ts
CHANGED
package/src/terms/geneVariant.ts
CHANGED
|
@@ -2,13 +2,13 @@ import type { MinBaseQ, BaseTerm, TermGroupSetting, BaseTW, GroupSettingQ, Value
|
|
|
2
2
|
import type { TermSettingInstance } from '../termsetting.ts'
|
|
3
3
|
|
|
4
4
|
export type GeneVariantBaseQ = MinBaseQ & {
|
|
5
|
+
// cnv cutoffs may no longer be necessary, but keeping for now
|
|
6
|
+
// see fillTW() in termsetting/handlers/geneVariant.ts
|
|
5
7
|
cnvGainCutoff?: number
|
|
6
8
|
cnvMaxLength?: number
|
|
7
9
|
cnvMinAbsValue?: number
|
|
8
10
|
cnvLossCutoff?: number
|
|
9
11
|
exclude: string[]
|
|
10
|
-
dt?: number
|
|
11
|
-
origin?: string
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export type GeneVariantQ = GeneVariantBaseQ & (ValuesQ | GroupSettingQ)
|