Run 1 Changelog: API Proxy Publish
Summary of changes made in Run 1 of the Frontend Implementation project.
Repository: api-proxy
Section titled “Repository: api-proxy”Published version: @arda-cards/api-proxy@1.0.0 (GitHub Packages)
RequestContexttype (src/shared/types.ts) — per-request user identity carryingauthor,tenantId,userIdfor BFF header forwarding.RequestOptionstype (src/shared/http-client.ts) — optional per-request options:context?: RequestContext,contentType?: string.generateRequestIdoption onProxyConfig— pluggable request ID generator withcrypto.randomUUID()default.processUploadJob()onItemProxy—POST /upload-job/{jobId}trigger.- Preparation-phase methods (committed as prerequisite):
createImageUploadUrl(),deleteDraft(), 8 lookup methods (lookupDepartmentsthroughlookupUsecases),bulkCreate(),bulkUpdate(),getQueryPage(),getHistoryPage(). - Types:
ImageUploadRequest,ImageUploadResponse,BulkUpdateEntry,BulkUpdateRequest.
Changed
Section titled “Changed”HttpClient.request()sendsAuthorization: Bearerheader on every request (previously sent API key only asX-Author).- All proxy methods across all 8 proxy classes accept optional
RequestOptionsas last parameter. X-Request-IDheader sent on every request (UUID v4 default, configurable).- Minimum Node version raised to
>=20.0.0(from>=18.18.0) forcrypto.randomUUID()support. - Coverage thresholds raised from 80% to 90% (lines and branches).
Test Impact
Section titled “Test Impact”- 234 tests total (up from 225 at entry), all passing.
- 100% coverage across statements, branches, functions, and lines.
Copyright: (c) Arda Systems 2025-2026, All rights reserved
Copyright: © Arda Systems 2025-2026, All rights reserved