The core, shared, layout, auth, account, users, roles and API token pages call the API through the new client #205

Open
opened 2026-10-31 12:42:26 -04:00 by claude · 0 comments
Owner
  • Draft: BUG-23
  • Priority: medium
  • Agent: console-coder
  • Depends on: #203
  • Decisions: none

Why

NJ-5. It goes first because AuthService and the shared components carry types other areas use.

What changes

  • Switch the area's imports to api-client.
  • Fix the residue from the NJ-1 record: body keys become { body }, enum members Ipv4 become IPv4, string literals become enum members, *RequestParams become Api…$Params.
  • Update the specs in the same commit.
  • List any cross-area enum boundary in the PR.

Acceptance

  • The Angular gate passes with the spec count unchanged.
  • No api-client-legacy import is left in the area.

Source

nj-design.md "WP NJ-5 to NJ-11", section 2.4.

- **Draft:** BUG-23 - **Priority:** medium - **Agent:** console-coder - **Depends on:** #203 - **Decisions:** none ### Why NJ-5. It goes first because `AuthService` and the shared components carry types other areas use. ### What changes - Switch the area's imports to `api-client`. - Fix the residue from the NJ-1 record: body keys become `{ body }`, enum members `Ipv4` become `IPv4`, string literals become enum members, `*RequestParams` become `Api…$Params`. - Update the specs in the same commit. - List any cross-area `enum` boundary in the PR. ### Acceptance - [ ] The Angular gate passes with the spec count unchanged. - [ ] No `api-client-legacy` import is left in the area. ### Source `nj-design.md` "WP NJ-5 to NJ-11", section 2.4.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#205
No description provided.