WP-15 exchange
Screen flow over the existing wire. Envelope: envelope.md. Wire shapes: api-enrichment.md.
Workflow
- The admin shell opens the users, structures, and money sections.
- Each screen asks a repository for data.
- The repository calls the endpoint and returns domain types.
- The screen renders kit widgets with
AppLocalizationslabels. - A write goes through the owner repository. The screen then reloads.
Wire
No new wire. The screens use:
GET /api/v1/afia/admin/dashboardfor dashboard./api/v1/afia/admin/usersfor users.PATCH /api/v1/afia/admin/users/{id}/statusfor activate and suspend./api/v1/afia/admin/structures,/admin/specialties, and/admin/tariffsfor structures, specialties, slots, and tariffs./api/v1/afia/admin/agreementsfor agreements and transactions.
Ownership
WP-15 writes lib/presentation/admin/users/, lib/presentation/admin/structures/, lib/presentation/admin/money/ and l10n-src/admin.json. WP-12 owns the wire. WP-11 owns the kit.
Does not do
New endpoints. Rbac permissions, ai automation, resource optimisation, compensation, ai planning, flows, audit, settings, hubs, international, and compliance.