Contents
PR Summary
What problems was I solving
The app-layer api.tsx barrel was re-exporting createManagementQueryClient and createManagementTrpcClient from @architect/management-ui-view-model, but no caller in the app layer or downstream ever used these factory functions. The re-exports were leftover scaffolding from PR #3447 and leaked view-model construction details into the app boundary.
What user-facing changes did I ship
None. This is a clean-up of unused internal exports and does not change any UI behavior, API contract, or runtime logic visible to users.
How I implemented it
Removed the two unused imports and the corresponding named exports from architect/management-ui/app/main/api/api.tsx, leaving the singletons managementQueryClient, managementTrpcClient, and the api React context object intact.
Description for the changelog
Removed the dead createManagementQueryClient and createManagementTrpcClient re-exports from the management UI app-layer API barrel. The pre-built singleton clients continue to be exported and used by ApiProvider; no consumer was importing the factory functions from this boundary.