@sjcrh/proteinpaint-types 2.188.1 → 2.190.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/README.md +8 -20
- package/dist/index.js +422 -553
- package/dist/index.js.map +7 -0
- package/package.json +13 -25
- package/dist/aiProjectAdmin.js +0 -11
- package/dist/aiProjectSelectedWSImages.js +0 -11
- package/dist/aiProjectTrainModel.js +0 -11
- package/dist/alphaGenome.js +0 -11
- package/dist/alphaGenomeTypes.js +0 -11
- package/dist/brainImaging.js +0 -11
- package/dist/brainImagingSamples.js +0 -11
- package/dist/burden.js +0 -11
- package/dist/chunk-2744ACBX.js +0 -126
- package/dist/chunk-2BCLGYAG.js +0 -96
- package/dist/chunk-2C4X5B6N.js +0 -62
- package/dist/chunk-2VJRTZE2.js +0 -287
- package/dist/chunk-46YIGVUP.js +0 -908
- package/dist/chunk-4EAGOSMN.js +0 -128
- package/dist/chunk-5H2LJKPX.js +0 -104
- package/dist/chunk-5L4VF3ZL.js +0 -266
- package/dist/chunk-5N7V62ZL.js +0 -231
- package/dist/chunk-62XTWOVJ.js +0 -273
- package/dist/chunk-6GKG55BT.js +0 -232
- package/dist/chunk-7MUISZHS.js +0 -61
- package/dist/chunk-7OA6G77M.js +0 -113
- package/dist/chunk-AGMCAWBR.js +0 -454
- package/dist/chunk-BCBSHTHS.js +0 -75
- package/dist/chunk-BZVFHGN3.js +0 -350
- package/dist/chunk-CQXBQY2H.js +0 -161
- package/dist/chunk-D7AKQKDG.js +0 -238
- package/dist/chunk-DDKGTDDB.js +0 -6739
- package/dist/chunk-DI4Q26E7.js +0 -16
- package/dist/chunk-DUCWIRPX.js +0 -311
- package/dist/chunk-EIJT53QB.js +0 -240
- package/dist/chunk-EOKM345J.js +0 -222
- package/dist/chunk-FK7OCBPT.js +0 -341
- package/dist/chunk-FMC4G5BP.js +0 -62
- package/dist/chunk-G4MMYXP6.js +0 -405
- package/dist/chunk-GTS2G4R4.js +0 -62
- package/dist/chunk-HQV2A7JV.js +0 -62
- package/dist/chunk-IS74WYQF.js +0 -207
- package/dist/chunk-JDF7A2LY.js +0 -361
- package/dist/chunk-JEQGBUK2.js +0 -5993
- package/dist/chunk-K4FSDTDW.js +0 -109
- package/dist/chunk-KCMPDEH7.js +0 -62
- package/dist/chunk-LC6KLHCJ.js +0 -8903
- package/dist/chunk-LQYSPLDQ.js +0 -3613
- package/dist/chunk-LRVF7U64.js +0 -62
- package/dist/chunk-MHDQO7R5.js +0 -195
- package/dist/chunk-MKYLCBTP.js +0 -5475
- package/dist/chunk-MNT3GF7M.js +0 -3628
- package/dist/chunk-MVB7LQS5.js +0 -3986
- package/dist/chunk-P25WDNMD.js +0 -171
- package/dist/chunk-PTE2I7DF.js +0 -91
- package/dist/chunk-Q3HGHP3J.js +0 -174
- package/dist/chunk-QNH3PKJK.js +0 -343
- package/dist/chunk-RPX4TVMD.js +0 -14
- package/dist/chunk-RXJNXOZC.js +0 -326
- package/dist/chunk-SDZIGJY3.js +0 -5931
- package/dist/chunk-SZZXZZKO.js +0 -3991
- package/dist/chunk-TD4YLTHL.js +0 -158
- package/dist/chunk-TEXOICIS.js +0 -11810
- package/dist/chunk-THQOFV2K.js +0 -205
- package/dist/chunk-TQQWSHFM.js +0 -5980
- package/dist/chunk-U3BTVE5T.js +0 -111
- package/dist/chunk-UBOVHONH.js +0 -62
- package/dist/chunk-ULKGA7YY.js +0 -158
- package/dist/chunk-UYJA4UM7.js +0 -97
- package/dist/chunk-V3JDD3ZG.js +0 -3671
- package/dist/chunk-VJB6F2HL.js +0 -309
- package/dist/chunk-VUKRI3TG.js +0 -164
- package/dist/chunk-W3F3CLYP.js +0 -61
- package/dist/chunk-X4JBWMXY.js +0 -130
- package/dist/chunk-X5E72ZXA.js +0 -5979
- package/dist/chunk-YNHC5SXO.js +0 -1780
- package/dist/chunk-YPEFUAJW.js +0 -62
- package/dist/chunk-YSTMGNYR.js +0 -113
- package/dist/chunk-YW5G4M5D.js +0 -158
- package/dist/chunk-Z3IYM5OK.js +0 -296
- package/dist/chunk-ZCV62ELK.js +0 -96
- package/dist/chunk-ZIOJDN75.js +0 -197
- package/dist/chunk-ZMDZYG5B.js +0 -4224
- package/dist/clearwsisession.js +0 -78
- package/dist/clearwsisessions.js +0 -13
- package/dist/correlationVolcano.js +0 -11
- package/dist/dataset.js +0 -11
- package/dist/deleteWSITileSelection.js +0 -11
- package/dist/dsdata.js +0 -11
- package/dist/dzimages.js +0 -11
- package/dist/gdc.grin2.js +0 -17
- package/dist/gdc.maf.js +0 -11
- package/dist/gdc.mafBuild.js +0 -11
- package/dist/genelookup.js +0 -11
- package/dist/genesetEnrichment.js +0 -11
- package/dist/genesetOverrepresentation.js +0 -11
- package/dist/grin2.js +0 -11
- package/dist/healthcheck.js +0 -11
- package/dist/hicdata.js +0 -11
- package/dist/hicgenome.js +0 -11
- package/dist/hicstat.js +0 -11
- package/dist/img.js +0 -11
- package/dist/isoformlst.js +0 -11
- package/dist/ntseq.js +0 -11
- package/dist/pdomain.js +0 -11
- package/dist/samplewsimages.js +0 -13
- package/dist/saveWSIAnnotation.js +0 -11
- package/dist/snp.js +0 -11
- package/dist/termdb.DE.js +0 -11
- package/dist/termdb.categories.js +0 -11
- package/dist/termdb.chat.js +0 -3631
- package/dist/termdb.chat2.js +0 -15
- package/dist/termdb.cluster.js +0 -11
- package/dist/termdb.cohort.summary.js +0 -11
- package/dist/termdb.cohorts.js +0 -11
- package/dist/termdb.dapVolcano.js +0 -11
- package/dist/termdb.descrstats.js +0 -11
- package/dist/termdb.diffMeth.js +0 -11
- package/dist/termdb.dmr.js +0 -11
- package/dist/termdb.filterTermValues.js +0 -11
- package/dist/termdb.isoformAvailability.js +0 -11
- package/dist/termdb.numericcategories.js +0 -11
- package/dist/termdb.percentile.js +0 -11
- package/dist/termdb.profileFormScores.js +0 -11
- package/dist/termdb.profileForms2Scores.js +0 -11
- package/dist/termdb.profileScores.js +0 -11
- package/dist/termdb.proteome.js +0 -11
- package/dist/termdb.rootterm.js +0 -11
- package/dist/termdb.runChart.js +0 -13
- package/dist/termdb.sampleImages.js +0 -11
- package/dist/termdb.sampleScatter.js +0 -11
- package/dist/termdb.singleSampleMutation.js +0 -11
- package/dist/termdb.singlecellDEgenes.js +0 -11
- package/dist/termdb.singlecellData.js +0 -11
- package/dist/termdb.singlecellSamples.js +0 -11
- package/dist/termdb.termchildren.js +0 -11
- package/dist/termdb.termsbyids.js +0 -11
- package/dist/termdb.topMutatedGenes.js +0 -11
- package/dist/termdb.topTermsByType.js +0 -11
- package/dist/termdb.topVariablyExpressedGenes.js +0 -11
- package/dist/termdb.violinBox.js +0 -17
- package/dist/tileserver.js +0 -11
- package/dist/wsimages.js +0 -11
- package/dist/wsisamples.js +0 -11
- package/src/Mclass.ts +0 -8
- package/src/dataset.ts +0 -2186
- package/src/docs.json +0 -16417
- package/src/fileOrUrl.ts +0 -15
- package/src/filter.ts +0 -110
- package/src/genome.ts +0 -129
- package/src/index.ts +0 -94
- package/src/routes/aiProjectAdmin.ts +0 -37
- package/src/routes/aiProjectSelectedWSImages.ts +0 -48
- package/src/routes/aiProjectTrainModel.ts +0 -20
- package/src/routes/alphaGenome.ts +0 -27
- package/src/routes/alphaGenomeTypes.ts +0 -21
- package/src/routes/brainImaging.ts +0 -47
- package/src/routes/brainImagingSamples.ts +0 -25
- package/src/routes/burden.ts +0 -113
- package/src/routes/clearwsisessions.ts +0 -19
- package/src/routes/correlationVolcano.ts +0 -51
- package/src/routes/dataset.ts +0 -14
- package/src/routes/deleteWSITileSelection.ts +0 -25
- package/src/routes/dsdata.ts +0 -14
- package/src/routes/dzimages.ts +0 -25
- package/src/routes/errorResponse.ts +0 -6
- package/src/routes/filter.gdc.ts +0 -15
- package/src/routes/gdc.grin2.ts +0 -246
- package/src/routes/gdc.maf.ts +0 -52
- package/src/routes/gdc.mafBuild.ts +0 -20
- package/src/routes/genelookup.ts +0 -22
- package/src/routes/genesetEnrichment.ts +0 -116
- package/src/routes/genesetOverrepresentation.ts +0 -48
- package/src/routes/grin2.ts +0 -173
- package/src/routes/healthcheck.ts +0 -80
- package/src/routes/hicdata.ts +0 -48
- package/src/routes/hicgenome.ts +0 -50
- package/src/routes/hicstat.ts +0 -57
- package/src/routes/img.ts +0 -23
- package/src/routes/isoformlst.ts +0 -14
- package/src/routes/ntseq.ts +0 -14
- package/src/routes/pdomain.ts +0 -14
- package/src/routes/routeApi.ts +0 -47
- package/src/routes/samplewsimages.ts +0 -44
- package/src/routes/saveWSIAnnotation.ts +0 -25
- package/src/routes/snp.ts +0 -13
- package/src/routes/termdb.DE.ts +0 -220
- package/src/routes/termdb.categories.ts +0 -74
- package/src/routes/termdb.chat2.ts +0 -190
- package/src/routes/termdb.cluster.ts +0 -134
- package/src/routes/termdb.cohort.summary.ts +0 -14
- package/src/routes/termdb.cohorts.ts +0 -14
- package/src/routes/termdb.dapVolcano.ts +0 -35
- package/src/routes/termdb.descrstats.ts +0 -75
- package/src/routes/termdb.diffMeth.ts +0 -63
- package/src/routes/termdb.dmr.ts +0 -121
- package/src/routes/termdb.filterTermValues.ts +0 -23
- package/src/routes/termdb.isoformAvailability.ts +0 -22
- package/src/routes/termdb.numericcategories.ts +0 -32
- package/src/routes/termdb.percentile.ts +0 -67
- package/src/routes/termdb.profileFormScores.ts +0 -26
- package/src/routes/termdb.profileForms2Scores.ts +0 -25
- package/src/routes/termdb.profileScores.ts +0 -27
- package/src/routes/termdb.proteome.ts +0 -13
- package/src/routes/termdb.rootterm.ts +0 -49
- package/src/routes/termdb.runChart.ts +0 -66
- package/src/routes/termdb.sampleImages.ts +0 -26
- package/src/routes/termdb.sampleScatter.ts +0 -60
- package/src/routes/termdb.singleSampleMutation.ts +0 -51
- package/src/routes/termdb.singlecellDEgenes.ts +0 -50
- package/src/routes/termdb.singlecellData.ts +0 -75
- package/src/routes/termdb.singlecellSamples.ts +0 -50
- package/src/routes/termdb.termchildren.ts +0 -49
- package/src/routes/termdb.termsbyids.ts +0 -26
- package/src/routes/termdb.topMutatedGenes.ts +0 -51
- package/src/routes/termdb.topTermsByType.ts +0 -32
- package/src/routes/termdb.topVariablyExpressedGenes.ts +0 -54
- package/src/routes/termdb.violinBox.ts +0 -230
- package/src/routes/tileserver.ts +0 -14
- package/src/routes/wsimages.ts +0 -34
- package/src/routes/wsisamples.ts +0 -25
- package/src/termdb.matrix.ts +0 -57
- package/src/terms/categorical.ts +0 -18
- package/src/terms/condition.ts +0 -73
- package/src/terms/date.ts +0 -20
- package/src/terms/dnaMethylation.ts +0 -28
- package/src/terms/geneExpression.ts +0 -38
- package/src/terms/geneVariant.ts +0 -132
- package/src/terms/isoformExpression.ts +0 -36
- package/src/terms/metaboliteIntensity.ts +0 -30
- package/src/terms/numeric.ts +0 -278
- package/src/terms/proteomeAbundance.ts +0 -38
- package/src/terms/q.ts +0 -105
- package/src/terms/qualitative.ts +0 -73
- package/src/terms/samplelst.ts +0 -34
- package/src/terms/singleCellCellType.ts +0 -18
- package/src/terms/singleCellGeneExpression.ts +0 -32
- package/src/terms/snp.ts +0 -24
- package/src/terms/snps.ts +0 -111
- package/src/terms/ssGSEA.ts +0 -26
- package/src/terms/term.ts +0 -60
- package/src/terms/termCollection.ts +0 -139
- package/src/terms/tw.ts +0 -64
- package/src/termsetting.ts +0 -201
- package/src/test/numeric.type.spec.ts +0 -275
- package/src/vocab.ts +0 -37
package/dist/chunk-AGMCAWBR.js
DELETED
|
@@ -1,454 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__toESM,
|
|
3
|
-
require_lib
|
|
4
|
-
} from "./chunk-YNHC5SXO.js";
|
|
5
|
-
|
|
6
|
-
// dist/genesetEnrichment.ts
|
|
7
|
-
var import_typia = __toESM(require_lib(), 1);
|
|
8
|
-
|
|
9
|
-
// src/routes/genesetEnrichment.ts
|
|
10
|
-
var genesetEnrichmentPayload = {
|
|
11
|
-
request: {
|
|
12
|
-
typeId: "GenesetEnrichmentRequest"
|
|
13
|
-
},
|
|
14
|
-
response: {
|
|
15
|
-
typeId: "GenesetEnrichmentResponse"
|
|
16
|
-
}
|
|
17
|
-
//examples: []
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
// dist/genesetEnrichment.ts
|
|
21
|
-
var validGenesetEnrichmentRequest = (input) => {
|
|
22
|
-
const errors = [];
|
|
23
|
-
const __is = (input2) => {
|
|
24
|
-
const $io0 = (input3) => (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.fold_change || Array.isArray(input3.fold_change) && input3.fold_change.every((elem) => "number" === typeof elem)) && (void 0 === input3.cacheId || "string" === typeof input3.cacheId) && (void 0 === input3.dslabel || "string" === typeof input3.dslabel) && (void 0 === input3.daRequest || "object" === typeof input3.daRequest && null !== input3.daRequest && $io1(input3.daRequest)) && (void 0 === input3.fetchDE || "boolean" === typeof input3.fetchDE) && "boolean" === typeof input3.filter_non_coding_genes && "string" === typeof input3.genome && "string" === typeof input3.geneSetGroup && (void 0 === input3.geneset_name || "string" === typeof input3.geneset_name) && (void 0 === input3.num_permutations || "number" === typeof input3.num_permutations) && ("blitzgsea" === input3.method || "cerno" === input3.method) && (void 0 === input3.dapParams || "object" === typeof input3.dapParams && null !== input3.dapParams && $io4(input3.dapParams));
|
|
25
|
-
const $io1 = (input3) => (void 0 === input3.genome || "string" === typeof input3.genome) && (void 0 === input3.dslabel || "string" === typeof input3.dslabel) && true && (void 0 === input3.min_count || "number" === typeof input3.min_count) && (void 0 === input3.min_total_count || "number" === typeof input3.min_total_count) && (void 0 === input3.cpm_cutoff || "number" === typeof input3.cpm_cutoff) && (void 0 === input3.storage_type || "text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method) && true && true && (void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis) && (void 0 === input3.volcanoRender || "object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io2(input3.volcanoRender));
|
|
26
|
-
const $io2 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io3(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots);
|
|
27
|
-
const $io3 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
|
|
28
|
-
const $io4 = (input3) => "string" === typeof input3.organism && "string" === typeof input3.assay && "string" === typeof input3.cohort;
|
|
29
|
-
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
30
|
-
};
|
|
31
|
-
if (false === __is(input)) {
|
|
32
|
-
const $report = import_typia.createValidate.report(errors);
|
|
33
|
-
((input2, _path, _exceptionable = true) => {
|
|
34
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
35
|
-
path: _path2 + ".genes",
|
|
36
|
-
expected: "(Array<string> | undefined)",
|
|
37
|
-
value: input3.genes
|
|
38
|
-
})) && input3.genes.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
|
|
39
|
-
path: _path2 + ".genes[" + _index1 + "]",
|
|
40
|
-
expected: "string",
|
|
41
|
-
value: elem
|
|
42
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
43
|
-
path: _path2 + ".genes",
|
|
44
|
-
expected: "(Array<string> | undefined)",
|
|
45
|
-
value: input3.genes
|
|
46
|
-
}), void 0 === input3.fold_change || (Array.isArray(input3.fold_change) || $report(_exceptionable2, {
|
|
47
|
-
path: _path2 + ".fold_change",
|
|
48
|
-
expected: "(Array<number> | undefined)",
|
|
49
|
-
value: input3.fold_change
|
|
50
|
-
})) && input3.fold_change.map((elem, _index2) => "number" === typeof elem || $report(_exceptionable2, {
|
|
51
|
-
path: _path2 + ".fold_change[" + _index2 + "]",
|
|
52
|
-
expected: "number",
|
|
53
|
-
value: elem
|
|
54
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
55
|
-
path: _path2 + ".fold_change",
|
|
56
|
-
expected: "(Array<number> | undefined)",
|
|
57
|
-
value: input3.fold_change
|
|
58
|
-
}), void 0 === input3.cacheId || "string" === typeof input3.cacheId || $report(_exceptionable2, {
|
|
59
|
-
path: _path2 + ".cacheId",
|
|
60
|
-
expected: "(string | undefined)",
|
|
61
|
-
value: input3.cacheId
|
|
62
|
-
}), void 0 === input3.dslabel || "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
63
|
-
path: _path2 + ".dslabel",
|
|
64
|
-
expected: "(string | undefined)",
|
|
65
|
-
value: input3.dslabel
|
|
66
|
-
}), void 0 === input3.daRequest || ("object" === typeof input3.daRequest && null !== input3.daRequest || $report(_exceptionable2, {
|
|
67
|
-
path: _path2 + ".daRequest",
|
|
68
|
-
expected: "(Partial<DERequest> | undefined)",
|
|
69
|
-
value: input3.daRequest
|
|
70
|
-
})) && $vo1(input3.daRequest, _path2 + ".daRequest", _exceptionable2) || $report(_exceptionable2, {
|
|
71
|
-
path: _path2 + ".daRequest",
|
|
72
|
-
expected: "(Partial<DERequest> | undefined)",
|
|
73
|
-
value: input3.daRequest
|
|
74
|
-
}), void 0 === input3.fetchDE || "boolean" === typeof input3.fetchDE || $report(_exceptionable2, {
|
|
75
|
-
path: _path2 + ".fetchDE",
|
|
76
|
-
expected: "(boolean | undefined)",
|
|
77
|
-
value: input3.fetchDE
|
|
78
|
-
}), "boolean" === typeof input3.filter_non_coding_genes || $report(_exceptionable2, {
|
|
79
|
-
path: _path2 + ".filter_non_coding_genes",
|
|
80
|
-
expected: "boolean",
|
|
81
|
-
value: input3.filter_non_coding_genes
|
|
82
|
-
}), "string" === typeof input3.genome || $report(_exceptionable2, {
|
|
83
|
-
path: _path2 + ".genome",
|
|
84
|
-
expected: "string",
|
|
85
|
-
value: input3.genome
|
|
86
|
-
}), "string" === typeof input3.geneSetGroup || $report(_exceptionable2, {
|
|
87
|
-
path: _path2 + ".geneSetGroup",
|
|
88
|
-
expected: "string",
|
|
89
|
-
value: input3.geneSetGroup
|
|
90
|
-
}), void 0 === input3.geneset_name || "string" === typeof input3.geneset_name || $report(_exceptionable2, {
|
|
91
|
-
path: _path2 + ".geneset_name",
|
|
92
|
-
expected: "(string | undefined)",
|
|
93
|
-
value: input3.geneset_name
|
|
94
|
-
}), void 0 === input3.num_permutations || "number" === typeof input3.num_permutations || $report(_exceptionable2, {
|
|
95
|
-
path: _path2 + ".num_permutations",
|
|
96
|
-
expected: "(number | undefined)",
|
|
97
|
-
value: input3.num_permutations
|
|
98
|
-
}), "blitzgsea" === input3.method || "cerno" === input3.method || $report(_exceptionable2, {
|
|
99
|
-
path: _path2 + ".method",
|
|
100
|
-
expected: '("blitzgsea" | "cerno")',
|
|
101
|
-
value: input3.method
|
|
102
|
-
}), void 0 === input3.dapParams || ("object" === typeof input3.dapParams && null !== input3.dapParams || $report(_exceptionable2, {
|
|
103
|
-
path: _path2 + ".dapParams",
|
|
104
|
-
expected: "(__type | undefined)",
|
|
105
|
-
value: input3.dapParams
|
|
106
|
-
})) && $vo4(input3.dapParams, _path2 + ".dapParams", _exceptionable2) || $report(_exceptionable2, {
|
|
107
|
-
path: _path2 + ".dapParams",
|
|
108
|
-
expected: "(__type | undefined)",
|
|
109
|
-
value: input3.dapParams
|
|
110
|
-
})].every((flag) => flag);
|
|
111
|
-
const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.genome || "string" === typeof input3.genome || $report(_exceptionable2, {
|
|
112
|
-
path: _path2 + ".genome",
|
|
113
|
-
expected: "(string | undefined)",
|
|
114
|
-
value: input3.genome
|
|
115
|
-
}), void 0 === input3.dslabel || "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
116
|
-
path: _path2 + ".dslabel",
|
|
117
|
-
expected: "(string | undefined)",
|
|
118
|
-
value: input3.dslabel
|
|
119
|
-
}), true, void 0 === input3.min_count || "number" === typeof input3.min_count || $report(_exceptionable2, {
|
|
120
|
-
path: _path2 + ".min_count",
|
|
121
|
-
expected: "(number | undefined)",
|
|
122
|
-
value: input3.min_count
|
|
123
|
-
}), void 0 === input3.min_total_count || "number" === typeof input3.min_total_count || $report(_exceptionable2, {
|
|
124
|
-
path: _path2 + ".min_total_count",
|
|
125
|
-
expected: "(number | undefined)",
|
|
126
|
-
value: input3.min_total_count
|
|
127
|
-
}), void 0 === input3.cpm_cutoff || "number" === typeof input3.cpm_cutoff || $report(_exceptionable2, {
|
|
128
|
-
path: _path2 + ".cpm_cutoff",
|
|
129
|
-
expected: "(number | undefined)",
|
|
130
|
-
value: input3.cpm_cutoff
|
|
131
|
-
}), void 0 === input3.storage_type || "text" === input3.storage_type || "HDF5" === input3.storage_type || $report(_exceptionable2, {
|
|
132
|
-
path: _path2 + ".storage_type",
|
|
133
|
-
expected: '("HDF5" | "text" | undefined)',
|
|
134
|
-
value: input3.storage_type
|
|
135
|
-
}), void 0 === input3.method || "string" === typeof input3.method || $report(_exceptionable2, {
|
|
136
|
-
path: _path2 + ".method",
|
|
137
|
-
expected: "(string | undefined)",
|
|
138
|
-
value: input3.method
|
|
139
|
-
}), true, true, void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis || $report(_exceptionable2, {
|
|
140
|
-
path: _path2 + ".preAnalysis",
|
|
141
|
-
expected: "(boolean | undefined)",
|
|
142
|
-
value: input3.preAnalysis
|
|
143
|
-
}), void 0 === input3.volcanoRender || ("object" === typeof input3.volcanoRender && null !== input3.volcanoRender || $report(_exceptionable2, {
|
|
144
|
-
path: _path2 + ".volcanoRender",
|
|
145
|
-
expected: "(VolcanoRenderRequest | undefined)",
|
|
146
|
-
value: input3.volcanoRender
|
|
147
|
-
})) && $vo2(input3.volcanoRender, _path2 + ".volcanoRender", _exceptionable2) || $report(_exceptionable2, {
|
|
148
|
-
path: _path2 + ".volcanoRender",
|
|
149
|
-
expected: "(VolcanoRenderRequest | undefined)",
|
|
150
|
-
value: input3.volcanoRender
|
|
151
|
-
})].every((flag) => flag);
|
|
152
|
-
const $vo2 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds || $report(_exceptionable2, {
|
|
153
|
-
path: _path2 + ".significanceThresholds",
|
|
154
|
-
expected: "SignificanceThresholds",
|
|
155
|
-
value: input3.significanceThresholds
|
|
156
|
-
})) && $vo3(input3.significanceThresholds, _path2 + ".significanceThresholds", _exceptionable2) || $report(_exceptionable2, {
|
|
157
|
-
path: _path2 + ".significanceThresholds",
|
|
158
|
-
expected: "SignificanceThresholds",
|
|
159
|
-
value: input3.significanceThresholds
|
|
160
|
-
}), "number" === typeof input3.pixelWidth || $report(_exceptionable2, {
|
|
161
|
-
path: _path2 + ".pixelWidth",
|
|
162
|
-
expected: "number",
|
|
163
|
-
value: input3.pixelWidth
|
|
164
|
-
}), "number" === typeof input3.pixelHeight || $report(_exceptionable2, {
|
|
165
|
-
path: _path2 + ".pixelHeight",
|
|
166
|
-
expected: "number",
|
|
167
|
-
value: input3.pixelHeight
|
|
168
|
-
}), void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant || $report(_exceptionable2, {
|
|
169
|
-
path: _path2 + ".colorSignificant",
|
|
170
|
-
expected: "(string | undefined)",
|
|
171
|
-
value: input3.colorSignificant
|
|
172
|
-
}), void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp || $report(_exceptionable2, {
|
|
173
|
-
path: _path2 + ".colorSignificantUp",
|
|
174
|
-
expected: "(string | undefined)",
|
|
175
|
-
value: input3.colorSignificantUp
|
|
176
|
-
}), void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown || $report(_exceptionable2, {
|
|
177
|
-
path: _path2 + ".colorSignificantDown",
|
|
178
|
-
expected: "(string | undefined)",
|
|
179
|
-
value: input3.colorSignificantDown
|
|
180
|
-
}), void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant || $report(_exceptionable2, {
|
|
181
|
-
path: _path2 + ".colorNonsignificant",
|
|
182
|
-
expected: "(string | undefined)",
|
|
183
|
-
value: input3.colorNonsignificant
|
|
184
|
-
}), void 0 === input3.dotRadius || "number" === typeof input3.dotRadius || $report(_exceptionable2, {
|
|
185
|
-
path: _path2 + ".dotRadius",
|
|
186
|
-
expected: "(number | undefined)",
|
|
187
|
-
value: input3.dotRadius
|
|
188
|
-
}), void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots || $report(_exceptionable2, {
|
|
189
|
-
path: _path2 + ".maxInteractiveDots",
|
|
190
|
-
expected: "(number | undefined)",
|
|
191
|
-
value: input3.maxInteractiveDots
|
|
192
|
-
})].every((flag) => flag);
|
|
193
|
-
const $vo3 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.pValueCutoff || $report(_exceptionable2, {
|
|
194
|
-
path: _path2 + ".pValueCutoff",
|
|
195
|
-
expected: "number",
|
|
196
|
-
value: input3.pValueCutoff
|
|
197
|
-
}), "adjusted" === input3.pValueType || "original" === input3.pValueType || $report(_exceptionable2, {
|
|
198
|
-
path: _path2 + ".pValueType",
|
|
199
|
-
expected: '("adjusted" | "original")',
|
|
200
|
-
value: input3.pValueType
|
|
201
|
-
}), "number" === typeof input3.foldChangeCutoff || $report(_exceptionable2, {
|
|
202
|
-
path: _path2 + ".foldChangeCutoff",
|
|
203
|
-
expected: "number",
|
|
204
|
-
value: input3.foldChangeCutoff
|
|
205
|
-
})].every((flag) => flag);
|
|
206
|
-
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.organism || $report(_exceptionable2, {
|
|
207
|
-
path: _path2 + ".organism",
|
|
208
|
-
expected: "string",
|
|
209
|
-
value: input3.organism
|
|
210
|
-
}), "string" === typeof input3.assay || $report(_exceptionable2, {
|
|
211
|
-
path: _path2 + ".assay",
|
|
212
|
-
expected: "string",
|
|
213
|
-
value: input3.assay
|
|
214
|
-
}), "string" === typeof input3.cohort || $report(_exceptionable2, {
|
|
215
|
-
path: _path2 + ".cohort",
|
|
216
|
-
expected: "string",
|
|
217
|
-
value: input3.cohort
|
|
218
|
-
})].every((flag) => flag);
|
|
219
|
-
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
220
|
-
path: _path + "",
|
|
221
|
-
expected: "GenesetEnrichmentRequest",
|
|
222
|
-
value: input2
|
|
223
|
-
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
224
|
-
path: _path + "",
|
|
225
|
-
expected: "GenesetEnrichmentRequest",
|
|
226
|
-
value: input2
|
|
227
|
-
});
|
|
228
|
-
})(input, "$input", true);
|
|
229
|
-
}
|
|
230
|
-
const success = 0 === errors.length;
|
|
231
|
-
return {
|
|
232
|
-
success,
|
|
233
|
-
errors,
|
|
234
|
-
data: success ? input : void 0
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
var validGenesetEnrichmentResponse = (input) => {
|
|
238
|
-
const errors = [];
|
|
239
|
-
const __is = (input2) => {
|
|
240
|
-
const $join = import_typia.createValidate.join;
|
|
241
|
-
const $io0 = (input3) => "object" === typeof input3.data && null !== input3.data && $iu0(input3.data);
|
|
242
|
-
const $io1 = (input3) => null !== input3.pathway && void 0 !== input3.pathway && ("string" === typeof input3.pathway || "object" === typeof input3.pathway && null !== input3.pathway && $io2(input3.pathway));
|
|
243
|
-
const $io2 = (input3) => Array.isArray(input3.data) && input3.data.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io3(elem));
|
|
244
|
-
const $io3 = (input3) => Object.keys(input3).every((key) => {
|
|
245
|
-
const value = input3[key];
|
|
246
|
-
if (void 0 === value)
|
|
247
|
-
return true;
|
|
248
|
-
if (RegExp(/(.*)/).test(key))
|
|
249
|
-
return "object" === typeof value && null !== value && ("number" === typeof value.es && "number" === typeof value.nes && "number" === typeof value.geneset_size && "string" === typeof value.leading_edge && "number" === typeof value.pvalue && "number" === typeof value.sidak && "number" === typeof value.fdr);
|
|
250
|
-
return true;
|
|
251
|
-
});
|
|
252
|
-
const $io5 = (input3) => Array.isArray(input3.data) && input3.data.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem));
|
|
253
|
-
const $io6 = (input3) => Object.keys(input3).every((key) => {
|
|
254
|
-
const value = input3[key];
|
|
255
|
-
if (void 0 === value)
|
|
256
|
-
return true;
|
|
257
|
-
if (RegExp(/(.*)/).test(key))
|
|
258
|
-
return "object" === typeof value && null !== value && ("number" === typeof value.es && "number" === typeof value.auc && "number" === typeof value.geneset_size && "string" === typeof value.leading_edge && "number" === typeof value.pvalue && "number" === typeof value.fdr);
|
|
259
|
-
return true;
|
|
260
|
-
});
|
|
261
|
-
const $iu0 = (input3) => (() => {
|
|
262
|
-
if (void 0 !== input3.pathway)
|
|
263
|
-
return $io1(input3);
|
|
264
|
-
if (void 0 !== input3.data)
|
|
265
|
-
return $io5(input3);
|
|
266
|
-
return false;
|
|
267
|
-
})();
|
|
268
|
-
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
269
|
-
};
|
|
270
|
-
if (false === __is(input)) {
|
|
271
|
-
const $report = import_typia.createValidate.report(errors);
|
|
272
|
-
((input2, _path, _exceptionable = true) => {
|
|
273
|
-
const $join = import_typia.createValidate.join;
|
|
274
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.data && null !== input3.data || $report(_exceptionable2, {
|
|
275
|
-
path: _path2 + ".data",
|
|
276
|
-
expected: "(blitzgseaResult | cernoResult)",
|
|
277
|
-
value: input3.data
|
|
278
|
-
})) && $vu0(input3.data, _path2 + ".data", _exceptionable2) || $report(_exceptionable2, {
|
|
279
|
-
path: _path2 + ".data",
|
|
280
|
-
expected: "(blitzgseaResult | cernoResult)",
|
|
281
|
-
value: input3.data
|
|
282
|
-
})].every((flag) => flag);
|
|
283
|
-
const $vo1 = (input3, _path2, _exceptionable2 = true) => [(null !== input3.pathway || $report(_exceptionable2, {
|
|
284
|
-
path: _path2 + ".pathway",
|
|
285
|
-
expected: "(blitzgsea_json | string)",
|
|
286
|
-
value: input3.pathway
|
|
287
|
-
})) && (void 0 !== input3.pathway || $report(_exceptionable2, {
|
|
288
|
-
path: _path2 + ".pathway",
|
|
289
|
-
expected: "(blitzgsea_json | string)",
|
|
290
|
-
value: input3.pathway
|
|
291
|
-
})) && ("string" === typeof input3.pathway || ("object" === typeof input3.pathway && null !== input3.pathway || $report(_exceptionable2, {
|
|
292
|
-
path: _path2 + ".pathway",
|
|
293
|
-
expected: "(blitzgsea_json | string)",
|
|
294
|
-
value: input3.pathway
|
|
295
|
-
})) && $vo2(input3.pathway, _path2 + ".pathway", _exceptionable2) || $report(_exceptionable2, {
|
|
296
|
-
path: _path2 + ".pathway",
|
|
297
|
-
expected: "(blitzgsea_json | string)",
|
|
298
|
-
value: input3.pathway
|
|
299
|
-
}))].every((flag) => flag);
|
|
300
|
-
const $vo2 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.data) || $report(_exceptionable2, {
|
|
301
|
-
path: _path2 + ".data",
|
|
302
|
-
expected: "Array<blitzgsea_map>",
|
|
303
|
-
value: input3.data
|
|
304
|
-
})) && input3.data.map((elem, _index1) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
305
|
-
path: _path2 + ".data[" + _index1 + "]",
|
|
306
|
-
expected: "blitzgsea_map",
|
|
307
|
-
value: elem
|
|
308
|
-
})) && $vo3(elem, _path2 + ".data[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
309
|
-
path: _path2 + ".data[" + _index1 + "]",
|
|
310
|
-
expected: "blitzgsea_map",
|
|
311
|
-
value: elem
|
|
312
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
313
|
-
path: _path2 + ".data",
|
|
314
|
-
expected: "Array<blitzgsea_map>",
|
|
315
|
-
value: input3.data
|
|
316
|
-
})].every((flag) => flag);
|
|
317
|
-
const $vo3 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
318
|
-
const value = input3[key];
|
|
319
|
-
if (void 0 === value)
|
|
320
|
-
return true;
|
|
321
|
-
if (RegExp(/(.*)/).test(key))
|
|
322
|
-
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
323
|
-
path: _path2 + $join(key),
|
|
324
|
-
expected: "blitzgsea_geneset_attributes",
|
|
325
|
-
value
|
|
326
|
-
})) && $vo4(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
327
|
-
path: _path2 + $join(key),
|
|
328
|
-
expected: "blitzgsea_geneset_attributes",
|
|
329
|
-
value
|
|
330
|
-
});
|
|
331
|
-
return true;
|
|
332
|
-
}).every((flag) => flag)].every((flag) => flag);
|
|
333
|
-
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.es || $report(_exceptionable2, {
|
|
334
|
-
path: _path2 + ".es",
|
|
335
|
-
expected: "number",
|
|
336
|
-
value: input3.es
|
|
337
|
-
}), "number" === typeof input3.nes || $report(_exceptionable2, {
|
|
338
|
-
path: _path2 + ".nes",
|
|
339
|
-
expected: "number",
|
|
340
|
-
value: input3.nes
|
|
341
|
-
}), "number" === typeof input3.geneset_size || $report(_exceptionable2, {
|
|
342
|
-
path: _path2 + ".geneset_size",
|
|
343
|
-
expected: "number",
|
|
344
|
-
value: input3.geneset_size
|
|
345
|
-
}), "string" === typeof input3.leading_edge || $report(_exceptionable2, {
|
|
346
|
-
path: _path2 + ".leading_edge",
|
|
347
|
-
expected: "string",
|
|
348
|
-
value: input3.leading_edge
|
|
349
|
-
}), "number" === typeof input3.pvalue || $report(_exceptionable2, {
|
|
350
|
-
path: _path2 + ".pvalue",
|
|
351
|
-
expected: "number",
|
|
352
|
-
value: input3.pvalue
|
|
353
|
-
}), "number" === typeof input3.sidak || $report(_exceptionable2, {
|
|
354
|
-
path: _path2 + ".sidak",
|
|
355
|
-
expected: "number",
|
|
356
|
-
value: input3.sidak
|
|
357
|
-
}), "number" === typeof input3.fdr || $report(_exceptionable2, {
|
|
358
|
-
path: _path2 + ".fdr",
|
|
359
|
-
expected: "number",
|
|
360
|
-
value: input3.fdr
|
|
361
|
-
})].every((flag) => flag);
|
|
362
|
-
const $vo5 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.data) || $report(_exceptionable2, {
|
|
363
|
-
path: _path2 + ".data",
|
|
364
|
-
expected: "Array<cerno_map>",
|
|
365
|
-
value: input3.data
|
|
366
|
-
})) && input3.data.map((elem, _index2) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
367
|
-
path: _path2 + ".data[" + _index2 + "]",
|
|
368
|
-
expected: "cerno_map",
|
|
369
|
-
value: elem
|
|
370
|
-
})) && $vo6(elem, _path2 + ".data[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
371
|
-
path: _path2 + ".data[" + _index2 + "]",
|
|
372
|
-
expected: "cerno_map",
|
|
373
|
-
value: elem
|
|
374
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
375
|
-
path: _path2 + ".data",
|
|
376
|
-
expected: "Array<cerno_map>",
|
|
377
|
-
value: input3.data
|
|
378
|
-
})].every((flag) => flag);
|
|
379
|
-
const $vo6 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
380
|
-
const value = input3[key];
|
|
381
|
-
if (void 0 === value)
|
|
382
|
-
return true;
|
|
383
|
-
if (RegExp(/(.*)/).test(key))
|
|
384
|
-
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
385
|
-
path: _path2 + $join(key),
|
|
386
|
-
expected: "cerno_geneset_attributes",
|
|
387
|
-
value
|
|
388
|
-
})) && $vo7(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
389
|
-
path: _path2 + $join(key),
|
|
390
|
-
expected: "cerno_geneset_attributes",
|
|
391
|
-
value
|
|
392
|
-
});
|
|
393
|
-
return true;
|
|
394
|
-
}).every((flag) => flag)].every((flag) => flag);
|
|
395
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.es || $report(_exceptionable2, {
|
|
396
|
-
path: _path2 + ".es",
|
|
397
|
-
expected: "number",
|
|
398
|
-
value: input3.es
|
|
399
|
-
}), "number" === typeof input3.auc || $report(_exceptionable2, {
|
|
400
|
-
path: _path2 + ".auc",
|
|
401
|
-
expected: "number",
|
|
402
|
-
value: input3.auc
|
|
403
|
-
}), "number" === typeof input3.geneset_size || $report(_exceptionable2, {
|
|
404
|
-
path: _path2 + ".geneset_size",
|
|
405
|
-
expected: "number",
|
|
406
|
-
value: input3.geneset_size
|
|
407
|
-
}), "string" === typeof input3.leading_edge || $report(_exceptionable2, {
|
|
408
|
-
path: _path2 + ".leading_edge",
|
|
409
|
-
expected: "string",
|
|
410
|
-
value: input3.leading_edge
|
|
411
|
-
}), "number" === typeof input3.pvalue || $report(_exceptionable2, {
|
|
412
|
-
path: _path2 + ".pvalue",
|
|
413
|
-
expected: "number",
|
|
414
|
-
value: input3.pvalue
|
|
415
|
-
}), "number" === typeof input3.fdr || $report(_exceptionable2, {
|
|
416
|
-
path: _path2 + ".fdr",
|
|
417
|
-
expected: "number",
|
|
418
|
-
value: input3.fdr
|
|
419
|
-
})].every((flag) => flag);
|
|
420
|
-
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
421
|
-
if (void 0 !== input3.pathway)
|
|
422
|
-
return $vo1(input3, _path2, _exceptionable2);
|
|
423
|
-
if (void 0 !== input3.data)
|
|
424
|
-
return $vo5(input3, _path2, _exceptionable2);
|
|
425
|
-
return $report(_exceptionable2, {
|
|
426
|
-
path: _path2,
|
|
427
|
-
expected: "(blitzgseaResult | cernoResult)",
|
|
428
|
-
value: input3
|
|
429
|
-
});
|
|
430
|
-
})();
|
|
431
|
-
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
432
|
-
path: _path + "",
|
|
433
|
-
expected: "GenesetEnrichmentResponse",
|
|
434
|
-
value: input2
|
|
435
|
-
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
436
|
-
path: _path + "",
|
|
437
|
-
expected: "GenesetEnrichmentResponse",
|
|
438
|
-
value: input2
|
|
439
|
-
});
|
|
440
|
-
})(input, "$input", true);
|
|
441
|
-
}
|
|
442
|
-
const success = 0 === errors.length;
|
|
443
|
-
return {
|
|
444
|
-
success,
|
|
445
|
-
errors,
|
|
446
|
-
data: success ? input : void 0
|
|
447
|
-
};
|
|
448
|
-
};
|
|
449
|
-
|
|
450
|
-
export {
|
|
451
|
-
genesetEnrichmentPayload,
|
|
452
|
-
validGenesetEnrichmentRequest,
|
|
453
|
-
validGenesetEnrichmentResponse
|
|
454
|
-
};
|
package/dist/chunk-BCBSHTHS.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__toESM,
|
|
3
|
-
require_lib
|
|
4
|
-
} from "./chunk-YNHC5SXO.js";
|
|
5
|
-
|
|
6
|
-
// dist/clearwsisessions.ts
|
|
7
|
-
var import_typia = __toESM(require_lib(), 1);
|
|
8
|
-
var validClearWSImagesSessionsRequest = (input) => {
|
|
9
|
-
const errors = [];
|
|
10
|
-
const __is = (input2) => {
|
|
11
|
-
const $io0 = (input3) => Array.isArray(input3.sessions);
|
|
12
|
-
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
13
|
-
};
|
|
14
|
-
if (false === __is(input)) {
|
|
15
|
-
const $report = import_typia.createValidate.report(errors);
|
|
16
|
-
((input2, _path, _exceptionable = true) => {
|
|
17
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => [Array.isArray(input3.sessions) || $report(_exceptionable2, {
|
|
18
|
-
path: _path2 + ".sessions",
|
|
19
|
-
expected: "Array<any>",
|
|
20
|
-
value: input3.sessions
|
|
21
|
-
})].every((flag) => flag);
|
|
22
|
-
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
23
|
-
path: _path + "",
|
|
24
|
-
expected: "ClearWSImagesSessionsRequest",
|
|
25
|
-
value: input2
|
|
26
|
-
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
27
|
-
path: _path + "",
|
|
28
|
-
expected: "ClearWSImagesSessionsRequest",
|
|
29
|
-
value: input2
|
|
30
|
-
});
|
|
31
|
-
})(input, "$input", true);
|
|
32
|
-
}
|
|
33
|
-
const success = 0 === errors.length;
|
|
34
|
-
return {
|
|
35
|
-
success,
|
|
36
|
-
errors,
|
|
37
|
-
data: success ? input : void 0
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
var validClearWSImagesSessionsResponse = (input) => {
|
|
41
|
-
const errors = [];
|
|
42
|
-
const __is = (input2) => {
|
|
43
|
-
return "object" === typeof input2 && null !== input2 && "string" === typeof input2.message;
|
|
44
|
-
};
|
|
45
|
-
if (false === __is(input)) {
|
|
46
|
-
const $report = import_typia.createValidate.report(errors);
|
|
47
|
-
((input2, _path, _exceptionable = true) => {
|
|
48
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.message || $report(_exceptionable2, {
|
|
49
|
-
path: _path2 + ".message",
|
|
50
|
-
expected: "string",
|
|
51
|
-
value: input3.message
|
|
52
|
-
})].every((flag) => flag);
|
|
53
|
-
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
54
|
-
path: _path + "",
|
|
55
|
-
expected: "ClearWSImagesSessionsResponse",
|
|
56
|
-
value: input2
|
|
57
|
-
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
58
|
-
path: _path + "",
|
|
59
|
-
expected: "ClearWSImagesSessionsResponse",
|
|
60
|
-
value: input2
|
|
61
|
-
});
|
|
62
|
-
})(input, "$input", true);
|
|
63
|
-
}
|
|
64
|
-
const success = 0 === errors.length;
|
|
65
|
-
return {
|
|
66
|
-
success,
|
|
67
|
-
errors,
|
|
68
|
-
data: success ? input : void 0
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
export {
|
|
73
|
-
validClearWSImagesSessionsRequest,
|
|
74
|
-
validClearWSImagesSessionsResponse
|
|
75
|
-
};
|