Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / MatchHistoryRestoreRequest

Interface: MatchHistoryRestoreRequest ​

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

Request body for restoring one saved history entry.

Example:

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

const matchHistoryRestoreRequest: MatchHistoryRestoreRequest = {
  "identities": [],
  "restoreRequestId": 'example',
}

console.log(matchHistoryRestoreRequest)

Extended by ​

Properties ​

identities ​

Example:

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

const matchHistoryRestoreRequest: MatchHistoryRestoreRequest = {
  "identities": [],
  "restoreRequestId": 'example',
}

const { identities } = matchHistoryRestoreRequest

console.log(identities)

identities: HistoryIdentityInput[]

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


restoreRequestId ​

Example:

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

const matchHistoryRestoreRequest: MatchHistoryRestoreRequest = {
  "identities": [],
  "restoreRequestId": 'example',
}

const { restoreRequestId } = matchHistoryRestoreRequest

console.log(restoreRequestId)

restoreRequestId: string

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

Stable browser-generated operation id used to make retries idempotent.

Released under the MIT License.