@my-swu/simulator-client / MatchRecoveryInput
Type Alias: MatchRecoveryInput
MatchRecoveryInput =
MatchRecoveryRequest
Defined in: packages/ts-sdk/src/resources/match-history.ts:33
Recovery request for a source runtime that is no longer available.
Example:
ts
import type { MatchRecoveryInput } from '@my-swu/simulator-client'
// Recovery needs the owner identity and original runtime id.
const matchRecoveryInput: MatchRecoveryInput = {
identities: [{ kind: 'browser', key: 'browser-identity-key' }],
restoreRequestId: '73266d86-45c5-43bb-bc6c-571d47326d64',
section: 'solo',
sourceMatchId: 'match_123',
}
console.log(matchRecoveryInput.sourceMatchId)