Smart Travel Umrah

Partners

Who fulfils each part of the journey

Every service is delivered through a partner adapter. The one in use is marked; the others can be connected when a contract is in place, without changing a screen.

Adding a partner

  1. Write an adapter in apps/umrah/src/server/partners/ that implements the interface for the service (FlightPartner, HotelPartner, TransportPartner, VisaPartner or PackagePartner) and maps the partner’s response into the platform’s service types.
  2. Register it under an id in server/partners.ts and add a row to the registry in @stl/umrah so it appears here.
  3. Set the environment variable shown above to that id. Credentials are read inside the adapter and never reach a browser.
  4. Unknown ids fall back to the sample adapter, so a misconfiguration never takes a screen down.