Skip to content

Commit

Permalink
fix(frontend): modify media source type in more places
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpomerenke committed Oct 20, 2024
1 parent 27928f9 commit 53f2000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend-nextjs/src/utility/eventMediaUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { today } from "./today";
import { formatZodError } from "./zodUtil";

export const eventMediaInputQueryZodSchema = z.object({
mediaSource: z.enum(["news_online", "news_print", "web_google"]),
mediaSource: z.enum(["news_online", "news_print", "social_tiktok", "web_google"]),
from: z.date().optional(),
to: z.date().optional(),
eventId: z.string(),
Expand All @@ -22,7 +22,7 @@ export type EventMediaInputQueryType = z.infer<
>;

const eventMediaOutputQueryZodSchema = z.object({
media_source: z.enum(["news_online", "news_print", "web_google"]),
media_source: z.enum(["news_online", "news_print", "social_tiktok", "web_google"]),
start_date: z.string().optional(),
end_date: z.string().optional(),
event_id: z.string(),
Expand Down

0 comments on commit 53f2000

Please sign in to comment.