Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/schemas/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const ExerciseTranslationSchema = z.object({
license: z.number().int().positive(),
license_title: z.string(),
license_object_url: z.string(),
license_author: z.string(),
license_author: z.string().nullable(),
license_author_url: z.string(),
license_derivative_source_url: z.string(),
author_history: z.array(z.string()),
Expand Down
4 changes: 2 additions & 2 deletions src/types/wger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface ExerciseTranslation {
/** License object URL */
license_object_url: string;
/** Author of the license */
license_author: string;
license_author: string | null;
/** Author URL */
license_author_url: string;
/** Derivative source URL */
Expand Down Expand Up @@ -111,7 +111,7 @@ export interface Exercise {
/** License object */
license: License;
/** Author of the exercise content */
license_author: string;
license_author: string | null;
/** Array of image objects */
images: unknown[];
/** Array of translation objects with name and description in multiple languages */
Expand Down
Loading