PeerTube/shared/models/users/user.model.ts

11 lines
177 B
TypeScript

import { UserRole } from './user-role.type'
export interface User {
id: number
username: string
email: string
displayNSFW: boolean
role: UserRole
createdAt: Date
}