Interface IEnhanceApiContextExecutionContext<TContext, TResponse>

Context for an EnhanceApiContext function.

interface IEnhanceApiContextExecutionContext<TContext, TResponse> {
    context: TContext;
    options: Nullable<Partial<IWithApiPropsOptions<TContext, TResponse>>>;
    shouldStop: boolean;
}

Type Parameters

Properties

context: TContext

The context to enhance.

options: Nullable<Partial<IWithApiPropsOptions<TContext, TResponse>>>

The options.

shouldStop: boolean

Gets or sets if the execution should be stopped or not.

Default

false

Generated using TypeDoc