UNPKG

ws-dottie

Version:

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

15 lines 976 B
import type { UseQueryResult } from "@tanstack/react-query"; import type { FetchFunctionParams, QueryHookOptions } from "../../types"; import type { CacheFlushDateInput } from "./shared/cacheFlushDate.input"; import type { CacheFlushDateOutput } from "./shared/cacheFlushDate.output"; /** * Fetch function for retrieving cache invalidation timestamp for static vessel data */ export declare const fetchCacheFlushDateVessels: (params?: FetchFunctionParams<CacheFlushDateInput>) => Promise<CacheFlushDateOutput>; /** * React Query hook for retrieving cache invalidation timestamp for static vessel data */ export declare const useCacheFlushDateVessels: (params?: FetchFunctionParams<CacheFlushDateInput>, options?: QueryHookOptions<CacheFlushDateOutput>) => UseQueryResult<CacheFlushDateOutput, Error>; export type CacheFlushDateVesselsInput = CacheFlushDateInput; export type CacheFlushDateVessels = CacheFlushDateOutput; //# sourceMappingURL=cacheFlushDateVessels.d.ts.map