@my-swu/simulator-client / NullableSeatView
Type Alias: NullableSeatView
NullableSeatView =
Seat|null
Defined in: packages/ts-sdk/src/generated/types/common.ts:4436
Required nullable action-phase turn owner in public game snapshots.
Option<Seat> accepts an omitted JSON field during deserialization. This preserves the existing null wire value while rejecting stale snapshots that lack the authoritative turn owner entirely.
Example:
ts
import type { NullableSeatView } from '@my-swu/simulator-client'
const nullableSeatView: NullableSeatView = "one"
console.log(nullableSeatView)