@openneuro/server 4.21.0-alpha.4 → 4.21.0-alpha.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openneuro/server",
|
|
3
|
-
"version": "4.21.0-alpha.
|
|
3
|
+
"version": "4.21.0-alpha.8",
|
|
4
4
|
"description": "Core service for the OpenNeuro platform.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/server.js",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"@apollo/client": "3.7.2",
|
|
19
19
|
"@apollo/server": "4.9.3",
|
|
20
20
|
"@apollo/utils.keyvadapter": "3.0.0",
|
|
21
|
-
"@elastic/elasticsearch": "
|
|
21
|
+
"@elastic/elasticsearch": "^8.10.0",
|
|
22
22
|
"@graphql-tools/schema": "^10.0.0",
|
|
23
23
|
"@keyv/redis": "^2.7.0",
|
|
24
|
-
"@openneuro/search": "^4.21.0-alpha.
|
|
24
|
+
"@openneuro/search": "^4.21.0-alpha.8",
|
|
25
25
|
"@passport-next/passport-google-oauth2": "^1.0.0",
|
|
26
26
|
"@sentry/node": "^4.5.3",
|
|
27
27
|
"base64url": "^3.0.0",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"publishConfig": {
|
|
86
86
|
"access": "public"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "336a59858d951d9d44c093ef190d44af505cffbf"
|
|
89
89
|
}
|
|
@@ -102,8 +102,10 @@ export const datasetSearchConnection = async (
|
|
|
102
102
|
index: elasticIndex,
|
|
103
103
|
size: first,
|
|
104
104
|
q: `${q} AND public:true`,
|
|
105
|
+
// @ts-expect-error Limitations of TypeScript definitions from @elastic/elasticsearch client
|
|
105
106
|
body: requestBody,
|
|
106
107
|
})
|
|
108
|
+
// @ts-expect-error Limitations of TypeScript definitions from @elastic/elasticsearch client
|
|
107
109
|
return elasticRelayConnection(result, searchId, first)
|
|
108
110
|
}
|
|
109
111
|
|
|
@@ -241,9 +243,11 @@ export const advancedDatasetSearchConnection = async (
|
|
|
241
243
|
const result = await elasticClient.search({
|
|
242
244
|
index: elasticIndex,
|
|
243
245
|
size: first,
|
|
246
|
+
// @ts-expect-error Limitations of TypeScript definitions from @elastic/elasticsearch client
|
|
244
247
|
body: requestBody,
|
|
245
248
|
})
|
|
246
249
|
return elasticRelayConnection(
|
|
250
|
+
// @ts-expect-error Limitations of TypeScript definitions from @elastic/elasticsearch client
|
|
247
251
|
result,
|
|
248
252
|
searchId,
|
|
249
253
|
first,
|