BRACKET_MATCH_STATUSES

const
Components

Closed list of valid status values for IBracketMatch.status. Used to validate and iterate match states in OrigamBracket.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

'pending'
Match has not started yet.
'live'
Match is currently in progress.
'completed'
Match finished with a winner.
'forfeited'
Match was forfeited by one of the participants.

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamBracket

Usage

Examples

Ready-to-paste code snippets using this constant.

Checking a match status is valid

typescript