Summary
Replace the hand-maintained REST client (sovd-api.ts, types.ts) with the generated TypeScript client from @selfpatch/ros2-medkit-client-ts.
Proposed solution (optional)
- Add dependency on
@selfpatch/ros2-medkit-client-ts
- Remove
src/lib/sovd-api.ts (~2087 lines)
- Remove
src/lib/types.ts (~903 lines)
- Update
src/lib/store.ts to use new client imports
- Update all components importing from old client
- Verify all existing functionality works
- Update tests
Additional context (optional)
Depends on:
- sovd_web_ui#41 (rename to ros2_medkit_web_ui)
- ros2_medkit_clients#2 (TS client package)
Summary
Replace the hand-maintained REST client (
sovd-api.ts,types.ts) with the generated TypeScript client from@selfpatch/ros2-medkit-client-ts.Proposed solution (optional)
@selfpatch/ros2-medkit-client-tssrc/lib/sovd-api.ts(~2087 lines)src/lib/types.ts(~903 lines)src/lib/store.tsto use new client importsAdditional context (optional)
Depends on: