Skip to content

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.

  • output<typeof CourseSchema>

[key: string]: unknown

optional description?: string | null

Defined in: v1/schemas.ts:185

z.infer.description


optional heading?: string | null

Defined in: v1/schemas.ts:184

z.infer.heading


id: number

Defined in: v1/schemas.ts:182

z.infer.id


optional image_url?: string | null

Defined in: v1/schemas.ts:187

z.infer.image_url


optional is_published?: boolean | null

Defined in: v1/schemas.ts:186

z.infer.is_published


optional name?: string | null

Defined in: v1/schemas.ts:183

z.infer.name