Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / SeatOfferIntent

Type Alias: SeatOfferIntent ​

SeatOfferIntent = "none" | "requested" | "declined"

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

Per-seat stance on a two-sided post-game offer.

Both post-game offers (extending a finished single game into a series, and starting a rematch) need the same three-state answer from every seat, and a seat that answers twice must overwrite its previous answer rather than stack a second one — hence one shared enum instead of a pair of booleans.

Example:

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

const seatOfferIntent: SeatOfferIntent = "none"

console.log(seatOfferIntent)

Released under the MIT License.