From 5f4f717872a24bca5f9183922ed1d114c82556d4 Mon Sep 17 00:00:00 2001 From: Michal Date: Mon, 11 May 2026 09:25:21 +0200 Subject: [PATCH 1/3] feat: add missing user_rating --- .../users/schema/response/socialActivityResponseSchema.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/api/src/contracts/users/schema/response/socialActivityResponseSchema.ts b/projects/api/src/contracts/users/schema/response/socialActivityResponseSchema.ts index 6c5d30d3..d4d86042 100644 --- a/projects/api/src/contracts/users/schema/response/socialActivityResponseSchema.ts +++ b/projects/api/src/contracts/users/schema/response/socialActivityResponseSchema.ts @@ -9,6 +9,7 @@ const activitySchema = z.object({ activity_at: z.string().datetime(), action: asString(z.enum(['scrobble', 'watch', 'checkin'])), user: profileResponseSchema, + user_rating: z.number().int().nullish(), }); const socialEpisodeResponseSchema = z.object({ From 155c49b75c560b0b5cab39077bc58c1fbb302f77 Mon Sep 17 00:00:00 2001 From: Michal Date: Mon, 11 May 2026 09:49:34 +0200 Subject: [PATCH 2/3] feat: add nullish episode_count --- .../people/schema/response/peopleShowCreditsResponseSchema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/api/src/contracts/people/schema/response/peopleShowCreditsResponseSchema.ts b/projects/api/src/contracts/people/schema/response/peopleShowCreditsResponseSchema.ts index a6185579..f07d3249 100644 --- a/projects/api/src/contracts/people/schema/response/peopleShowCreditsResponseSchema.ts +++ b/projects/api/src/contracts/people/schema/response/peopleShowCreditsResponseSchema.ts @@ -8,7 +8,7 @@ export const peopleShowCreditsResponseSchema = z.object({ cast: z.array( z.object({ show: showResponseSchema, - episode_count: z.number().int(), + episode_count: z.number().int().nullish(), series_regular: z.boolean(), }).merge(characterResponseSchema), ).nullish(), @@ -17,7 +17,7 @@ export const peopleShowCreditsResponseSchema = z.object({ z.array( z.object({ show: showResponseSchema, - episode_count: z.number().int(), + episode_count: z.number().int().nullish(), }).merge(jobsResponseSchema), ), ).nullish(), From a97752c1c709ce39ce95d21f87e4e53fade89dce Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 13 May 2026 11:12:03 +0200 Subject: [PATCH 3/3] fix: nullish translation country --- .../contracts/_internal/response/translationResponseSchema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/api/src/contracts/_internal/response/translationResponseSchema.ts b/projects/api/src/contracts/_internal/response/translationResponseSchema.ts index 40d2c8cb..ba234262 100644 --- a/projects/api/src/contracts/_internal/response/translationResponseSchema.ts +++ b/projects/api/src/contracts/_internal/response/translationResponseSchema.ts @@ -6,6 +6,6 @@ export const translationResponseSchema = z.array( overview: z.string().nullish(), tagline: z.string().nullish(), language: z.string(), - country: z.string(), + country: z.string().nullish(), }), );