Skip to content

Course

Defined in: v1/schemas.ts:203

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.

  • output<typeof CourseSchema>

[key: string]: unknown

optional description?: string | null

Defined in: v1/schemas.ts:193

z.infer.description


optional heading?: string | null

Defined in: v1/schemas.ts:192

z.infer.heading


id: number

Defined in: v1/schemas.ts:190

z.infer.id


optional image_url?: string | null

Defined in: v1/schemas.ts:195

z.infer.image_url


optional is_published?: boolean | null

Defined in: v1/schemas.ts:194

z.infer.is_published


optional name?: string | null

Defined in: v1/schemas.ts:191

z.infer.name