Preparing search index...

    Function generatePerformanceIngredients

    • Generates a deterministic, referentially-self-contained ingredient pool.

      Curated anchor fixtures are expected to be prepended by the caller; this function only produces the bulk entries. Ids start at startId and increase by one with no gaps or duplicates. Every ingredientType enum value is guaranteed to appear at least once so each filter accordion populates.

      Parameters

      • count: number

        Number of ingredients to generate.

      • startId: number

        First id to assign (anchors occupy ids before this).

      Returns ingredientTableElement[]

      An array of count generated ingredients.

      const bulk = generatePerformanceIngredients(950, 51);