Enable TPEN-Interfaces to work offline by mocking TPEN-Services API endpoints. Provide reliable sync-up functionality for all operations performed offline once a connection is restored.
Requirements:
- Create a synchronization service that can queue outgoing changes to be replayed to the server
- Mock as many TPEN-Services API endpoints as possible for the offline scenario
- Address roundtrip issues: Ensure changes made offline are correctly applied once online
- UX/UI: Provide feedback on sync state and conflict/mismatch events
- Handle errors and partial sync scenarios gracefully
Collaboration notes:
- Coordinate with TPEN-Services team to ensure all mock contracts are upheld
- Ensure API behaviors match actual service logic