hipthrusts - v1.2.0
    Preparing search index...

    Interface FinishPipeHandler<TPipe, TPre, TLoad, TFinal, TExec, TResp>

    interface FinishPipeHandler<TPipe, TPre, TLoad, TFinal, TExec, TResp> {
        execute?: (context: CtxForExecute<TPipe, TPre, TLoad, TFinal>) => TExec;
        finalAuthorize?: (
            context: CtxForFinalAuthorize<TPipe, TPre, TLoad>,
        ) => TFinal;
        loadResources?: (context: CtxForLoadResources<TPipe, TPre>) => TLoad;
        preAuthorize?: (context: CtxForPreAuthorize<TPipe>) => TPre;
        redactResponse?: (
            unsafe: UnsafeForRedact<TPipe, TExec>,
            context: CtxForExecute<TPipe, TPre, TLoad, TFinal>,
        ) => TResp;
        responseMeta?: ResponseMeta | ((ctx: any) => ResponseMeta);
    }

    Type Parameters

    • TPipe
    • TPre
    • TLoad
    • TFinal
    • TExec
    • TResp
    Index
    execute?: (context: CtxForExecute<TPipe, TPre, TLoad, TFinal>) => TExec
    finalAuthorize?: (context: CtxForFinalAuthorize<TPipe, TPre, TLoad>) => TFinal
    loadResources?: (context: CtxForLoadResources<TPipe, TPre>) => TLoad
    preAuthorize?: (context: CtxForPreAuthorize<TPipe>) => TPre
    redactResponse?: (
        unsafe: UnsafeForRedact<TPipe, TExec>,
        context: CtxForExecute<TPipe, TPre, TLoad, TFinal>,
    ) => TResp
    responseMeta?: ResponseMeta | ((ctx: any) => ResponseMeta)