Refactor book service in BE and FE (#2013)

* Refactor book service in BE and FE

* Add missing method

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2025-12-28 19:37:35 -07:00
committed by GitHub
co-authored by acx10
parent 60095c2173
commit 01446c2537
37 changed files with 2085 additions and 807 deletions
-6
View File
@@ -19,8 +19,6 @@ import {initializeAuthFactory} from './app/core/security/auth-initializer';
import {StartupService} from './app/shared/service/startup.service';
import {provideCharts, withDefaultRegisterables} from 'ng2-charts';
import ChartDataLabels from 'chartjs-plugin-datalabels';
import {IconService} from './app/shared/services/icon.service';
import {firstValueFrom} from 'rxjs';
export function storageFactory(): OAuthStorage {
return localStorage;
@@ -38,10 +36,6 @@ bootstrapApplication(AppComponent, {
const startup = inject(StartupService);
return startup.load();
}),
provideAppInitializer(() => {
const iconService = inject(IconService);
return firstValueFrom(iconService.preloadAllIcons());
}),
provideHttpClient(withInterceptors([AuthInterceptorService])),
provideOAuthClient(),
{