UNPKG

ws-dottie

Version:

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

1 lines 2 kB
{"version":3,"sources":["../src/shared/index.ts","../src/index.ts"],"names":["init_utils","init_fetching"],"mappings":"oNAYAA,CAAAA,EAAAA,CCaAC,CAAAA,EAAAA","file":"index.mjs","sourcesContent":["/**\n * @fileoverview Shared Utilities and Configurations for WS-Dottie\n *\n * This module serves as the central export point for essential shared functionality\n * used by consumers of the WS-Dottie API library.\n */\n\n// ============================================================================\n// DATE UTILITIES\n// ============================================================================\n\n// Date utilities for handling .NET datetime formats\nexport {\n configManager,\n datesHelper,\n jsDateToYyyyMmDd,\n} from \"./utils\";\n\n// ============================================================================\n// ERROR TYPES\n// ============================================================================\n\n// Error handling types for consumers\nexport type {\n ApiError,\n ErrorContext,\n} from \"./fetching\";\n","/**\n * WS-Dottie - Washington State Transportation APIs\n *\n * A comprehensive TypeScript library for accessing Washington State Department of\n * Transportation (WSDOT) and Washington State Ferries (WSF) APIs with built-in\n * validation, caching, and type safety.\n *\n * This library provides:\n * - Type-safe API clients for all WSDOT and WSF endpoints\n * - Automatic data validation using Zod schemas\n * - Smart caching strategies optimized for transportation data\n * - React hooks for seamless integration\n * - CLI interface for command-line usage\n */\n\n// ============================================================================\n// ESSENTIAL SHARED UTILITIES\n// ============================================================================\n\nexport type { ApiError, ErrorContext } from \"./shared\";\nexport {\n configManager,\n datesHelper,\n jsDateToYyyyMmDd,\n} from \"./shared\";\nexport { fetchDottie } from \"./shared/fetching\";\n"]}