@supabase/middleware - v0.2.0
    Preparing search index...

    Interface Entry<Key, In, Contribution>

    A middleware with its config pre-applied, ready to be passed to pipeline. Carries phantom type parameters so pipeline can accumulate each entry's contribution onto the handler's ctx without requiring a manual annotation.

    Produced by calling a middleware with config only — withFoo(config) — or with no args for config-less middleware — withFoo().

    interface Entry<Key extends string, In extends object, Contribution> {
        __key?: Key;
        __in?: In;
        __contribution?: Contribution;
        (handler: AnyFetchHandler): AnyFetchHandler;
    }

    Type Parameters

    • Key extends string
    • In extends object
    • Contribution
    • Entry(handler: AnyFetchHandler): AnyFetchHandler

      Parameters

      • handler: AnyFetchHandler

      Returns AnyFetchHandler

    Index
    __key?: Key
    __in?: In
    __contribution?: Contribution