import { IApolloContext } from "../../graphql_server" ; export default { Query : { orderBook : async ( root , args , ctx , info ) => { const { buying , selling , limit } = args ; return ctx . orderBook . load ( selling , buying , limit ) ; } } } ;