UNPKG

ws-dottie

Version:

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

20 lines 874 B
import { z } from "zod"; import { vesselAccommodationsSchema, } from "@/schemas/wsf-vessels/vesselAccommodations.zod"; /** Input schema for getVesselAccommodationsById */ const vesselAccommodationsByIdInput = z.object({ vesselId: z .number() .int() .positive() .describe("Positive integer identifier for vessel. Must be greater than 0. Used to uniquely identify records in the API system."), }); /** Endpoint metadata for getVesselAccommodationsById */ export const getVesselAccommodationsByIdMeta = { id: "wsf-vessels/vesselAccommodationsById", endpoint: "/ferries/api/vessels/rest/vesselaccommodations/{vesselId}", inputSchema: vesselAccommodationsByIdInput, outputSchema: vesselAccommodationsSchema, sampleParams: { vesselId: 1 }, cacheStrategy: "STATIC", }; //# sourceMappingURL=vesselAccommodationsById.js.map