Interface IWithApiPropsOptions<TContext, TResponse>
interface IWithApiPropsOptions<TContext, TResponse> { CONNECT: Nilable<WithApiPropsHandler<TContext & IWithApiProps, TResponse>>; DELETE: Nilable<WithApiPropsHandler<TContext & IWithApiProps, TResponse>>; GET: Nilable<WithApiPropsHandler<TContext & IWithApiProps, TResponse>>; HEAD: Nilable<WithApiPropsHandler<TContext & IWithApiProps, TResponse>>; OPTIONS: Nilable<WithApiPropsHandler<TContext & IWithApiProps, TResponse>>; PATCH: Nilable<WithApiPropsHandler<TContext & IWithApiProps, TResponse>>; POST: Nilable<WithApiPropsHandler<TContext & IWithApiProps, TResponse>>; PUT: Nilable<WithApiPropsHandler<TContext & IWithApiProps, TResponse>>; TRACE: Nilable<WithApiPropsHandler<TContext & IWithApiProps, TResponse>>; getProps: GetApiPropsAction<TContext>; use: Nilable<ApiMiddleware[]>; }
Options for a
withApiProps()
function call.