Course
Defined in: v1/schemas.ts:195
A summary course object as returned in paginated list responses.
Uses z.looseObject to allow undocumented fields from the Teachable
API to pass through without causing validation failures.
Extends
Section titled “Extends”output<typeofCourseSchema>
Indexable
Section titled “Indexable”[
key:string]:unknown
Properties
Section titled “Properties”description?
Section titled “description?”
optionaldescription?:string|null
Defined in: v1/schemas.ts:185
Inherited from
Section titled “Inherited from”z.infer.description
heading?
Section titled “heading?”
optionalheading?:string|null
Defined in: v1/schemas.ts:184
Inherited from
Section titled “Inherited from”z.infer.heading
id:
number
Defined in: v1/schemas.ts:182
Inherited from
Section titled “Inherited from”z.infer.id
image_url?
Section titled “image_url?”
optionalimage_url?:string|null
Defined in: v1/schemas.ts:187
Inherited from
Section titled “Inherited from”z.infer.image_url
is_published?
Section titled “is_published?”
optionalis_published?:boolean|null
Defined in: v1/schemas.ts:186
Inherited from
Section titled “Inherited from”z.infer.is_published
optionalname?:string|null
Defined in: v1/schemas.ts:183
Inherited from
Section titled “Inherited from”z.infer.name