UNPKG

ws-dottie

Version:

Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration

116 lines (112 loc) 3.96 kB
import { z } from 'zod'; export { R as RoadwayLocation } from '../../roadwayLocationSchema-ByZokQ0d.js'; declare const highwayCamerasInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type HighwayCamerasInput = z.infer<typeof highwayCamerasInputSchema>; declare const highwayCamerasByRouteAndMilepostInputSchema: z.ZodObject<{ StateRoute: z.ZodOptional<z.ZodString>; Region: z.ZodOptional<z.ZodString>; StartingMilepost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; EndingMilepost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { StateRoute?: string | undefined; Region?: string | undefined; StartingMilepost?: number | null | undefined; EndingMilepost?: number | null | undefined; }, { StateRoute?: string | undefined; Region?: string | undefined; StartingMilepost?: number | null | undefined; EndingMilepost?: number | null | undefined; }>; type HighwayCamerasByRouteAndMilepostInput = z.infer<typeof highwayCamerasByRouteAndMilepostInputSchema>; declare const highwayCameraByCameraIdInputSchema: z.ZodObject<{ CameraID: z.ZodNumber; }, "strip", z.ZodTypeAny, { CameraID: number; }, { CameraID: number; }>; type HighwayCameraByCameraIdInput = z.infer<typeof highwayCameraByCameraIdInputSchema>; declare const cameraSchema: z.ZodObject<{ CameraID: z.ZodNumber; CameraLocation: z.ZodNullable<z.ZodObject<{ Description: z.ZodNullable<z.ZodString>; Direction: z.ZodNullable<z.ZodString>; Latitude: z.ZodNumber; Longitude: z.ZodNumber; MilePost: z.ZodNumber; RoadName: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { Description: string | null; Direction: string | null; Latitude: number; Longitude: number; MilePost: number; RoadName: string | null; }, { Description: string | null; Direction: string | null; Latitude: number; Longitude: number; MilePost: number; RoadName: string | null; }>>; CameraOwner: z.ZodNullable<z.ZodString>; Description: z.ZodNullable<z.ZodString>; DisplayLatitude: z.ZodNumber; DisplayLongitude: z.ZodNumber; ImageHeight: z.ZodNumber; ImageURL: z.ZodNullable<z.ZodString>; ImageWidth: z.ZodNumber; IsActive: z.ZodBoolean; OwnerURL: z.ZodNullable<z.ZodString>; Region: z.ZodNullable<z.ZodString>; SortOrder: z.ZodNumber; Title: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { Description: string | null; Region: string | null; CameraID: number; CameraLocation: { Description: string | null; Direction: string | null; Latitude: number; Longitude: number; MilePost: number; RoadName: string | null; } | null; CameraOwner: string | null; DisplayLatitude: number; DisplayLongitude: number; ImageHeight: number; ImageURL: string | null; ImageWidth: number; IsActive: boolean; OwnerURL: string | null; SortOrder: number; Title: string | null; }, { Description: string | null; Region: string | null; CameraID: number; CameraLocation: { Description: string | null; Direction: string | null; Latitude: number; Longitude: number; MilePost: number; RoadName: string | null; } | null; CameraOwner: string | null; DisplayLatitude: number; DisplayLongitude: number; ImageHeight: number; ImageURL: string | null; ImageWidth: number; IsActive: boolean; OwnerURL: string | null; SortOrder: number; Title: string | null; }>; type Camera = z.infer<typeof cameraSchema>; export { type Camera, type HighwayCameraByCameraIdInput, type HighwayCamerasByRouteAndMilepostInput, type HighwayCamerasInput, cameraSchema, highwayCameraByCameraIdInputSchema, highwayCamerasByRouteAndMilepostInputSchema, highwayCamerasInputSchema };