add findSystemById method on server context

This commit is contained in:
2025-04-06 11:34:37 -07:00
parent ea4723df85
commit 8dd2f02783
3 changed files with 11 additions and 10 deletions

View File

@@ -2,4 +2,5 @@ import { InterchangeSystem } from "./entities/InterchangeSystem";
export interface ServerContext {
systems: InterchangeSystem[];
findSystemById: (id: string) => InterchangeSystem | null;
}