Preserve model and provider architecture across clients #30

Closed
opened 2026-09-12 10:07:31 +00:00 by tech · 0 comments
Owner

Goal

Keep explicit DTO, mapper, service, data model and provider layers throughout client code and shared packages.

Approach

Strengthen root and frontend instructions, document the dependency boundaries, and align auth stub responses with the existing KYC/wallet mapping structure.

Acceptance criteria

  • Architecture explicitly applies to web, mobile, shared packages and stubs.
  • Services expose models, providers coordinate services, and UI uses provider state.
  • Auth stub responses use DTOs and mappers with unchanged behavior.
  • Formatting, affected-package analysis and frontend tests pass; documented and delivered in a PR.

Notes

Based on workspace PR #29. No live backend integration or user-facing changes. Preserve existing contracts and simulated analytics.

Delivered in PR #31, branch architecture-30, based on workspace-28 / PR #29. Also aligned wallet profile DTO conversion. All 115 frontend tests, both affected package analyses, changed Dart formatting and diff checks pass. Scope and stack order recorded in docs/implementation.md. Not merged.

### Goal Keep explicit DTO, mapper, service, data model and provider layers throughout client code and shared packages. ### Approach Strengthen root and frontend instructions, document the dependency boundaries, and align auth stub responses with the existing KYC/wallet mapping structure. ### Acceptance criteria - [x] Architecture explicitly applies to web, mobile, shared packages and stubs. - [x] Services expose models, providers coordinate services, and UI uses provider state. - [x] Auth stub responses use DTOs and mappers with unchanged behavior. - [x] Formatting, affected-package analysis and frontend tests pass; documented and delivered in a PR. ### Notes Based on workspace PR #29. No live backend integration or user-facing changes. Preserve existing contracts and simulated analytics. Delivered in [PR #31](https://git.sendico.io/tech/sxchnge/pulls/31), branch architecture-30, based on workspace-28 / PR #29. Also aligned wallet profile DTO conversion. All 115 frontend tests, both affected package analyses, changed Dart formatting and diff checks pass. Scope and stack order recorded in docs/implementation.md. Not merged.
tech added the frontend label 2026-09-12 10:07:31 +00:00
tech self-assigned this 2026-09-12 10:07:31 +00:00
tech added this to the SXCHNGE project 2026-09-12 10:07:31 +00:00
tech added reference architecture-30 2026-09-12 10:07:48 +00:00
tech closed this issue 2026-09-12 10:14:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tech/sxchnge#30