Variable placeSchemaConst
placeSchema: ZodObject<
{
id: ZodString;
name: ZodString;
description: ZodNullable<ZodString>;
category: ZodEnum<
[
"park",
"library",
"clinic",
"museum",
"townhall",
"community_center",
"education",
"theater",
"sports",
"cultural_center",
"other",
],
>;
source: ZodEnum<["osm", "event-venue"]>;
osmType: ZodNullable<ZodString>;
osmId: ZodNullable<ZodString>;
isManualPin: ZodBoolean;
address: ZodNullable<ZodString>;
city: ZodString;
coordinates: ZodObject<
{ lat: ZodNumber; lng: ZodNumber },
"strip",
ZodTypeAny,
{ lat: number; lng: number },
{ lat: number; lng: number },
>;
website: ZodNullable<ZodString>;
phone: ZodNullable<ZodString>;
openingHours: ZodNullable<ZodString>;
createdAt: ZodString;
updatedAt: ZodString;
upcomingEventCount: ZodOptional<ZodNumber>;
},
"strip",
ZodTypeAny,
{
id: string;
name: string;
description: string
| null;
category:
| "park"
| "library"
| "clinic"
| "museum"
| "townhall"
| "community_center"
| "education"
| "theater"
| "sports"
| "cultural_center"
| "other";
source: "osm"
| "event-venue";
osmType: string | null;
osmId: string | null;
isManualPin: boolean;
address: string | null;
city: string;
coordinates: { lat: number; lng: number };
website: string | null;
phone: string | null;
openingHours: string | null;
createdAt: string;
updatedAt: string;
upcomingEventCount?: number;
},
{
id: string;
name: string;
description: string
| null;
category:
| "park"
| "library"
| "clinic"
| "museum"
| "townhall"
| "community_center"
| "education"
| "theater"
| "sports"
| "cultural_center"
| "other";
source: "osm"
| "event-venue";
osmType: string | null;
osmId: string | null;
isManualPin: boolean;
address: string | null;
city: string;
coordinates: { lat: number; lng: number };
website: string | null;
phone: string | null;
openingHours: string | null;
createdAt: string;
updatedAt: string;
upcomingEventCount?: number;
},
> = ...