Interface: MatchRecord
Defined in: server/matches.ts:4
A finished match as stored in D1.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
id | string | The match id, as in MatchResult.id. | server/matches.ts:6 |
room | string | null | The room it was played in, if the room knew its id. | server/matches.ts:8 |
endedAt | number | When it ended, in epoch milliseconds. | server/matches.ts:10 |
players | string[] | Everyone who held a seat when it ended. | server/matches.ts:12 |
result | Record<string, unknown> | What the room passed to finishMatch. | server/matches.ts:14 |
replayKey | string | null | Where its replay is in R2, if it has one. | server/matches.ts:16 |