Skip to content

DoCurious API Reference / types / RegisterData

Interface: RegisterData ​

Defined in: types/auth.types.ts:30

Registration request data

Extends ​

Properties ​

acceptTerms ​

acceptTerms: boolean

Defined in: types/auth.types.ts:32


confirmPassword? ​

optional confirmPassword: string

Defined in: types/auth.types.ts:31


dateOfBirth ​

dateOfBirth: string

Defined in: types/user.types.ts:344

ISO 8601 date string -- used to determine COPPA status at registration

Inherited from ​

CreateUserData.dateOfBirth


displayName ​

displayName: string

Defined in: types/user.types.ts:342

Inherited from ​

CreateUserData.displayName


email ​

email: string

Defined in: types/user.types.ts:340

Inherited from ​

CreateUserData.email


interests? ​

optional interests: string[]

Defined in: types/user.types.ts:348

Initial category slugs for seeding the recommendation engine

Inherited from ​

CreateUserData.interests


parentEmail? ​

optional parentEmail: string

Defined in: types/auth.types.ts:35


password ​

password: string

Defined in: types/user.types.ts:341

Inherited from ​

CreateUserData.password


role? ​

optional role: UserRole

Defined in: types/user.types.ts:346

Defaults to 'user' if not provided

Inherited from ​

CreateUserData.role


schoolCode? ​

optional schoolCode: string

Defined in: types/auth.types.ts:36

DoCurious Platform Documentation