mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-13 16:32:09 +00:00
feat: some fixes to the ui, imlemented user and guest user, ans used the dahboard
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user