Skip to content

feat: add map API communication

Adrian Orłów requested to merge feature/MIN-103-map-api-comm into development

Context:

In !43 (merged) we've prepared full map data management but without covering aspect of communication with API. !43 (merged) creates only solution for handling and fetching backend data.

Objective:

This PR adds API communication of the map, which means simply using actions and data in the components.

It includes:

  • initializing map with backend data
  • pushing all fetched data to the store
  • middleware that watched for changes in map/modelId and rebuilds local map data
  • unit tests of the above

Additionally:

  • Prettier config upgrade
Edited by Adrian Orłów

Merge request reports