Add AccountCookie and UserCookie types
This commit is contained in:
parent
5d274a8336
commit
0c1fc9c1a1
2 changed files with 11 additions and 0 deletions
5
types/AccountCookie.d.ts
vendored
Normal file
5
types/AccountCookie.d.ts
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
interface AccountCookie {
|
||||||
|
userId: string
|
||||||
|
username: string
|
||||||
|
token: string
|
||||||
|
}
|
||||||
6
types/UserCookie.d.ts
vendored
Normal file
6
types/UserCookie.d.ts
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
interface UserCookie {
|
||||||
|
picture: string
|
||||||
|
element: string
|
||||||
|
language: string
|
||||||
|
gender: number
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue