@prm/shared — Zod schemas and derived types
    Preparing search index...

    Variable whatsOnPlaceSchemaConst

    whatsOnPlaceSchema: ZodObject<
        {
            id: ZodString;
            name: ZodString;
            category: ZodEnum<
                [
                    "park",
                    "library",
                    "clinic",
                    "museum",
                    "townhall",
                    "community_center",
                    "education",
                    "theater",
                    "sports",
                    "cultural_center",
                    "other",
                ],
            >;
            address: ZodNullable<ZodString>;
            city: ZodString;
            coordinates: ZodObject<
                { lat: ZodNumber; lng: ZodNumber },
                "strip",
                ZodTypeAny,
                { lat: number; lng: number },
                { lat: number; lng: number },
            >;
            listed: ZodOptional<ZodLiteral<false>>;
        },
        "strip",
        ZodTypeAny,
        {
            id: string;
            name: string;
            category: | "park"
            | "library"
            | "clinic"
            | "museum"
            | "townhall"
            | "community_center"
            | "education"
            | "theater"
            | "sports"
            | "cultural_center"
            | "other";
            address: string
            | null;
            city: string;
            coordinates: { lat: number; lng: number };
            listed?: false;
        },
        {
            id: string;
            name: string;
            category: | "park"
            | "library"
            | "clinic"
            | "museum"
            | "townhall"
            | "community_center"
            | "education"
            | "theater"
            | "sports"
            | "cultural_center"
            | "other";
            address: string
            | null;
            city: string;
            coordinates: { lat: number; lng: number };
            listed?: false;
        },
    > = ...

    The slice of a place a what's-on row needs to render and to link back to the map. Deliberately not the full Place — the list is date-first, and sending opening hours and OSM ids for every row would be waste.