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 • 5.38 kB
Source Map (JSON)
{"version":3,"sources":["../src/apis/wsf-vessels/cacheFlushDate/cacheFlushDateVessels.ts","../src/apis/wsf-vessels/core.ts"],"names":["init_factories","init_apiMeta","init_cacheFlushDate_endpoints","cacheFlushDateVesselsFactory","createFetchAndHook","wsfVesselsApiMeta","cacheFlushDateVesselsMeta","o","r","f","fetchCacheFlushDateVessels","useCacheFlushDateVessels","init_cacheFlushDate_input","init_cacheFlushDate_output","init_vesselAccommodations_input","init_vesselAccommodations_output","init_vesselAccommodations","init_vesselAccommodationsByVesselId","init_vesselBasics_input","init_vesselBasics_output","init_vesselBasics","init_vesselBasicsByVesselId","init_vesselHistories_input","init_vesselHistories_output","init_vesselHistories","init_vesselHistoriesByVesselNameAndDateRange","init_vesselLocations_input","init_vesselLocations_output","init_vesselLocations","init_vesselLocationsByVesselId","init_vesselStats_input","init_vesselStats_output","init_vesselStats","init_vesselStatsByVesselId","init_vesselVerbose_input","init_vesselVerbose_output","init_vesselsVerbose","init_vesselsVerboseById"],"mappings":"sRAAAA,GAAAA,EAAAA,CACAC,CAAAA,EAAAA,CACAC,IAOA,IAAMC,CAAAA,CAA+BC,EAGnC,CACA,GAAA,CAAKC,EACL,QAAA,CAAUC,CAAAA,CACV,iBAAkB,IAChB,CAAAC,CAAA,EAAA,CAAAC,CAAA,CAAAC,GAAA,CAAA,EAA6C,0BACjD,CAAC,CAAA,CAKY,CACX,KAAA,CAAOC,CAAAA,CACP,IAAA,CAAMC,CACR,CAAA,CAAIR,ECZJS,MACAC,CAAAA,EAAAA,CACAC,CAAAA,EAAAA,CACAC,MAEAC,GAAAA,EAAAA,CACAC,GAAAA,EAAAA,CACAC,MACAC,CAAAA,EAAAA,CAEAC,CAAAA,EAAAA,CACAC,CAAAA,EAAAA,CACAC,GAAAA,EAAAA,CACAC,GAAAA,EAAAA,CAEAC,GAAAA,EAAAA,CACAC,IACAC,CAAAA,EAAAA,CACAC,CAAAA,EAAAA,CAEAC,IACAC,CAAAA,EAAAA,CACAC,CAAAA,EAAAA,CACAC,IAEAC,CAAAA,EAAAA,CACAC,CAAAA,EAAAA,CACAC,CAAAA,EAAAA,CACAC,CAAAA,EAAAA,CAEAC,CAAAA,EAAAA,CACAC,CAAAA,EAAAA","file":"chunk-EBTSFCVG.mjs","sourcesContent":["import { createFetchAndHook } from \"@/shared/factories\";\nimport { wsfVesselsApiMeta } from \"../apiMeta\";\nimport { cacheFlushDateVesselsMeta } from \"./shared/cacheFlushDate.endpoints\";\nimport type { CacheFlushDateInput } from \"./shared/cacheFlushDate.input\";\nimport type { CacheFlushDateOutput } from \"./shared/cacheFlushDate.output\";\n\n/**\n * Factory result for cache flush date vessels\n */\nconst cacheFlushDateVesselsFactory = createFetchAndHook<\n CacheFlushDateInput,\n CacheFlushDateOutput\n>({\n api: wsfVesselsApiMeta,\n endpoint: cacheFlushDateVesselsMeta,\n getEndpointGroup: () =>\n require(\"./shared/cacheFlushDate.endpoints\").cacheFlushDateVesselsGroup,\n});\n\n/**\n * Fetch function and React Query hook for retrieving cache invalidation timestamp for static vessel data\n */\nexport const {\n fetch: fetchCacheFlushDateVessels,\n hook: useCacheFlushDateVessels,\n} = cacheFlushDateVesselsFactory;\n","/**\n * @fileoverview wsf-vessels API - Core fetch functions and types only\n *\n * This module provides exports for fetch functions and types only (no React hooks).\n * Use this for backend/server-side code to avoid React Query dependencies.\n */\n\n// Cache Flush Date\nexport type {\n CacheFlushDateInput as CacheFlushDateVesselsInput,\n CacheFlushDateOutput as CacheFlushDateVessels,\n} from \"@/apis/shared/cacheFlushDate\";\nexport { fetchCacheFlushDateVessels } from \"./cacheFlushDate/cacheFlushDateVessels\";\nexport * from \"./cacheFlushDate/shared/cacheFlushDate.input\";\nexport * from \"./cacheFlushDate/shared/cacheFlushDate.output\";\nexport * from \"./vesselAccommodations/shared/vesselAccommodations.input\";\nexport * from \"./vesselAccommodations/shared/vesselAccommodations.output\";\n// Vessel Accommodations\nexport { fetchVesselAccommodations } from \"./vesselAccommodations/vesselAccommodations\";\nexport { fetchVesselAccommodationsByVesselId } from \"./vesselAccommodations/vesselAccommodationsByVesselId\";\nexport * from \"./vesselBasics/shared/vesselBasics.input\";\nexport * from \"./vesselBasics/shared/vesselBasics.output\";\n// Vessel Basics\nexport { fetchVesselBasics } from \"./vesselBasics/vesselBasics\";\nexport { fetchVesselBasicsByVesselId } from \"./vesselBasics/vesselBasicsByVesselId\";\nexport * from \"./vesselHistories/shared/vesselHistories.input\";\nexport * from \"./vesselHistories/shared/vesselHistories.output\";\n// Vessel Histories\nexport { fetchVesselHistories } from \"./vesselHistories/vesselHistories\";\nexport { fetchVesselHistoriesByVesselNameAndDateRange } from \"./vesselHistories/vesselHistoriesByVesselNameAndDateRange\";\nexport * from \"./vesselLocations/shared/vesselLocations.input\";\nexport * from \"./vesselLocations/shared/vesselLocations.output\";\n// Vessel Locations\nexport { fetchVesselLocations } from \"./vesselLocations/vesselLocations\";\nexport { fetchVesselLocationsByVesselId } from \"./vesselLocations/vesselLocationsByVesselId\";\nexport * from \"./vesselStats/shared/vesselStats.input\";\nexport * from \"./vesselStats/shared/vesselStats.output\";\n// Vessel Stats\nexport { fetchVesselStats } from \"./vesselStats/vesselStats\";\nexport { fetchVesselStatsByVesselId } from \"./vesselStats/vesselStatsByVesselId\";\nexport * from \"./vesselVerbose/shared/vesselVerbose.input\";\nexport * from \"./vesselVerbose/shared/vesselVerbose.output\";\n// Vessel Verbose\nexport { fetchVesselsVerbose } from \"./vesselVerbose/vesselsVerbose\";\nexport { fetchVesselsVerboseByVesselId } from \"./vesselVerbose/vesselsVerboseById\";\n"]}