@my-swu/simulator-client / MatchReference
Interface: MatchReference
Defined in: packages/ts-sdk/src/resources/matches.ts:57
Public reference to one match.
Use this shape for routes, lobby sharing, or join flows where no private seat credential should be exposed.
Example:
ts
import type { MatchReference } from '@my-swu/simulator-client'
const matchReference: MatchReference = { matchId: 'match_123' }
console.log(matchReference)Example
ts
import type { MatchReference } from '@my-swu/simulator-client'
const matchReference: MatchReference = { matchId: 'match_123' }
console.log(matchReference.matchId)See
https://simulator-sdk.my-swu.com/guide/match-lifecycle
Extended by
Properties
matchId
Example:
ts
import type { MatchReference } from '@my-swu/simulator-client'
const matchReference: MatchReference = { matchId: 'match_123' }
const { matchId } = matchReference
console.log(matchId)matchId:
string
Defined in: packages/ts-sdk/src/resources/matches.ts:61
Public match id.
