feat(partner): partner portal foundation (#49) #152
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/kws!152
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/partner-portal-49"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes part of #49: the partner (tour operator) portal foundation in
web/apps/partner, on top of the existing orgs API, plus a small API addition.What is in it
@kws/auth, dev clientkws-partner-web, port 5175)./sends a user to their organization (last used), their open registration, a "suspended" or "verify your email" message, or the registration form./invitations#<token>, the token only in the POST body).GET|PUT /v1/orgs/{id}(orgs.Editor,details_updatedlog row, Kenya-only city check), OpenAPI and contract test.scripts/web-e2e.shand CI artifacts.Payment is left out, as agreed. The wallet comes later.
Checks
make cover: 91.5 % total (minimum 80 %).make lint0 issues;make contractok.pnpm typecheck && pnpm test: ui 52, auth 45, partner 91, ticket 304, admin 436, all pass.scripts/web-e2e.sh: ticket 207, admin 140, partner 25, all pass.Questions for the owner
/v1/mesignal. Should I add it?GET /v1/orgs/{id}returns no documents. The registrant still sees them on/registration/:id. Should I add the documents (an API and spec change) in a follow-up?Known limits (accepted for now)
409 organization_not_activehappens only inside the 30 s grant-cache window.city_idis not tested.shortcut:comment marks this).🤖 Generated with Claude Code