Chocobozzz/PeerTube

View on GitHub
packages/models/src/users/registration/user-registration.model.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { UserRegistrationStateType } from './user-registration-state.model.js'

export interface UserRegistration {
  id: number

  state: {
    id: UserRegistrationStateType
    label: string
  }

  registrationReason: string
  moderationResponse: string

  username: string
  email: string
  emailVerified: boolean

  accountDisplayName: string

  channelHandle: string
  channelDisplayName: string

  createdAt: Date
  updatedAt: Date

  user?: {
    id: number
  }
}