type alias APIMiddlewareimport { type APIMiddleware } from "https://dotland.deno.dev/x/aleph@v0.3.0-beta.11/types.d.ts"; The middleware for API requests. definition: { (context: APIContext, next: () => void): Promise<void> | void; }