aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/user.model.ts
blob: 92dc73ec2a2fb35f5c3f38e43013aefbdf6fdfcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
export type UserRole = 'admin' | 'user'

export interface User {
  id: number
  username: string
  email: string
  displayNSFW: boolean
  role: UserRole
  createdAt: Date
}