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

    Variable whatsOnQuerySchemaConst

    whatsOnQuerySchema: ZodObject<
        {
            city: ZodOptional<ZodString>;
            category: ZodOptional<ZodString>;
            lens: ZodDefault<ZodEnum<["today", "weekend", "all"]>>;
            page: ZodDefault<ZodNumber>;
            pageSize: ZodDefault<ZodNumber>;
        },
        "strip",
        ZodTypeAny,
        {
            city?: string;
            category?: string;
            lens: "today"
            | "weekend"
            | "all";
            page: number;
            pageSize: number;
        },
        {
            city?: string;
            category?: string;
            lens?: "today"
            | "weekend"
            | "all";
            page?: number;
            pageSize?: number;
        },
    > = ...

    Query for GET /api/whats-on — the citywide, date-first lens on the same data the map shows. Honours the same filters as the map so the two surfaces can never disagree.