Function mapParticipantsToDatabase

  • Returns participant slots mapped to the instances stored in the database thanks to a property of theirs.

    Parameters

    • prop: "id" | "name"

      The property to search participants with.

    • seeding: Seeding

      The seeding.

    • database: Participant[]

      The participants stored in the database.

    • Optional positions: number[]

      An optional list of positions (seeds) for a manual ordering.

    Returns ParticipantSlot[]

Generated using TypeDoc