import { ExoConnection } from '../../ExoConnection/ExoConnection'; import { ExoConnResponse } from '../../ExoConnection/ExoConnResponse/ExoConnResponse'; import { ExoContext } from '../../ExoContext/ExoContext'; export interface ExoGraphMiddlewareProps { conn: ExoConnection; res: ExoConnResponse; ctx: ExoContext; } export type ExoGraphMiddleware = (props: ExoGraphMiddlewareProps) => any | Promise;