fixed login and logout and started on player screen

This commit is contained in:
2026-06-30 17:11:37 +01:00
parent 201821d53c
commit c5473fec5c
18 changed files with 205 additions and 41 deletions

View File

@@ -127,6 +127,11 @@ export async function getAllBrackets() {
};
}
export async function getPlayerInfo(playerId: number) {
const playerInfo = await db.select().from(schema.players).where(eq(schema.players.id), playerId);
return playerInfo;
}
export async function getResultPreset(presetId?: number) {
const resultPresets = await db
.select()