QueryHost
Documentation menu

API reference · interfaces

Interface: QuerySuccess<G>

Generated from the QueryHost package public TypeScript contract.

Successful query with normalized and game-specific data.

Extends

  • QueryResultBase<G>

Type Parameters

G

G extends GameId

Properties

data

readonly data: GameDataMap[G]

Data whose type is selected by the literal game identifier.


durationMs

readonly durationMs: number

Total wall-clock duration across discovery and all attempted sources.

Inherited from

QueryResultBase.durationMs


game

readonly game: G

Inherited from

QueryResultBase.game


ok

readonly ok: true


partial

readonly partial: boolean

True when the profile produced a usable result but requested enrichment remained incomplete.


rawData?

readonly optional rawData?: GameRawDataMap[G]

Untouched protocol fields, kept separate from normalized data.


server

readonly server: ServerInfo


sources

readonly sources: readonly QuerySource[]

Source-by-source provenance, including skipped and failed optional work.

Inherited from

QueryResultBase.sources


warnings

readonly warnings: readonly QueryWarning[]

Inherited from

QueryResultBase.warnings