Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / LimitedTournamentPairingView

Interface: LimitedTournamentPairingView ​

Defined in: packages/ts-sdk/src/generated/types/common.ts:3213

Public view of one tournament table.

Example:

ts
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'

const limitedTournamentPairingView: LimitedTournamentPairingView = {
  "tableNumber": 0,
  "playerA": 'example',
  "status": "pending",
}

console.log(limitedTournamentPairingView)

Properties ​

matchId? ​

Example:

ts
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'

const limitedTournamentPairingView: LimitedTournamentPairingView = {
  "tableNumber": 0,
  "playerA": 'example',
  "status": "pending",
}

const { matchId } = limitedTournamentPairingView

console.log(matchId)

optional matchId?: string | null

Defined in: packages/ts-sdk/src/generated/types/common.ts:3217

Live match id when the table is played by a human.


playerA ​

Example:

ts
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'

const limitedTournamentPairingView: LimitedTournamentPairingView = {
  "tableNumber": 0,
  "playerA": 'example',
  "status": "pending",
}

const { playerA } = limitedTournamentPairingView

console.log(playerA)

playerA: string

Defined in: packages/ts-sdk/src/generated/types/common.ts:3221

First seated lobby player id.


playerB? ​

Example:

ts
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'

const limitedTournamentPairingView: LimitedTournamentPairingView = {
  "tableNumber": 0,
  "playerA": 'example',
  "status": "pending",
}

const { playerB } = limitedTournamentPairingView

console.log(playerB)

optional playerB?: string | null

Defined in: packages/ts-sdk/src/generated/types/common.ts:3225

Second seated lobby player id; None for a bye.


result? ​

Example:

ts
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'

const limitedTournamentPairingView: LimitedTournamentPairingView = {
  "tableNumber": 0,
  "playerA": 'example',
  "status": "pending",
}

const { result } = limitedTournamentPairingView

console.log(result)

optional result?: LimitedTournamentResult | null

Defined in: packages/ts-sdk/src/generated/types/common.ts:3229

Table outcome once complete.


status ​

Example:

ts
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'

const limitedTournamentPairingView: LimitedTournamentPairingView = {
  "tableNumber": 0,
  "playerA": 'example',
  "status": "pending",
}

const { status: healthStatus } = limitedTournamentPairingView

console.log(healthStatus)

status: LimitedTournamentTableStatus

Defined in: packages/ts-sdk/src/generated/types/common.ts:3233

Table progress.


tableNumber ​

Example:

ts
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'

const limitedTournamentPairingView: LimitedTournamentPairingView = {
  "tableNumber": 0,
  "playerA": 'example',
  "status": "pending",
}

const { tableNumber } = limitedTournamentPairingView

console.log(tableNumber)

tableNumber: number

Defined in: packages/ts-sdk/src/generated/types/common.ts:3237

One-based table number within the round.

Released under the MIT License.