Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / AdminMatchSummary

Interface: AdminMatchSummary ​

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

Compact durable match data safe for an administrator list view.

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

console.log(adminMatchSummary)

Properties ​

aiFeedback ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { aiFeedback } = adminMatchSummary

console.log(aiFeedback)

aiFeedback: AiGameFeedback[]

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

Feedback collected for individual completed AI games in this match.


completedAtMs? ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { completedAtMs } = adminMatchSummary

console.log(completedAtMs)

optional completedAtMs?: number | null

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


createdAtMs ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { createdAtMs } = adminMatchSummary

console.log(createdAtMs)

createdAtMs: number

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


format ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { format } = adminMatchSummary

console.log(format)

format: MatchFormat

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


historyId ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { historyId } = adminMatchSummary

console.log(historyId)

historyId: string

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


players ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { players } = adminMatchSummary

console.log(players)

players: MatchHistoryPlayerSummary[]

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


replayAvailable ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { replayAvailable } = adminMatchSummary

console.log(replayAvailable)

replayAvailable: boolean

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


result? ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { result } = adminMatchSummary

console.log(result)

optional result?: unknown

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


section ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { section } = adminMatchSummary

console.log(section)

section: HistorySection

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


seed ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { seed } = adminMatchSummary

console.log(seed)

seed: string

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

Exact match seed, serialized as decimal text for JavaScript consumers.


series ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { series } = adminMatchSummary

console.log(series)

series: unknown

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


sourceMatchId ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { sourceMatchId } = adminMatchSummary

console.log(sourceMatchId)

sourceMatchId: string

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


status ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { status: healthStatus } = adminMatchSummary

console.log(healthStatus)

status: HistoryStatus

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


updatedAtMs ​

Example:

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

const adminMatchSummary: AdminMatchSummary = {
  "historyId": 'example',
  "sourceMatchId": 'example',
  "section": "solo",
  "status": "saved",
  "format": "premier",
  "seed": 'example',
  "players": [],
  "series": {},
  "createdAtMs": 0,
  "updatedAtMs": 0,
  "replayAvailable": false,
  "aiFeedback": [],
}

const { updatedAtMs } = adminMatchSummary

console.log(updatedAtMs)

updatedAtMs: number

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

Released under the MIT License.