@openneuro/server 4.21.0-alpha.8 → 4.21.0-alpha.9

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.8",
3
+ "version": "4.21.0-alpha.9",
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": "^8.10.0",
21
+ "@elastic/elasticsearch": "7.15.0",
22
22
  "@graphql-tools/schema": "^10.0.0",
23
23
  "@keyv/redis": "^2.7.0",
24
- "@openneuro/search": "^4.21.0-alpha.8",
24
+ "@openneuro/search": "^4.21.0-alpha.9",
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": "336a59858d951d9d44c093ef190d44af505cffbf"
88
+ "gitHead": "34ede9ff1af124c428a426bf98334b2f6fa9a908"
89
89
  }
@@ -102,10 +102,8 @@ 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
106
105
  body: requestBody,
107
106
  })
108
- // @ts-expect-error Limitations of TypeScript definitions from @elastic/elasticsearch client
109
107
  return elasticRelayConnection(result, searchId, first)
110
108
  }
111
109
 
@@ -243,11 +241,9 @@ export const advancedDatasetSearchConnection = async (
243
241
  const result = await elasticClient.search({
244
242
  index: elasticIndex,
245
243
  size: first,
246
- // @ts-expect-error Limitations of TypeScript definitions from @elastic/elasticsearch client
247
244
  body: requestBody,
248
245
  })
249
246
  return elasticRelayConnection(
250
- // @ts-expect-error Limitations of TypeScript definitions from @elastic/elasticsearch client
251
247
  result,
252
248
  searchId,
253
249
  first,