fork of hey-api/openapi-ts because I need some additional things
1import { provideHttpClient, withFetch } from '@angular/common/http';
2import type { ApplicationConfig } from '@angular/core';
3import { provideZoneChangeDetection } from '@angular/core';
4import { provideClientHydration, withEventReplay } from '@angular/platform-browser';
5import { provideRouter } from '@angular/router';
6
7import { client } from '../client/client.gen';
8import { provideHeyApiClient } from '../client/client/client.gen';
9import { routes } from './app.routes';
10
11export const appConfig: ApplicationConfig = {
12 providers: [
13 provideZoneChangeDetection({ eventCoalescing: true }),
14 provideRouter(routes),
15 provideClientHydration(withEventReplay()),
16 provideHttpClient(withFetch()),
17 provideHeyApiClient(client),
18 ],
19};