SPB Git

Repository Public

graph.ts 505 B 11 lines typescript

1import type { FastifyPluginAsyncZod } from 'fastify-type-provider-zod';23/**4 * Knowledge-graph routes (SPEC §18, §80): `GET /graph/:type/:id` → contextual neighbours of one5 * entity (cancer | gene | variant | drug | biomarker | trial) with relationship type, cancer context,6 * evidence level and provenance on every edge. Filled by the Knowledge Graph work package.7 */8export const graphRoutes: FastifyPluginAsyncZod = async (_app) => {9  /* routes added by the knowledge-graph work package */10};11
Files 33aae9564b414c377acdc2de5ccf643cd1f18285
Menu

Theme