@sjcrh/proteinpaint-types 2.138.3-2 → 2.138.3-5
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-FD6CMKNN.js → chunk-5XCPOWFN.js} +3 -3
- package/dist/{chunk-BTYR5IOS.js → chunk-E5MPHTIA.js} +3 -3
- package/dist/{chunk-U3SNUIID.js → chunk-ERSTC6X6.js} +3 -3
- package/dist/index.js +42 -42
- package/dist/{filterTermValues.js → termdb.filterTermValues.js} +1 -1
- package/dist/{profileFormScores.js → termdb.profileFormScores.js} +1 -1
- package/dist/{profileScores.js → termdb.profileScores.js} +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +19 -4
- /package/src/routes/{filterTermValues.ts → termdb.filterTermValues.ts} +0 -0
- /package/src/routes/{profileFormScores.ts → termdb.profileFormScores.ts} +0 -0
- /package/src/routes/{profileScores.ts → termdb.profileScores.ts} +0 -0
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
require_lib
|
|
4
4
|
} from "./chunk-CNSSF43V.js";
|
|
5
5
|
|
|
6
|
-
// dist/profileScores.ts
|
|
6
|
+
// dist/termdb.profileScores.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
8
8
|
|
|
9
|
-
// src/routes/profileScores.ts
|
|
9
|
+
// src/routes/termdb.profileScores.ts
|
|
10
10
|
var ProfileScoresPayload = {
|
|
11
11
|
request: {
|
|
12
12
|
typeId: "ProfileScoresRequest"
|
|
@@ -16,7 +16,7 @@ var ProfileScoresPayload = {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
// dist/profileScores.ts
|
|
19
|
+
// dist/termdb.profileScores.ts
|
|
20
20
|
var validProfileScoresRequest = (input) => {
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
require_lib
|
|
4
4
|
} from "./chunk-CNSSF43V.js";
|
|
5
5
|
|
|
6
|
-
// dist/profileFormScores.ts
|
|
6
|
+
// dist/termdb.profileFormScores.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
8
8
|
|
|
9
|
-
// src/routes/profileFormScores.ts
|
|
9
|
+
// src/routes/termdb.profileFormScores.ts
|
|
10
10
|
var ProfileFormScoresPayload = {
|
|
11
11
|
request: {
|
|
12
12
|
typeId: "ProfileFormScoresRequest"
|
|
@@ -16,7 +16,7 @@ var ProfileFormScoresPayload = {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
// dist/profileFormScores.ts
|
|
19
|
+
// dist/termdb.profileFormScores.ts
|
|
20
20
|
var validProfileFormScoresRequest = (input) => {
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
require_lib
|
|
4
4
|
} from "./chunk-CNSSF43V.js";
|
|
5
5
|
|
|
6
|
-
// dist/filterTermValues.ts
|
|
6
|
+
// dist/termdb.filterTermValues.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
8
8
|
|
|
9
|
-
// src/routes/filterTermValues.ts
|
|
9
|
+
// src/routes/termdb.filterTermValues.ts
|
|
10
10
|
var FilterTermValuesPayload = {
|
|
11
11
|
request: {
|
|
12
12
|
typeId: "FilterTermValuesRequest"
|
|
@@ -16,7 +16,7 @@ var FilterTermValuesPayload = {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
// dist/filterTermValues.ts
|
|
19
|
+
// dist/termdb.filterTermValues.ts
|
|
20
20
|
var validFilterTermValuesRequest = (input) => {
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
package/dist/index.js
CHANGED
|
@@ -44,15 +44,15 @@ import {
|
|
|
44
44
|
wsImagesPayload
|
|
45
45
|
} from "./chunk-CQDDRHRY.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./chunk-
|
|
47
|
+
ProfileFormScoresPayload,
|
|
48
|
+
validProfileFormScoresRequest,
|
|
49
|
+
validProfileFormScoresResponse
|
|
50
|
+
} from "./chunk-E5MPHTIA.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
52
|
+
ProfileScoresPayload,
|
|
53
|
+
validProfileScoresRequest,
|
|
54
|
+
validProfileScoresResponse
|
|
55
|
+
} from "./chunk-5XCPOWFN.js";
|
|
56
56
|
import {
|
|
57
57
|
rootTermPayload,
|
|
58
58
|
validRootTermRequest,
|
|
@@ -83,21 +83,6 @@ import {
|
|
|
83
83
|
validTermdbSingleCellSamplesRequest,
|
|
84
84
|
validTermdbSingleCellSamplesResponse
|
|
85
85
|
} from "./chunk-LPBYQJG4.js";
|
|
86
|
-
import {
|
|
87
|
-
snpPayload,
|
|
88
|
-
validSnpRequest,
|
|
89
|
-
validSnpResponse
|
|
90
|
-
} from "./chunk-J4QAF4EU.js";
|
|
91
|
-
import {
|
|
92
|
-
diffExpPayload,
|
|
93
|
-
validDERequest,
|
|
94
|
-
validDEResponse
|
|
95
|
-
} from "./chunk-3C26VWPU.js";
|
|
96
|
-
import {
|
|
97
|
-
boxplotPayload,
|
|
98
|
-
validBoxPlotRequest,
|
|
99
|
-
validBoxPlotResponse
|
|
100
|
-
} from "./chunk-IY6W7HXW.js";
|
|
101
86
|
import {
|
|
102
87
|
termdbCategoriesPayload,
|
|
103
88
|
validCategoriesRequest,
|
|
@@ -123,6 +108,21 @@ import {
|
|
|
123
108
|
validDescrStatsRequest,
|
|
124
109
|
validDescrStatsResponse
|
|
125
110
|
} from "./chunk-I2BMMKPN.js";
|
|
111
|
+
import {
|
|
112
|
+
FilterTermValuesPayload,
|
|
113
|
+
validFilterTermValuesRequest,
|
|
114
|
+
validFilterTermValuesResponse
|
|
115
|
+
} from "./chunk-ERSTC6X6.js";
|
|
116
|
+
import {
|
|
117
|
+
numericCategoriesPayload,
|
|
118
|
+
validNumericCategoriesRequest,
|
|
119
|
+
validNumericCategoriesResponse
|
|
120
|
+
} from "./chunk-DD2RLZHC.js";
|
|
121
|
+
import {
|
|
122
|
+
percentilePayload,
|
|
123
|
+
validPercentileRequest,
|
|
124
|
+
validPercentileResponse
|
|
125
|
+
} from "./chunk-6HAS5WRS.js";
|
|
126
126
|
import {
|
|
127
127
|
isoformlstPayload,
|
|
128
128
|
validIsoformLstRequest,
|
|
@@ -138,16 +138,6 @@ import {
|
|
|
138
138
|
validPdomainRequest,
|
|
139
139
|
validPdomainResponse
|
|
140
140
|
} from "./chunk-L5DFYFWX.js";
|
|
141
|
-
import {
|
|
142
|
-
ProfileFormScoresPayload,
|
|
143
|
-
validProfileFormScoresRequest,
|
|
144
|
-
validProfileFormScoresResponse
|
|
145
|
-
} from "./chunk-BTYR5IOS.js";
|
|
146
|
-
import {
|
|
147
|
-
ProfileScoresPayload,
|
|
148
|
-
validProfileScoresRequest,
|
|
149
|
-
validProfileScoresResponse
|
|
150
|
-
} from "./chunk-FD6CMKNN.js";
|
|
151
141
|
import {
|
|
152
142
|
sampleWsiAiApiPayload,
|
|
153
143
|
validSampleWSIAiApiRequest,
|
|
@@ -159,10 +149,20 @@ import {
|
|
|
159
149
|
validSampleWSImagesResponse
|
|
160
150
|
} from "./chunk-FYRWYZEE.js";
|
|
161
151
|
import {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
} from "./chunk-
|
|
152
|
+
snpPayload,
|
|
153
|
+
validSnpRequest,
|
|
154
|
+
validSnpResponse
|
|
155
|
+
} from "./chunk-J4QAF4EU.js";
|
|
156
|
+
import {
|
|
157
|
+
diffExpPayload,
|
|
158
|
+
validDERequest,
|
|
159
|
+
validDEResponse
|
|
160
|
+
} from "./chunk-3C26VWPU.js";
|
|
161
|
+
import {
|
|
162
|
+
boxplotPayload,
|
|
163
|
+
validBoxPlotRequest,
|
|
164
|
+
validBoxPlotResponse
|
|
165
|
+
} from "./chunk-IY6W7HXW.js";
|
|
166
166
|
import {
|
|
167
167
|
genesetOverrepresentationPayload,
|
|
168
168
|
validGenesetOverrepresentationRequest,
|
|
@@ -213,11 +213,6 @@ import {
|
|
|
213
213
|
validDZImagesRequest,
|
|
214
214
|
validDZImagesResponse
|
|
215
215
|
} from "./chunk-XT2IWGYK.js";
|
|
216
|
-
import {
|
|
217
|
-
FilterTermValuesPayload,
|
|
218
|
-
validFilterTermValuesRequest,
|
|
219
|
-
validFilterTermValuesResponse
|
|
220
|
-
} from "./chunk-U3SNUIID.js";
|
|
221
216
|
import {
|
|
222
217
|
gdcGRIN2listPayload,
|
|
223
218
|
runGRIN2Payload,
|
|
@@ -241,6 +236,11 @@ import {
|
|
|
241
236
|
validGeneLookupRequest,
|
|
242
237
|
validGeneLookupResponse
|
|
243
238
|
} from "./chunk-HNETXFC7.js";
|
|
239
|
+
import {
|
|
240
|
+
genesetEnrichmentPayload,
|
|
241
|
+
validGenesetEnrichmentRequest,
|
|
242
|
+
validGenesetEnrichmentResponse
|
|
243
|
+
} from "./chunk-HUMZDPUU.js";
|
|
244
244
|
import {
|
|
245
245
|
aiProjectAdminPayload,
|
|
246
246
|
validAIProjectAdminRequest,
|
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -1380,14 +1380,29 @@ export type Termdb = {
|
|
|
1380
1380
|
/** Terms */
|
|
1381
1381
|
termIds?: TermIds
|
|
1382
1382
|
/**
|
|
1383
|
-
*
|
|
1383
|
+
* Check for the required minimum number of samples with data as queried with getData() or other code,
|
|
1384
1384
|
* in order to minimize the ease of extracting identifiable information from aggregate data
|
|
1385
1385
|
* in server response
|
|
1386
1386
|
*
|
|
1387
|
-
*
|
|
1388
|
-
*
|
|
1387
|
+
* q : req.query as processed through app middleware (pre-parsed, may have req.body props, __protectec__, etc)
|
|
1388
|
+
*
|
|
1389
|
+
* data{
|
|
1390
|
+
* sampleCount: the number of samples with matching data from one or more queried terms
|
|
1391
|
+
* }
|
|
1392
|
+
*
|
|
1393
|
+
* returns: {minSampleSize, canAccess}, see below
|
|
1389
1394
|
*/
|
|
1390
|
-
|
|
1395
|
+
checkAccessToSampleData?: (
|
|
1396
|
+
q: any,
|
|
1397
|
+
data: { sampleCount: number }
|
|
1398
|
+
) => {
|
|
1399
|
+
/** the required minimum sample size for the current user,
|
|
1400
|
+
* may be dependent on login status or other context
|
|
1401
|
+
* */
|
|
1402
|
+
minSampleSize: number
|
|
1403
|
+
/** whether downstreadm backend code can proceed */
|
|
1404
|
+
canAccess: boolean
|
|
1405
|
+
}
|
|
1391
1406
|
/** if true, backend is allowed to send sample names to client in charts */
|
|
1392
1407
|
displaySampleIds?: (clientAuthResult: any) => boolean
|
|
1393
1408
|
converSampleIds?: boolean
|
|
File without changes
|
|
File without changes
|
|
File without changes
|