Update ApiSchemas.ts

This commit is contained in:
Evan
2026-04-08 09:41:59 -07:00
committed by GitHub
parent d4138a13be
commit cfd99464b4
+1 -1
View File
@@ -197,6 +197,6 @@ export const NewsItemSchema = z.object({
title: z.string(),
description: z.string(),
url: z.string().nullable().optional(),
type: z.enum(["tournament", "tutorial", "announcement"]),
type: z.enum(["tournament", "tutorial", "announcement"]).or(z.string()),
});
export type NewsItem = z.infer<typeof NewsItemSchema>;