Scaffolds the anonymous openbaar Angular app (mirrors self-service: standalone + signals, NL DS via the ui lib, no auth) and adds a failing register-page spec: loads the public register from the BFF on open, searches by term, and shows an empty-state message. The stub page renders only the heading, so the list/search/ empty-state assertions fail (red). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
20 lines
625 B
TypeScript
20 lines
625 B
TypeScript
import { provideHttpClient } from '@angular/common/http';
|
|
import {
|
|
ApplicationConfig,
|
|
provideBrowserGlobalErrorListeners,
|
|
} from '@angular/core';
|
|
import { provideRouter } from '@angular/router';
|
|
import { appRoutes } from './app.routes';
|
|
|
|
/**
|
|
* The openbaar register is a public, anonymous read: no DigiD, no auth interceptor. The app is served
|
|
* same-origin as the BFF (nginx proxies /openbaar), so the api-client's relative calls stay same-origin.
|
|
*/
|
|
export const appConfig: ApplicationConfig = {
|
|
providers: [
|
|
provideBrowserGlobalErrorListeners(),
|
|
provideRouter(appRoutes),
|
|
provideHttpClient(),
|
|
],
|
|
};
|