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 • 784 B
TypeScript
import type { Endpoint, FetchStrategy, LoggingMode } from "../types";
/**
* Parameters for the fetchDottie function
*
* @template TInput - The input parameters type
* @template TOutput - The output response type
*/
export interface FetchDottieParams<TInput = never, TOutput = unknown> {
/** Complete endpoint object containing configuration and schemas */
endpoint: Endpoint<TInput, TOutput>;
/** Optional input parameters */
params?: TInput;
/** Fetch strategy - how to fetch the data (default: "native") */
fetchMode?: FetchStrategy;
/** Logging verbosity level (default: "none") */
logMode?: LoggingMode;
/** Whether to validate input/output with Zod schemas (default: false) */
validate?: boolean;
}
//# sourceMappingURL=types.d.ts.map