@sjcrh/proteinpaint-types 2.161.0 → 2.163.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-CSPVFAJ7.js → chunk-VQOCGHP2.js} +9 -9
- package/dist/grin2.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +6 -1
- package/src/routes/grin2.ts +4 -4
|
@@ -207,7 +207,7 @@ var validGRIN2Response = (input) => {
|
|
|
207
207
|
const $io5 = (input3) => Array.isArray(input3.columns) && input3.columns.every((elem) => "object" === typeof elem && null !== elem && $io6(elem)) && (Array.isArray(input3.rows) && input3.rows.every((elem) => Array.isArray(elem) && elem.every((elem2) => "object" === typeof elem2 && null !== elem2 && $io7(elem2))));
|
|
208
208
|
const $io6 = (input3) => "string" === typeof input3.label && "boolean" === typeof input3.sortable;
|
|
209
209
|
const $io7 = (input3) => "string" === typeof input3.value || "number" === typeof input3.value;
|
|
210
|
-
const $io8 = (input3) => "
|
|
210
|
+
const $io8 = (input3) => "string" === typeof input3.processingTime && "string" === typeof input3.grin2Time && "string" === typeof input3.plottingTime && "string" === typeof input3.totalTime;
|
|
211
211
|
const $io9 = (input3) => (void 0 === input3.totalSamples || "number" === typeof input3.totalSamples) && (void 0 === input3.processedSamples || "number" === typeof input3.processedSamples) && (void 0 === input3.failedSamples || "number" === typeof input3.failedSamples) && (void 0 === input3.failedFiles || Array.isArray(input3.failedFiles) && input3.failedFiles.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.totalLesions || "number" === typeof input3.totalLesions) && (void 0 === input3.processedLesions || "number" === typeof input3.processedLesions) && (void 0 === input3.unprocessedSamples || "number" === typeof input3.unprocessedSamples) && (void 0 === input3.lesionCounts || "object" === typeof input3.lesionCounts && null !== input3.lesionCounts && false === Array.isArray(input3.lesionCounts) && $io11(input3.lesionCounts));
|
|
212
212
|
const $io10 = (input3) => "string" === typeof input3.sampleName && "string" === typeof input3.filePath && "string" === typeof input3.error;
|
|
213
213
|
const $io11 = (input3) => (void 0 === input3.total || "number" === typeof input3.total) && (void 0 === input3.byType || "object" === typeof input3.byType && null !== input3.byType && false === Array.isArray(input3.byType) && $io12(input3.byType));
|
|
@@ -436,21 +436,21 @@ var validGRIN2Response = (input) => {
|
|
|
436
436
|
expected: "(number | string)",
|
|
437
437
|
value: input3.value
|
|
438
438
|
})].every((flag) => flag);
|
|
439
|
-
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["
|
|
439
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.processingTime || $report(_exceptionable2, {
|
|
440
440
|
path: _path2 + ".processingTime",
|
|
441
|
-
expected: "
|
|
441
|
+
expected: "string",
|
|
442
442
|
value: input3.processingTime
|
|
443
|
-
}), "
|
|
443
|
+
}), "string" === typeof input3.grin2Time || $report(_exceptionable2, {
|
|
444
444
|
path: _path2 + ".grin2Time",
|
|
445
|
-
expected: "
|
|
445
|
+
expected: "string",
|
|
446
446
|
value: input3.grin2Time
|
|
447
|
-
}), "
|
|
447
|
+
}), "string" === typeof input3.plottingTime || $report(_exceptionable2, {
|
|
448
448
|
path: _path2 + ".plottingTime",
|
|
449
|
-
expected: "
|
|
449
|
+
expected: "string",
|
|
450
450
|
value: input3.plottingTime
|
|
451
|
-
}), "
|
|
451
|
+
}), "string" === typeof input3.totalTime || $report(_exceptionable2, {
|
|
452
452
|
path: _path2 + ".totalTime",
|
|
453
|
-
expected: "
|
|
453
|
+
expected: "string",
|
|
454
454
|
value: input3.totalTime
|
|
455
455
|
})].every((flag) => flag);
|
|
456
456
|
const $vo9 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.totalSamples || "number" === typeof input3.totalSamples || $report(_exceptionable2, {
|
package/dist/grin2.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -1405,6 +1405,12 @@ export type Termdb = {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
/** if true, backend is allowed to send sample names to client in charts */
|
|
1407
1407
|
displaySampleIds?: (clientAuthResult: any) => boolean
|
|
1408
|
+
/** ds-supplied async callback to build dictionary
|
|
1409
|
+
argument: dataset object
|
|
1410
|
+
sets termdb.q{}
|
|
1411
|
+
no return
|
|
1412
|
+
*/
|
|
1413
|
+
buildDictionary?: (ds: any) => void
|
|
1408
1414
|
converSampleIds?: boolean
|
|
1409
1415
|
alwaysShowBranchTerms?: boolean
|
|
1410
1416
|
minimumSampleAllowed4filter?: number
|
|
@@ -1781,7 +1787,6 @@ export type Mds = BaseMds & {
|
|
|
1781
1787
|
cohort?: any
|
|
1782
1788
|
queries?: any
|
|
1783
1789
|
mutationAttribute?: any
|
|
1784
|
-
dbFile?: string
|
|
1785
1790
|
version?: { label: string; link: string }
|
|
1786
1791
|
gene2mutcount?: any
|
|
1787
1792
|
locusAttribute?: any
|
package/src/routes/grin2.ts
CHANGED
|
@@ -148,13 +148,13 @@ export type GRIN2Response = {
|
|
|
148
148
|
/** Timing info for the analysis */
|
|
149
149
|
timing?: {
|
|
150
150
|
/** Time taken to run data processing */
|
|
151
|
-
processingTime:
|
|
151
|
+
processingTime: string
|
|
152
152
|
/** Time taken to run GRIN2 processing */
|
|
153
|
-
grin2Time:
|
|
153
|
+
grin2Time: string
|
|
154
154
|
/** Time taken to run Manhattan plot generation */
|
|
155
|
-
plottingTime:
|
|
155
|
+
plottingTime: string
|
|
156
156
|
/** Total time taken for the entire run */
|
|
157
|
-
totalTime:
|
|
157
|
+
totalTime: string
|
|
158
158
|
}
|
|
159
159
|
/** Detailed processing summary */
|
|
160
160
|
processingSummary?: {
|