Skip to content

Conversation

@rosvik
Copy link
Member

@rosvik rosvik commented Nov 27, 2025

Related to AtB-AS/atb-bff#420 and AtB-AS/atb-bff#418.

  • The types in fragments/vehicles.ts was actually mobility types, so I moved them there.
  • For vehicles data (from Enturs vehicles-v2 service) we really only need the VehicleFragment type, so I cleand that up and also updated some naming of variables, since it was quite inconsistent.

Acceptance criteria

  • Bus in map should work as before

@rosvik rosvik requested review from cbrevik and reidzeibel November 27, 2025 10:31
@rosvik rosvik changed the title refactor: use VehicleFragment type refactor: use VehicleFragment type for all vehicles-v2 data Nov 27, 2025
Copy link
Collaborator

@marius-at-atb marius-at-atb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

Something we may want to address at some point, is that Entur sends us vehicles from both vehicles and mobility. These are named the same, but are different.
After this PR, they will be even less differentiated 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants