@adviser/cement - v0.0.0
    Preparing search index...

    Interface ValidateTriggerCtx<INREQ, REQ, RES>

    Context provided to validation handlers. Contains the encoded request data for validation.

    interface ValidateTriggerCtx<INREQ, REQ, RES> {
        ctx: AppContext;
        encoder: EventoEnDecoder<INREQ, RES>;
        id: string;
        send: EventoSend<INREQ, REQ, RES>;
        stats: TriggerStats;
        request?: INREQ;
        enRequest: unknown;
    }

    Type Parameters

    • INREQ
    • REQ
    • RES

    Hierarchy (View Summary)

    Index

    Properties

    id: string
    request?: INREQ
    enRequest: unknown