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;
|
use Tymon\JWTAuth\Contracts\JWTSubject;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @property int $uid
|
* @property int $uid
|
||||||
* @property string $email
|
* @property string $email
|
||||||
* @property string $password
|
* @property string $password
|
||||||
* @property string $nickname
|
* @property string $nickname
|
||||||
* @property int $avatar
|
* @property string|null $locale
|
||||||
* @property int $score
|
* @property int $avatar
|
||||||
* @property int $permission
|
* @property int $score
|
||||||
* @property string $ip
|
* @property int $permission
|
||||||
* @property string $last_sign_at
|
* @property string $ip
|
||||||
* @property string $register_at
|
* @property string $last_sign_at
|
||||||
* @property bool $verified
|
* @property string $register_at
|
||||||
* @property string $player_name
|
* @property bool $verified
|
||||||
* @property Collection $players
|
* @property string $player_name
|
||||||
* @property Collection $closet
|
* @property Collection $players
|
||||||
|
* @property Collection $closet
|
||||||
*/
|
*/
|
||||||
class User extends Authenticatable implements JWTSubject
|
class User extends Authenticatable implements JWTSubject
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ export type User = {
|
||||||
uid: number
|
uid: number
|
||||||
email: string
|
email: string
|
||||||
nickname: string
|
nickname: string
|
||||||
|
user: string | null
|
||||||
score: number
|
score: number
|
||||||
avatar: number
|
avatar: number
|
||||||
permission: UserPermission
|
permission: UserPermission
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user