update type definition
This commit is contained in:
parent
54fda11cb4
commit
9c5945235c
|
|
@ -11,20 +11,21 @@ use Lorisleiva\LaravelSearchString\Concerns\SearchString;
|
|||
use Tymon\JWTAuth\Contracts\JWTSubject;
|
||||
|
||||
/**
|
||||
* @property int $uid
|
||||
* @property string $email
|
||||
* @property string $password
|
||||
* @property string $nickname
|
||||
* @property int $avatar
|
||||
* @property int $score
|
||||
* @property int $permission
|
||||
* @property string $ip
|
||||
* @property string $last_sign_at
|
||||
* @property string $register_at
|
||||
* @property bool $verified
|
||||
* @property string $player_name
|
||||
* @property Collection $players
|
||||
* @property Collection $closet
|
||||
* @property int $uid
|
||||
* @property string $email
|
||||
* @property string $password
|
||||
* @property string $nickname
|
||||
* @property string|null $locale
|
||||
* @property int $avatar
|
||||
* @property int $score
|
||||
* @property int $permission
|
||||
* @property string $ip
|
||||
* @property string $last_sign_at
|
||||
* @property string $register_at
|
||||
* @property bool $verified
|
||||
* @property string $player_name
|
||||
* @property Collection $players
|
||||
* @property Collection $closet
|
||||
*/
|
||||
class User extends Authenticatable implements JWTSubject
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ export type User = {
|
|||
uid: number
|
||||
email: string
|
||||
nickname: string
|
||||
user: string | null
|
||||
score: number
|
||||
avatar: number
|
||||
permission: UserPermission
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user