UNPKG

nimbus-weather-cli

Version:

Get instant weather forecasts and AI-powered insights from your terminal using natural language queries.

14 lines 535 B
import { z } from "zod"; export const WeatherIntentSchema = z.object({ cities: z.array(z.string()).min(1, "At least one city is required"), date: z.object({ kind: z.enum(["today", "tomorrow", "range"]), days: z.number().optional(), weekend: z.boolean().optional(), }), units: z.enum(["metric", "imperial"]).default("metric"), extras: z.array(z.string()).optional(), useIpLocation: z.boolean().default(false), compare: z.boolean().default(false), }); //# sourceMappingURL=index.js.map