Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Participant

Hierarchy

Index

Constructors

constructor

Properties

active

active: boolean

api_key

api_key: string

attached_participatable_portrait_url

attached_participatable_portrait_url: string

baseUrl

baseUrl: string

can_check_in

can_check_in: boolean

challonge_email_address_verified

challonge_email_address_verified: null

challonge_username

challonge_username: string

checked_in

checked_in: boolean

checked_in_at

checked_in_at: null

confirm_remove

confirm_remove: boolean

created_at

created_at: Date

display_name_with_invitation_email_address

display_name_with_invitation_email_address: string

email_hash

email_hash: string

final_rank

final_rank: number

group_id

group_id: number

icon

icon: string

id

id: number

invitation_id

invitation_id: number

invitation_pending

invitation_pending: boolean

invite_email

invite_email: null

misc

misc: string

name

name: string

on_waiting_list

on_waiting_list: boolean

participatable_or_invitation_attached

participatable_or_invitation_attached: boolean

reactivatable

reactivatable: boolean

removable

removable: boolean

seed

seed: number

tournament_id

tournament_id: number

updated_at

updated_at: Date

username

username: string

Methods

checkIn

  • checkIn(): Promise<unknown>
  • Checks a participant in, setting checked_in_at to the current time.

    Returns Promise<unknown>

destroy

  • destroy(): Promise<unknown>
  • If the tournament has not started, delete a participant, automatically filling in the abandoned seed number. If tournament is underway, mark a participant inactive, automatically forfeiting his/her remaining matches.

    Returns Promise<unknown>

get

undoCheckIn

  • undoCheckIn(): Promise<unknown>
  • Marks a participant as having not checked in, setting checked_in_at to nil.

    Returns Promise<unknown>

update

Generated using TypeDoc