Reference · Draw a bracket, a table or a road to the final
RankingMeetingtype
One previous meeting of the two athletes.
Import it
import type { RankingMeeting } from "@johnmorrisdotca/taisen-brackets";
Definition
interface RankingMeeting {
date?: string;
event?: string;
round?: string;
winner?: 0 | 1 | null;
result?: string;
}
Members
| Name | Type | Description |
|---|---|---|
date (optional) | string | undefined | The date, as an ISO date ( |
event (optional) | string | undefined | The event ("Provincial Championships") and the round ("Final", "Semi-final"). |
round (optional) | string | undefined | |
winner (optional) | 0 | 1 | null | undefined | Who won: |
result (optional) | string | undefined | How it ended, as it is to be written ("ippon · 1:12", "7–2"). |
Examples
import { matchupRecord, type RankingMeeting } from "@johnmorrisdotca/taisen-brackets";
const meetings: RankingMeeting[] = [
{ date: "2026-09-13", event: "Fall Open", round: "Semi-final", winner: 0, result: "ippon · 2:11" },
{ date: "2026-05-17", event: "Spring Classic", round: "Final", winner: 1, result: "waza-ari · golden score" },
];
console.log(matchupRecord(meetings));[ 1, 1 ]What it prints (run when this page was built)