Frodo Library - v4.0.0
    Preparing search index...

    Type Alias NodeVersionFilter

    Semver-style filter used by readNodesByVersion to select node type versions.

    Supported comparisons:

    • eq: exact version match
    • gt / gte: greater than / greater than or equal
    • lt / lte: less than / less than or equal
    • from / to: inclusive range bounds by default
    • includeFrom / includeTo: override range bound inclusivity
    type NodeVersionFilter = {
        eq?: string;
        from?: string;
        gt?: string;
        gte?: string;
        includeFrom?: boolean;
        includeTo?: boolean;
        lt?: string;
        lte?: string;
        to?: string;
    }
    Index

    Properties

    eq?: string

    Exact version match.

    from?: string

    Range lower bound. Inclusive unless includeFrom is set to false.

    gt?: string

    Strictly greater than the supplied version.

    gte?: string

    Greater than or equal to the supplied version.

    includeFrom?: boolean

    Whether the from bound is inclusive. Defaults to true.

    includeTo?: boolean

    Whether the to bound is inclusive. Defaults to true.

    lt?: string

    Strictly less than the supplied version.

    lte?: string

    Less than or equal to the supplied version.

    to?: string

    Range upper bound. Inclusive unless includeTo is set to false.