]> juplo.de Git - demos/kafka/chat/commitdiff
refactor: Removed barrel-file for app
authorKai Moritz <kai@juplo.de>
Sat, 11 Oct 2025 12:06:17 +0000 (14:06 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 11 Oct 2025 12:47:03 +0000 (14:47 +0200)
src/app/chatroom/chatroom.service.pact.spec.ts
src/app/index.ts [deleted file]
src/main.ts

index 57c3bf72bd51be2b6caafe5d00525f6eab6d8239..38838f188dea3b35be1a6d88d775d28f7c07a5ea 100644 (file)
@@ -4,7 +4,7 @@ import { provideHttpClient } from '@angular/common/http';
 import { lastValueFrom } from 'rxjs';
 import { ChatroomService } from './chatroom.service';
 import { Chatroom } from './chatroom.model';
-import { APP_PROPS } from '..';
+import { APP_PROPS } from '../app.tokens';
 
 
 describe('Pact between the ChatroomService and the backend', () => {
diff --git a/src/app/index.ts b/src/app/index.ts
deleted file mode 100644 (file)
index 3539455..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-export * from './app.config'
-export * from './app.component'
-export * from './app.tokens'
index 30fb56e60dc69138bb3af592421935d20ad43248..14a76203838e5a721449884a33babcf8fbfc77b2 100644 (file)
@@ -1,5 +1,6 @@
 import { bootstrapApplication } from '@angular/platform-browser';
-import { AppComponent, appConfig } from './app';
+import { AppComponent } from './app/app.component';
+import { appConfig } from './app/app.config';
 
 bootstrapApplication(AppComponent, appConfig)
   .catch((err) => console.error(err));