Better typescript typing for a better world
This commit is contained in:
parent
7a214f746b
commit
4771e0008d
59 changed files with 400 additions and 166 deletions
10
shared/models/users/user.model.ts
Normal file
10
shared/models/users/user.model.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { UserRole } from './user-role.type'
|
||||
|
||||
export interface User {
|
||||
id: number
|
||||
username: string
|
||||
email: string
|
||||
displayNSFW: boolean
|
||||
role: UserRole
|
||||
createdAt: Date
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue