aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/models/src/users/registration/user-registration.model.ts
blob: 0d01add36de9bfcbe5f4917af688e080309cfec6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
  }
}