Logos DX
    Preparing search index...

    Interface DedupeRule<S, H, P>

    Rule for matching specific routes in deduplication configuration.

    interface DedupeRule<S = unknown, H = unknown, P = unknown> {
        enabled?: boolean;
        endsWith?: string;
        includes?: string;
        is?: string;
        match?: RegExp;
        methods?: _InternalHttpMethods[];
        serializer?: RequestSerializer<S, H, P>;
        startsWith?: string;
    }

    Type Parameters

    • S = unknown
    • H = unknown
    • P = unknown

    Hierarchy (View Summary)

    Index

    Properties

    enabled?: boolean

    Enable/disable deduplication for matching routes

    endsWith?: string

    Path must end with this suffix

    includes?: string

    Path must contain this substring

    is?: string

    Exact path match

    match?: RegExp

    Path must match this regular expression

    HTTP methods this rule applies to

    serializer?: RequestSerializer<S, H, P>

    Override serializer for this rule

    startsWith?: string

    Path must start with this prefix