Appearance
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?
optionalconfirmPassword: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
displayName
displayName:
string
Defined in: types/user.types.ts:342
Inherited from
email
email:
string
Defined in: types/user.types.ts:340
Inherited from
interests?
optionalinterests:string[]
Defined in: types/user.types.ts:348
Initial category slugs for seeding the recommendation engine
Inherited from
parentEmail?
optionalparentEmail:string
Defined in: types/auth.types.ts:35
password
password:
string
Defined in: types/user.types.ts:341
Inherited from
role?
optionalrole:UserRole
Defined in: types/user.types.ts:346
Defaults to 'user' if not provided
Inherited from
schoolCode?
optionalschoolCode:string
Defined in: types/auth.types.ts:36