1
0
Fork 0
peertube/shared/models/user.model.ts
2017-06-16 10:36:18 +02:00

10 lines
173 B
TypeScript

export type UserRole = 'admin' | 'user'
export interface User {
id: number
username: string
email: string
displayNSFW: boolean
role: UserRole
createdAt: Date
}