Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / AdminMatchDebugBundle

Interface: AdminMatchDebugBundle ​

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

Complete durable diagnostics for one match, excluding restore credentials.

Example:

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

const adminMatchDebugBundle: AdminMatchDebugBundle = {
  "exportVersion": 0,
  "exportedAtMs": 0,
  "game": {
    "historyId": 'example',
    "sourceMatchId": 'example',
    "section": "solo",
    "status": "saved",
    "format": "premier",
    "seed": 'example',
    "players": [],
    "series": {},
    "createdAtMs": 0,
    "updatedAtMs": 0,
    "replayAvailable": false,
    "aiFeedback": [],
  },
  "save": {
    "version": 0,
    "sourceMatchId": 'example',
    "seats": [],
    "aiOpponents": [],
    "aiPaused": false,
    "copiedCards": [],
    "state": {},
  },
  "reports": [],
}

console.log(adminMatchDebugBundle)

Properties ​

exportedAtMs ​

Example:

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

const adminMatchDebugBundle: AdminMatchDebugBundle = {
  "exportVersion": 0,
  "exportedAtMs": 0,
  "game": {
    "historyId": 'example',
    "sourceMatchId": 'example',
    "section": "solo",
    "status": "saved",
    "format": "premier",
    "seed": 'example',
    "players": [],
    "series": {},
    "createdAtMs": 0,
    "updatedAtMs": 0,
    "replayAvailable": false,
    "aiFeedback": [],
  },
  "save": {
    "version": 0,
    "sourceMatchId": 'example',
    "seats": [],
    "aiOpponents": [],
    "aiPaused": false,
    "copiedCards": [],
    "state": {},
  },
  "reports": [],
}

const { exportedAtMs } = adminMatchDebugBundle

console.log(exportedAtMs)

exportedAtMs: number

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


exportVersion ​

Example:

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

const adminMatchDebugBundle: AdminMatchDebugBundle = {
  "exportVersion": 0,
  "exportedAtMs": 0,
  "game": {
    "historyId": 'example',
    "sourceMatchId": 'example',
    "section": "solo",
    "status": "saved",
    "format": "premier",
    "seed": 'example',
    "players": [],
    "series": {},
    "createdAtMs": 0,
    "updatedAtMs": 0,
    "replayAvailable": false,
    "aiFeedback": [],
  },
  "save": {
    "version": 0,
    "sourceMatchId": 'example',
    "seats": [],
    "aiOpponents": [],
    "aiPaused": false,
    "copiedCards": [],
    "state": {},
  },
  "reports": [],
}

const { exportVersion } = adminMatchDebugBundle

console.log(exportVersion)

exportVersion: number

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


game ​

Example:

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

const adminMatchDebugBundle: AdminMatchDebugBundle = {
  "exportVersion": 0,
  "exportedAtMs": 0,
  "game": {
    "historyId": 'example',
    "sourceMatchId": 'example',
    "section": "solo",
    "status": "saved",
    "format": "premier",
    "seed": 'example',
    "players": [],
    "series": {},
    "createdAtMs": 0,
    "updatedAtMs": 0,
    "replayAvailable": false,
    "aiFeedback": [],
  },
  "save": {
    "version": 0,
    "sourceMatchId": 'example',
    "seats": [],
    "aiOpponents": [],
    "aiPaused": false,
    "copiedCards": [],
    "state": {},
  },
  "reports": [],
}

const { game } = adminMatchDebugBundle

console.log(game)

game: AdminMatchSummary

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


replay? ​

Example:

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

const adminMatchDebugBundle: AdminMatchDebugBundle = {
  "exportVersion": 0,
  "exportedAtMs": 0,
  "game": {
    "historyId": 'example',
    "sourceMatchId": 'example',
    "section": "solo",
    "status": "saved",
    "format": "premier",
    "seed": 'example',
    "players": [],
    "series": {},
    "createdAtMs": 0,
    "updatedAtMs": 0,
    "replayAvailable": false,
    "aiFeedback": [],
  },
  "save": {
    "version": 0,
    "sourceMatchId": 'example',
    "seats": [],
    "aiOpponents": [],
    "aiPaused": false,
    "copiedCards": [],
    "state": {},
  },
  "reports": [],
}

const { replay } = adminMatchDebugBundle

console.log(replay)

optional replay?: MatchHistoryReplayArchive | null

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


reports ​

Example:

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

const adminMatchDebugBundle: AdminMatchDebugBundle = {
  "exportVersion": 0,
  "exportedAtMs": 0,
  "game": {
    "historyId": 'example',
    "sourceMatchId": 'example',
    "section": "solo",
    "status": "saved",
    "format": "premier",
    "seed": 'example',
    "players": [],
    "series": {},
    "createdAtMs": 0,
    "updatedAtMs": 0,
    "replayAvailable": false,
    "aiFeedback": [],
  },
  "save": {
    "version": 0,
    "sourceMatchId": 'example',
    "seats": [],
    "aiOpponents": [],
    "aiPaused": false,
    "copiedCards": [],
    "state": {},
  },
  "reports": [],
}

const { reports } = adminMatchDebugBundle

console.log(reports)

reports: SimulatorReportResponse[]

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


save ​

Example:

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

const adminMatchDebugBundle: AdminMatchDebugBundle = {
  "exportVersion": 0,
  "exportedAtMs": 0,
  "game": {
    "historyId": 'example',
    "sourceMatchId": 'example',
    "section": "solo",
    "status": "saved",
    "format": "premier",
    "seed": 'example',
    "players": [],
    "series": {},
    "createdAtMs": 0,
    "updatedAtMs": 0,
    "replayAvailable": false,
    "aiFeedback": [],
  },
  "save": {
    "version": 0,
    "sourceMatchId": 'example',
    "seats": [],
    "aiOpponents": [],
    "aiPaused": false,
    "copiedCards": [],
    "state": {},
  },
  "reports": [],
}

const { save } = adminMatchDebugBundle

console.log(save)

save: MatchSavePayload

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

Released under the MIT License.