- Scaffold Angular 17 frontend with standalone components - Add @microsoft/signalr package dependency - Create AgentStatusService connecting to /hub endpoint - Auto-reconnect with progressive delays - Listens for AgentStatusChanged and BroadcastMessage - Logs all updates to console - Exposes statusUpdates$ and connected$ observables - onStatusUpdate() alias matching CUB-58 spec - Create AgentStatusUpdate interface (agentId, status, lastSeenAt) - Add APP_INITIALIZER provider to start connection on app boot - Register initializer in app.config.ts - Update .gitignore for frontend build artifacts
15 lines
273 B
JSON
15 lines
273 B
JSON
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"outDir": "./out-tsc/spec",
|
|
"types": [
|
|
"jasmine"
|
|
]
|
|
},
|
|
"include": [
|
|
"src/**/*.spec.ts",
|
|
"src/**/*.d.ts"
|
|
]
|
|
}
|