Variable eventSchemaConst
eventSchema: ZodObject<
{
id: ZodString;
placeId: ZodString;
title: ZodString;
description: ZodNullable<ZodString>;
category: ZodEnum<
[
"concert",
"theater",
"sport",
"community",
"festival",
"exhibition",
"workshop",
"other",
],
>;
status: ZodEnum<["live", "stale", "ended", "past"]>;
startDate: ZodString;
endDate: ZodNullable<ZodString>;
buyUrl: ZodNullable<ZodString>;
sourceUrl: ZodNullable<ZodString>;
sourcePlatform: ZodNullable<ZodString>;
imageUrl: ZodNullable<ZodString>;
price: ZodNullable<ZodNumber>;
currency: ZodNullable<ZodString>;
createdAt: ZodString;
updatedAt: ZodString;
},
"strip",
ZodTypeAny,
{
id: string;
placeId: string;
title: string;
description: string
| null;
category:
| "theater"
| "other"
| "concert"
| "sport"
| "community"
| "festival"
| "exhibition"
| "workshop";
status: "live"
| "stale"
| "ended"
| "past";
startDate: string;
endDate: string | null;
buyUrl: string | null;
sourceUrl: string | null;
sourcePlatform: string | null;
imageUrl: string | null;
price: number | null;
currency: string | null;
createdAt: string;
updatedAt: string;
},
{
id: string;
placeId: string;
title: string;
description: string
| null;
category:
| "theater"
| "other"
| "concert"
| "sport"
| "community"
| "festival"
| "exhibition"
| "workshop";
status: "live"
| "stale"
| "ended"
| "past";
startDate: string;
endDate: string | null;
buyUrl: string | null;
sourceUrl: string | null;
sourcePlatform: string | null;
imageUrl: string | null;
price: number | null;
currency: string | null;
createdAt: string;
updatedAt: string;
},
> = ...