♻️ refactor: migrate todo, contacts, storage to shared-api-client

- Update todo, contacts, storage web apps to use @manacore/shared-api-client
- Maintain backward compatibility with existing legacy wrappers
- Todo: apiClient wrapper for setAccessToken/getAccessToken pattern
- Contacts: fetchWithAuth/fetchWithAuthFormData wrappers
- Storage: toLegacyResponse wrapper for ApiResponse format

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-01-29 14:27:11 +01:00
parent fa78769e82
commit 5322709fca
7 changed files with 191 additions and 185 deletions

9
pnpm-lock.yaml generated
View file

@ -1085,6 +1085,9 @@ importers:
apps/contacts/apps/web:
dependencies:
'@manacore/shared-api-client':
specifier: workspace:*
version: link:../../../../packages/shared-api-client
'@manacore/shared-auth':
specifier: workspace:*
version: link:../../../../packages/shared-auth
@ -3866,6 +3869,9 @@ importers:
apps/storage/apps/web:
dependencies:
'@manacore/shared-api-client':
specifier: workspace:*
version: link:../../../../packages/shared-api-client
'@manacore/shared-auth':
specifier: workspace:*
version: link:../../../../packages/shared-auth
@ -4094,6 +4100,9 @@ importers:
apps/todo/apps/web:
dependencies:
'@manacore/shared-api-client':
specifier: workspace:*
version: link:../../../../packages/shared-api-client
'@manacore/shared-auth':
specifier: workspace:*
version: link:../../../../packages/shared-auth