chore(client): remove old service registrations

Remove ISearchService, ILookupService, and IFileService registrations
from Program.cs as these are now replaced by the typed API clients
(ISearchApiClient, ILookupApiClient, IFileApiClient).
This commit is contained in:
Joseph Doherty
2026-01-06 10:37:15 -05:00
parent 828034d0e2
commit 6701da137d
+2 -5
View File
@@ -46,13 +46,10 @@ builder.Services.AddScoped<IAuthService, AuthService>();
// SignalR service // SignalR service
builder.Services.AddScoped<IHubConnectionService, HubConnectionService>(); builder.Services.AddScoped<IHubConnectionService, HubConnectionService>();
// API client services // Refresh status service (monitors data sync status)
builder.Services.AddScoped<ISearchService, SearchService>();
builder.Services.AddScoped<ILookupService, LookupService>();
builder.Services.AddScoped<IFileService, FileService>();
builder.Services.AddScoped<IRefreshStatusService, RefreshStatusService>(); builder.Services.AddScoped<IRefreshStatusService, RefreshStatusService>();
// New typed API clients (shared contracts) // Typed API clients (shared contracts)
builder.Services.AddScoped<ISearchApiClient, SearchApiClient>(); builder.Services.AddScoped<ISearchApiClient, SearchApiClient>();
builder.Services.AddScoped<ILookupApiClient, LookupApiClient>(); builder.Services.AddScoped<ILookupApiClient, LookupApiClient>();
builder.Services.AddScoped<IAuthApiClient, AuthApiClient>(); builder.Services.AddScoped<IAuthApiClient, AuthApiClient>();