feat: some fixes to the ui, imlemented user and guest user, ans used the dahboard

This commit is contained in:
2026-08-16 16:24:25 +02:00
parent 4639baa9ae
commit 50e9fbd0b0
37 changed files with 1657 additions and 194 deletions
+8
View File
@@ -49,13 +49,21 @@ class User extends Authenticatable implements PasskeyUser
];
}
/** @return HasMany<Player, $this> */
public function players(): HasMany
{
return $this->hasMany(Player::class);
}
/** @return HasMany<Deck, $this> */
public function decks(): HasMany
{
return $this->hasMany(Deck::class);
}
/** @return HasMany<Room, $this> */
public function ownedRooms(): HasMany
{
return $this->hasMany(Room::class, 'owner_id');
}
}