Skip to content

Interface: MatchRecord ​

Defined in: server/matches.ts:4

A finished match as stored in D1.

Properties ​

PropertyTypeDescriptionDefined in
idstringThe match id, as in MatchResult.id.server/matches.ts:6
roomstring | nullThe room it was played in, if the room knew its id.server/matches.ts:8
endedAtnumberWhen it ended, in epoch milliseconds.server/matches.ts:10
playersstring[]Everyone who held a seat when it ended.server/matches.ts:12
resultRecord<string, unknown>What the room passed to finishMatch.server/matches.ts:14
replayKeystring | nullWhere its replay is in R2, if it has one.server/matches.ts:16

MIT licence. Tickflare is an independent project and is not affiliated with Cloudflare.