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

    Variable whatsOnItemSchemaConst

    whatsOnItemSchema: ZodObject<
        {
            event: 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;
                },
            >;
            place: 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;
                },
            >;
        },
        "strip",
        ZodTypeAny,
        {
            event: {
                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;
            };
            place: {
                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;
            };
        },
        {
            event: {
                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;
            };
            place: {
                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;
            };
        },
    > = ...

    One row of the citywide index: an event plus the place it happens at. Every row links back to its place on the map — the list is a second lens on the same data, never a separate model.