Skip to content

VSN-1964 : Introducing passenger preparation store methods to carry out all necessary actions from the prepared passenger controller.

yassine.elazami a demandé de fusionner VSN-1964 vers develop

VSN-1964: Introducing passenger preparation store methods

This merge request introduces the necessary store methods and folder structures to support all actions related to the Prepared Passenger Controller. It covers the following areas:

1. Preparation Module Structure

  • Stores: Established the folder structure for preparation-related stores.
  • Endpoints: Created the folder structure for preparation-related API endpoints.
  • Usager Endpoints: Introduced specific endpoints to handle Usager-related requests.

2. Store Methods for Prepared Passengers

  • List All Prepared Passengers:

    • Implemented the first API call for retrieving all prepared passengers.
    • Defined ProtectedApiCallReturn type to handle API call errors consistently.
  • Get Specific Prepared Passenger:

    • Added store method to fetch details of a specific prepared passenger.
  • Individual Saving:

    • Implemented store method to handle the addition of individual passengers.
  • Passenger Deletion:

    • Defined store method to delete a specific prepared passenger.
  • Passenger Update:

    • Added store method to update a specific prepared passenger's information.

This MR ensures that all interactions with the prepared passenger API are properly managed via dedicated store methods, providing a structured and consistent approach for handling preparation-related actions.

Closes VSN-1964

Rapports de requête de fusion