diff --git a/src/config/types.ts b/src/config/types.ts index d5b9faaa..1d7799dc 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -102,7 +102,7 @@ export const ApiBookSchema = z.object({ rating: z.string(), region: RegionSchema, releaseDate: z.date(), - runtimeLengthMin: z.number().or(z.literal(0)), + runtimeLengthMin: z.number().default(0), seriesPrimary: ApiSeriesSchema.optional(), seriesSecondary: ApiSeriesSchema.optional(), subtitle: z.string().optional(),