Skip to content

Conversation

hasanmo
Copy link
Member

@hasanmo hasanmo commented Sep 15, 2026

Issue 3 – TypeScript models and city data

Change

The application needed shared and strongly typed data structures for cities, activities and weather data. Without common types, the API service and React components could use different data formats.

This change adds:

  • the City type
  • the WeatherData type
  • the Activity type
  • a list of selected Norwegian cities with coordinates
  • a list of supported activities

The types can be shared by the API service and React components. No any types are used.

This does not introduce a new visual feature by itself, but it prepares the application to display consistent and type-safe city, activity and weather information.

Closes #4

Verification

Commands actually run:

@hasanmo hasanmo requested a review from a team as a code owner September 15, 2026 07:03
@hasanmo hasanmo linked an issue Sep 15, 2026 that may be closed by this pull request
@oliverdr oliverdr requested a review from oliveror September 15, 2026 09:19
@oliverdr oliverdr assigned hasanmo and unassigned oliveror, olestan and oliverdr Sep 15, 2026
@hasanmo hasanmo merged commit 8832bee into dev Sep 15, 2026
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue 3 – Definere TypeScript-modeller og bydata
4 participants