UNPKG

ws-dottie

Version:

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

38 lines 948 B
import type { Endpoint } from "@/shared/endpoints"; /** * CLI constants */ export declare const CLI_CONSTANTS: { readonly ISO_DATE_REGEX: RegExp; readonly QUIET_MODES: readonly ["agent", "quiet", "silent"]; readonly DEFAULT_PARAMS: "{}"; }; /** * CLI options interface */ export interface CliOptions { pretty?: boolean; raw?: boolean; agent?: boolean; quiet?: boolean; silent?: boolean; fixDates?: boolean; head?: number; } /** * Type for CLI parameters - represents user input parameters */ export type CliParams = Record<string, unknown>; /** * Type for valid function names */ export type FunctionName = string; /** * Type for any endpoint definition (updated to match new Endpoint structure) */ export type AnyEndpointDefinition = Endpoint<unknown, unknown>; /** * Type for endpoints map */ export type EndpointsMap = Record<string, AnyEndpointDefinition>; //# sourceMappingURL=types.d.ts.map