Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / SpectateMatchRequest

Interface: SpectateMatchRequest ​

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

Example:

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

const spectateMatchRequest: SpectateMatchRequest = {
  "name": 'example',
  "authenticated": false,
}

console.log(spectateMatchRequest)

Properties ​

authenticated ​

Example:

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

const spectateMatchRequest: SpectateMatchRequest = {
  "name": 'example',
  "authenticated": false,
}

const { authenticated } = spectateMatchRequest

console.log(authenticated)

authenticated: boolean

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

Whether this spectator joined from an authenticated app session.


avatarUrl? ​

Example:

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

const spectateMatchRequest: SpectateMatchRequest = {
  "name": 'example',
  "authenticated": false,
}

const { avatarUrl } = spectateMatchRequest

console.log(avatarUrl)

optional avatarUrl?: string | null

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

Optional public avatar image URL for the spectator.


name ​

Example:

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

const spectateMatchRequest: SpectateMatchRequest = {
  "name": 'example',
  "authenticated": false,
}

const { name } = spectateMatchRequest

console.log(name)

name: string

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


profileUrl? ​

Example:

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

const spectateMatchRequest: SpectateMatchRequest = {
  "name": 'example',
  "authenticated": false,
}

const { profileUrl } = spectateMatchRequest

console.log(profileUrl)

optional profileUrl?: string | null

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

Optional public profile page URL for the spectator.

Released under the MIT License.