Type alias DAOMiddleware<T>

DAOMiddleware<T>: {
    after?: ((args: MiddlewareOutput<T>, context: MiddlewareContext<T>) => Promise<AfterMiddlewareResult<T> | void>);
    before?: (<G>(args: G, context: MiddlewareContext<T>) => Promise<BeforeMiddlewareResult<T> | void>);
    name?: string;
}

Type Parameters

Type declaration

Generated using TypeDoc