@sjcrh/proteinpaint-types 2.133.4 → 2.134.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-ROVWURCJ.js → chunk-CQDDRHRY.js} +3 -3
- package/dist/{chunk-MGSCXSFH.js → chunk-U3SNUIID.js} +15 -15
- package/dist/filterTermValues.js +11 -0
- package/dist/index.js +18 -18
- package/dist/wsimages.js +1 -1
- package/package.json +1 -1
- package/src/routes/filterTermValues.ts +23 -0
- package/src/routes/wsimages.ts +1 -6
- package/dist/profileFilters.js +0 -11
- package/src/routes/profileFilters.ts +0 -23
|
@@ -65,7 +65,7 @@ var validWSImagesResponse = (input) => {
|
|
|
65
65
|
const errors = [];
|
|
66
66
|
const __is = (input2) => {
|
|
67
67
|
const $io0 = (input3) => (void 0 === input3.wsiSessionId || "string" === typeof input3.wsiSessionId) && (void 0 === input3.overlays || Array.isArray(input3.overlays) && input3.overlays.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && (Array.isArray(input3.slide_dimensions) && input3.slide_dimensions.every((elem) => "number" === typeof elem)) && "string" === typeof input3.status && (void 0 === input3.error || "string" === typeof input3.error);
|
|
68
|
-
const $io1 = (input3) => "string" === typeof input3.layerNumber &&
|
|
68
|
+
const $io1 = (input3) => "string" === typeof input3.layerNumber && "string" === typeof input3.predictionOverlayType;
|
|
69
69
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
70
70
|
};
|
|
71
71
|
if (false === __is(input)) {
|
|
@@ -116,9 +116,9 @@ var validWSImagesResponse = (input) => {
|
|
|
116
116
|
path: _path2 + ".layerNumber",
|
|
117
117
|
expected: "string",
|
|
118
118
|
value: input3.layerNumber
|
|
119
|
-
}), "
|
|
119
|
+
}), "string" === typeof input3.predictionOverlayType || $report(_exceptionable2, {
|
|
120
120
|
path: _path2 + ".predictionOverlayType",
|
|
121
|
-
expected:
|
|
121
|
+
expected: "string",
|
|
122
122
|
value: input3.predictionOverlayType
|
|
123
123
|
})].every((flag) => flag);
|
|
124
124
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
@@ -3,21 +3,21 @@ import {
|
|
|
3
3
|
require_lib
|
|
4
4
|
} from "./chunk-CNSSF43V.js";
|
|
5
5
|
|
|
6
|
-
// dist/
|
|
6
|
+
// dist/filterTermValues.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
8
8
|
|
|
9
|
-
// src/routes/
|
|
10
|
-
var
|
|
9
|
+
// src/routes/filterTermValues.ts
|
|
10
|
+
var FilterTermValuesPayload = {
|
|
11
11
|
request: {
|
|
12
|
-
typeId: "
|
|
12
|
+
typeId: "FilterTermValuesRequest"
|
|
13
13
|
},
|
|
14
14
|
response: {
|
|
15
|
-
typeId: "
|
|
15
|
+
typeId: "FilterTermValuesResponse"
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
// dist/
|
|
20
|
-
var
|
|
19
|
+
// dist/filterTermValues.ts
|
|
20
|
+
var validFilterTermValuesRequest = (input) => {
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
@@ -63,11 +63,11 @@ var validProfileFiltersRequest = (input) => {
|
|
|
63
63
|
}).every((flag) => flag)].every((flag) => flag);
|
|
64
64
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
65
65
|
path: _path + "",
|
|
66
|
-
expected: "
|
|
66
|
+
expected: "FilterTermValuesRequest",
|
|
67
67
|
value: input2
|
|
68
68
|
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
69
69
|
path: _path + "",
|
|
70
|
-
expected: "
|
|
70
|
+
expected: "FilterTermValuesRequest",
|
|
71
71
|
value: input2
|
|
72
72
|
});
|
|
73
73
|
})(input, "$input", true);
|
|
@@ -79,7 +79,7 @@ var validProfileFiltersRequest = (input) => {
|
|
|
79
79
|
data: success ? input : void 0
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
|
-
var
|
|
82
|
+
var validFilterTermValuesResponse = (input) => {
|
|
83
83
|
const errors = [];
|
|
84
84
|
const __is = (input2) => {
|
|
85
85
|
const $join = import_typia.createValidate.join;
|
|
@@ -137,11 +137,11 @@ var validProfileFiltersResponse = (input) => {
|
|
|
137
137
|
})].every((flag) => flag);
|
|
138
138
|
return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
|
|
139
139
|
path: _path + "",
|
|
140
|
-
expected: "
|
|
140
|
+
expected: "FilterTermValuesResponse",
|
|
141
141
|
value: input2
|
|
142
142
|
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
143
143
|
path: _path + "",
|
|
144
|
-
expected: "
|
|
144
|
+
expected: "FilterTermValuesResponse",
|
|
145
145
|
value: input2
|
|
146
146
|
});
|
|
147
147
|
})(input, "$input", true);
|
|
@@ -155,7 +155,7 @@ var validProfileFiltersResponse = (input) => {
|
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
export {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
FilterTermValuesPayload,
|
|
159
|
+
validFilterTermValuesRequest,
|
|
160
|
+
validFilterTermValuesResponse
|
|
161
161
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FilterTermValuesPayload,
|
|
3
|
+
validFilterTermValuesRequest,
|
|
4
|
+
validFilterTermValuesResponse
|
|
5
|
+
} from "./chunk-U3SNUIID.js";
|
|
6
|
+
import "./chunk-CNSSF43V.js";
|
|
7
|
+
export {
|
|
8
|
+
FilterTermValuesPayload,
|
|
9
|
+
validFilterTermValuesRequest,
|
|
10
|
+
validFilterTermValuesResponse
|
|
11
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
validWSImagesRequest,
|
|
23
23
|
validWSImagesResponse,
|
|
24
24
|
wsImagesPayload
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CQDDRHRY.js";
|
|
26
26
|
import {
|
|
27
27
|
validWSISamplesRequest,
|
|
28
28
|
validWSISamplesResponse,
|
|
@@ -109,10 +109,10 @@ import {
|
|
|
109
109
|
validRootTermResponse
|
|
110
110
|
} from "./chunk-AASWRJMS.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
112
|
+
pdomainPayload,
|
|
113
|
+
validPdomainRequest,
|
|
114
|
+
validPdomainResponse
|
|
115
|
+
} from "./chunk-L5DFYFWX.js";
|
|
116
116
|
import {
|
|
117
117
|
ProfileFormScoresPayload,
|
|
118
118
|
validProfileFormScoresRequest,
|
|
@@ -148,6 +148,11 @@ import {
|
|
|
148
148
|
validBoxPlotRequest,
|
|
149
149
|
validBoxPlotResponse
|
|
150
150
|
} from "./chunk-UMGJNQ2O.js";
|
|
151
|
+
import {
|
|
152
|
+
healthcheckPayload,
|
|
153
|
+
validHealthCheckRequest,
|
|
154
|
+
validHealthCheckResponse
|
|
155
|
+
} from "./chunk-RWMZSRX7.js";
|
|
151
156
|
import {
|
|
152
157
|
hicdataPayload,
|
|
153
158
|
validHicdataRequest,
|
|
@@ -178,16 +183,16 @@ import {
|
|
|
178
183
|
validNtseqRequest,
|
|
179
184
|
validNtseqResponse
|
|
180
185
|
} from "./chunk-HIPWQ6AW.js";
|
|
181
|
-
import {
|
|
182
|
-
pdomainPayload,
|
|
183
|
-
validPdomainRequest,
|
|
184
|
-
validPdomainResponse
|
|
185
|
-
} from "./chunk-L5DFYFWX.js";
|
|
186
186
|
import {
|
|
187
187
|
dzImagesPayload,
|
|
188
188
|
validDZImagesRequest,
|
|
189
189
|
validDZImagesResponse
|
|
190
190
|
} from "./chunk-XT2IWGYK.js";
|
|
191
|
+
import {
|
|
192
|
+
FilterTermValuesPayload,
|
|
193
|
+
validFilterTermValuesRequest,
|
|
194
|
+
validFilterTermValuesResponse
|
|
195
|
+
} from "./chunk-U3SNUIID.js";
|
|
191
196
|
import {
|
|
192
197
|
gdcGRIN2listPayload,
|
|
193
198
|
runGRIN2Payload,
|
|
@@ -221,11 +226,6 @@ import {
|
|
|
221
226
|
validGenesetOverrepresentationRequest,
|
|
222
227
|
validGenesetOverrepresentationResponse
|
|
223
228
|
} from "./chunk-VMSVBNM6.js";
|
|
224
|
-
import {
|
|
225
|
-
healthcheckPayload,
|
|
226
|
-
validHealthCheckRequest,
|
|
227
|
-
validHealthCheckResponse
|
|
228
|
-
} from "./chunk-RWMZSRX7.js";
|
|
229
229
|
import {
|
|
230
230
|
brainImagingPayload,
|
|
231
231
|
validBrainImagingRequest,
|
|
@@ -266,8 +266,8 @@ import {
|
|
|
266
266
|
import "./chunk-CNSSF43V.js";
|
|
267
267
|
export {
|
|
268
268
|
CorrelationVolcanoPayload,
|
|
269
|
+
FilterTermValuesPayload,
|
|
269
270
|
GdcMafPayload,
|
|
270
|
-
ProfileFiltersPayload,
|
|
271
271
|
ProfileFormScoresPayload,
|
|
272
272
|
ProfileScoresPayload,
|
|
273
273
|
boxplotPayload,
|
|
@@ -339,6 +339,8 @@ export {
|
|
|
339
339
|
validDescrStatsResponse,
|
|
340
340
|
validDsDataRequest,
|
|
341
341
|
validDsDataResponse,
|
|
342
|
+
validFilterTermValuesRequest,
|
|
343
|
+
validFilterTermValuesResponse,
|
|
342
344
|
validGdcGRIN2listRequest,
|
|
343
345
|
validGdcGRIN2listResponse,
|
|
344
346
|
validGdcMafBuildRequest,
|
|
@@ -369,8 +371,6 @@ export {
|
|
|
369
371
|
validPdomainResponse,
|
|
370
372
|
validPercentileRequest,
|
|
371
373
|
validPercentileResponse,
|
|
372
|
-
validProfileFiltersRequest,
|
|
373
|
-
validProfileFiltersResponse,
|
|
374
374
|
validProfileFormScoresRequest,
|
|
375
375
|
validProfileFormScoresResponse,
|
|
376
376
|
validProfileScoresRequest,
|
package/dist/wsimages.js
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { RoutePayload } from './routeApi.ts'
|
|
2
|
+
|
|
3
|
+
export type FilterTermValuesRequest = {
|
|
4
|
+
terms: any[]
|
|
5
|
+
filters: { [termid: string]: any[] }
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export type FilterTermValuesResponse = {
|
|
9
|
+
[termId: string]: {
|
|
10
|
+
label: string
|
|
11
|
+
value: string
|
|
12
|
+
disabled?: boolean
|
|
13
|
+
}[]
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const FilterTermValuesPayload: RoutePayload = {
|
|
17
|
+
request: {
|
|
18
|
+
typeId: 'FilterTermValuesRequest'
|
|
19
|
+
},
|
|
20
|
+
response: {
|
|
21
|
+
typeId: 'FilterTermValuesResponse'
|
|
22
|
+
}
|
|
23
|
+
}
|
package/src/routes/wsimages.ts
CHANGED
|
@@ -18,12 +18,7 @@ export type WSImagesResponse = {
|
|
|
18
18
|
|
|
19
19
|
export type PredictionOverlay = {
|
|
20
20
|
layerNumber: string
|
|
21
|
-
predictionOverlayType:
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export enum PredictionOverlayType {
|
|
25
|
-
PREDICTION = 'Prediction',
|
|
26
|
-
UNCERTAINTY = 'Uncertainty'
|
|
21
|
+
predictionOverlayType: string
|
|
27
22
|
}
|
|
28
23
|
|
|
29
24
|
export const wsImagesPayload: RoutePayload = {
|
package/dist/profileFilters.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ProfileFiltersPayload,
|
|
3
|
-
validProfileFiltersRequest,
|
|
4
|
-
validProfileFiltersResponse
|
|
5
|
-
} from "./chunk-MGSCXSFH.js";
|
|
6
|
-
import "./chunk-CNSSF43V.js";
|
|
7
|
-
export {
|
|
8
|
-
ProfileFiltersPayload,
|
|
9
|
-
validProfileFiltersRequest,
|
|
10
|
-
validProfileFiltersResponse
|
|
11
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { RoutePayload } from './routeApi.js'
|
|
2
|
-
|
|
3
|
-
export type ProfileFiltersRequest = {
|
|
4
|
-
terms: any[]
|
|
5
|
-
filters: { [termid: string]: any[] }
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export type ProfileFiltersResponse = {
|
|
9
|
-
[termId: string]: {
|
|
10
|
-
label: string
|
|
11
|
-
value: string
|
|
12
|
-
disabled?: boolean
|
|
13
|
-
}[]
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export const ProfileFiltersPayload: RoutePayload = {
|
|
17
|
-
request: {
|
|
18
|
-
typeId: 'ProfileFiltersRequest'
|
|
19
|
-
},
|
|
20
|
-
response: {
|
|
21
|
-
typeId: 'ProfileFiltersResponse'
|
|
22
|
-
}
|
|
23
|
-
}
|