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 • 802 B
JavaScript
import { z } from "zod";
import { vesselVerboseSchema, } from "@/schemas/wsf-vessels/vesselVerbose.zod";
/** Input schema for getVesselVerboseById */
const vesselsVerboseByIdInput = 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 getVesselVerboseById */
export const getVesselsVerboseByIdMeta = {
id: "wsf-vessels/vesselsVerboseById",
endpoint: "/ferries/api/vessels/rest/vesselverbose/{vesselId}",
inputSchema: vesselsVerboseByIdInput,
outputSchema: vesselVerboseSchema,
sampleParams: { vesselId: 1 },
cacheStrategy: "STATIC",
};
//# sourceMappingURL=vesselsVerboseById.js.map