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:
@@ -46,13 +46,10 @@ builder.Services.AddScoped<IAuthService, AuthService>();
|
||||
// SignalR service
|
||||
builder.Services.AddScoped<IHubConnectionService, HubConnectionService>();
|
||||
|
||||
// API client services
|
||||
builder.Services.AddScoped<ISearchService, SearchService>();
|
||||
builder.Services.AddScoped<ILookupService, LookupService>();
|
||||
builder.Services.AddScoped<IFileService, FileService>();
|
||||
// Refresh status service (monitors data sync status)
|
||||
builder.Services.AddScoped<IRefreshStatusService, RefreshStatusService>();
|
||||
|
||||
// New typed API clients (shared contracts)
|
||||
// Typed API clients (shared contracts)
|
||||
builder.Services.AddScoped<ISearchApiClient, SearchApiClient>();
|
||||
builder.Services.AddScoped<ILookupApiClient, LookupApiClient>();
|
||||
builder.Services.AddScoped<IAuthApiClient, AuthApiClient>();
|
||||
|
||||
Reference in New Issue
Block a user