Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / LimitedEventAccessInput

Interface: LimitedEventAccessInput ​

Defined in: packages/ts-sdk/src/resources/limited-event-types.ts:142

Minimal data needed to act as one Limited Event seat.

Persist this shape when a browser needs to resume an event after a reload.

Example:

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

const limitedEventAccessInput: LimitedEventAccessInput = { eventId: 'event_123', seatToken: 'limited_token_123' }

console.log(limitedEventAccessInput)

Example ​

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

const draftSeatAccess: LimitedEventAccessInput = {
  eventId: 'event_123',
  seatToken: 'limited_token_123',
}

console.log(draftSeatAccess.eventId)

See ​

https://simulator-sdk.my-swu.com/guide/limited-events

Extends ​

Properties ​

eventId ​

Example:

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

const limitedEventAccessInput: LimitedEventAccessInput = { eventId: 'event_123', seatToken: 'limited_token_123' }

const { eventId } = limitedEventAccessInput

console.log(eventId)

eventId: string

Defined in: packages/ts-sdk/src/resources/limited-event-types.ts:120

Public Limited Event id.

Inherited from ​

LimitedEventReference.eventId


seatToken ​

Example:

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

const limitedEventAccessInput: LimitedEventAccessInput = { eventId: 'event_123', seatToken: 'limited_token_123' }

const { seatToken } = limitedEventAccessInput

console.log(seatToken)

seatToken: string

Defined in: packages/ts-sdk/src/resources/limited-event-types.ts:146

Private token authorizing one Limited Event seat.

Released under the MIT License.