mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
parent
9d8402e4ce
commit
fb18bbe7a4
|
|
@ -64,6 +64,7 @@ export const loader = async ({ params, request }: LoaderFunctionArgs) => {
|
|||
points: null,
|
||||
})),
|
||||
teamAlpha: {
|
||||
id: match.groupAlpha.id,
|
||||
score: score[0],
|
||||
players: match.groupAlpha.members.map((member) => ({
|
||||
userId: member.id,
|
||||
|
|
@ -71,6 +72,7 @@ export const loader = async ({ params, request }: LoaderFunctionArgs) => {
|
|||
})),
|
||||
},
|
||||
teamBravo: {
|
||||
id: match.groupBravo.id,
|
||||
score: score[1],
|
||||
players: match.groupBravo.members.map((member) => ({
|
||||
userId: member.id,
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ export interface GetSendouqMatchResponse {
|
|||
}
|
||||
|
||||
type SendouqMatchTeam = {
|
||||
id: number;
|
||||
score: number;
|
||||
players: Array<SendouqMatchPlayer>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user