Class Delete

Hierarchy

  • Delete

Constructors

Properties

Methods

Constructors

  • Creates an instance of Delete, which will handle cleanly deleting data in the storage.

    Parameters

    • storage: Storage

      The implementation of Storage.

    Returns Delete

Properties

storage: Storage

Methods

  • Deletes a stage, and all its components:

    • Groups
    • Rounds
    • Matches
    • Match games

    Parameters

    • stageId: Id

      ID of the stage.

    Returns Promise<void>

  • Deletes the stages of a tournament (and all their components, see delete.stage()).

    You are responsible for deleting the tournament itself.

    Parameters

    • tournamentId: Id

      ID of the tournament.

    Returns Promise<void>

Generated using TypeDoc