ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Type Alias FuzzyMatchResult<T>

    FuzzyMatchResult: T & {
        _fuzz: { score: number; idx: number };
        matchPercentage: number;
    }

    Result of a fuzzy match operation, extending the original item with match scoring metadata. Used by SupplierBase.fuzzyFilter to annotate search results with relevance scores.

    Type Parameters

    • T

      The type of the original item being matched

    Type declaration

    • _fuzz: { score: number; idx: number }

      Fuzzy matching metadata

    • matchPercentage: number

      Normalized match score as a percentage (0–100)