Skip to content

Add meteo domain types and MeteoService interface#180

Open
ultimate wants to merge 15 commits into
mainfrom
codex/add-meteo-service-for-weather-data
Open

Add meteo domain types and MeteoService interface#180
ultimate wants to merge 15 commits into
mainfrom
codex/add-meteo-service-for-weather-data

Conversation

@ultimate

Copy link
Copy Markdown
Owner

Motivation

  • Introduce a typed domain model for meteorological and sea state data to standardize snapshot requests and responses.
  • Provide consistent units, source metadata, and quality annotations to support multiple providers and fallbacks.
  • Define a service contract for retrieving weather/sea snapshots to be implemented by providers.

Description

  • Added a new app/domain/meteo module with exported types in index.ts and detailed definitions in types.ts.
  • Defined request-related types including MeteoSnapshotRequest, MeteoSnapshotMode, and MeteoProviderName to control retrieval behavior.
  • Introduced value, source, and unit abstractions with MeteoValue, MeteoSource, MeteoUnit, and quality/source enums to carry provenance and units.
  • Defined domain models for MeteoWeather, MeteoWind, MeteoSea, MeteoTide, MeteoAstronomy, MeteoSnapshot, and the MeteoService interface with getSnapshot returning Promise<MeteoSnapshot>.

Testing

  • No automated tests were run as part of this change.

Codex Task

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ultilog Ready Ready Preview, Comment Jul 18, 2026 4:47pm

@ultimate ultimate added the codex Things in relation to codex (caused by codex or good task for codex) label Jul 16, 2026 — with ChatGPT Codex Connector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex Things in relation to codex (caused by codex or good task for codex)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant