BasicUser
Defined in: v1/schemas.ts:52
A basic user object as returned in search result lists. Name may be null as Teachable does not always populate this field.
Example
Section titled “Example”const user: BasicUser = { id: 123456, email: 'jane@example.com', name: 'Jane Smith',};Extends
Section titled “Extends”output<typeofBasicUserSchema>
Properties
Section titled “Properties”email:
string
Defined in: v1/schemas.ts:36
Inherited from
Section titled “Inherited from”z.infer.email
id:
number
Defined in: v1/schemas.ts:35
Inherited from
Section titled “Inherited from”z.infer.id
optionalname?:string|null
Defined in: v1/schemas.ts:37
Inherited from
Section titled “Inherited from”z.infer.name