Skip to content

Commit fbfa639

Browse files
fix: bypass Next.js TS compiler complaining about Cloudflare-specific ExecutionContext type in MCP server
1 parent aff9d29 commit fbfa639

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎mcp/src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ export class YourselfToScienceMCP extends McpAgent {
388388
// Worker entrypoint — route /mcp to the MCP server (Streamable HTTP).
389389
// ----------------------------------------------------------------------------
390390
const worker = {
391-
fetch(request: Request, env: unknown, ctx: ExecutionContext): Response | Promise<Response> {
391+
fetch(request: Request, env: unknown, ctx: any): Response | Promise<Response> {
392392
const { pathname } = new URL(request.url);
393393
if (pathname === "/mcp") {
394394
// McpAgent.serve() returns a fetch handler that speaks Streamable HTTP.

‎public/resources_wikidata.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,7 @@
21742174
"displayTitle": "GIMM Biobank",
21752175
"dataTypeMappings": {
21762176
"Blood": "Q7873",
2177-
"Saliva": "Q154",
2177+
"Saliva": "Q155925",
21782178
"Urine": "Q40924",
21792179
"Tissue": "Q40397"
21802180
},

‎src/data/ontology.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const dataTypesOntology = [
110110
"title": "Saliva",
111111
"slug": "saliva",
112112
"description": "Biological samples consisting of saliva, typically used for DNA extraction, hormone testing, and biomarker analysis.",
113-
"wikidataId": "Q155925"
113+
"wikidataId": "Q154"
114114
},
115115
{
116116
"id": "44410a74-d4dc-4dcd-adc9-9b7c845b4b1a",

‎src/data/wikidataStats.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,5 @@
150150
"label": "WikiTree"
151151
}
152152
],
153-
"lastUpdated": "2026-06-10T19:17:58.294Z"
153+
"lastUpdated": "2026-06-10T19:18:32.681Z"
154154
}

‎wikidata_report.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Wikidata Integration Report
22

3-
**Generated on:** 6/10/2026, 9:17:59 PM
3+
**Generated on:** 6/10/2026, 9:18:34 PM
44

55
## Project-Organizer Relationships
66

@@ -258,7 +258,7 @@
258258
- **Organ**: [Q712378](https://www.wikidata.org/wiki/Q712378)
259259
- **Placenta**: [Q1212935](https://www.wikidata.org/wiki/Q1212935)
260260
- **Plasma**: [Q79749](https://www.wikidata.org/wiki/Q79749)
261-
- **Saliva**: [Q154](https://www.wikidata.org/wiki/Q154)
261+
- **Saliva**: [Q155925](https://www.wikidata.org/wiki/Q155925)
262262
- **Search history**: [Q60461381](https://www.wikidata.org/wiki/Q60461381)
263263
- **Social media data**: [Q131520545](https://www.wikidata.org/wiki/Q131520545)
264264
- **Sperm**: [Q17145](https://www.wikidata.org/wiki/Q17145)

0 commit comments

Comments
 (0)