@buzzr/dfs-engine
    Preparing search index...

    Function buildLiveLegAlertTitle

    • Build the push title for a per-leg live alert. Format:

      {emoji} {playerName} {actualValue} {propType} — {direction} {line} {verb}

      Examples: "⚡ Brunson 35 PTS — over 33.5 hit" (won, over) "⚡ Brunson 14 PTS — under 33.5 hit" (won, under) "💔 Brunson 14 PTS — over 33.5 missed" (lost, over) "💔 Brunson 35 PTS — under 33.5 busted" (lost, under)

      Same shape across all four outcomes so the user's mental model is uniform: "{name} {actual} {prop} — {direction} {result}". The push title is the user's only window into what happened until they open the app, so we lead with the value (not just "leg hit") so the outcome resolves in one read.

      Parameters

      • opts: {
            actualValue: number;
            direction: "over" | "under";
            line: number;
            playerName: string;
            propType: string;
            status: "won" | "lost";
        }

      Returns string