website refactor

This commit is contained in:
2026-01-14 02:02:24 +01:00
parent 8d7c709e0c
commit 4522d41aef
291 changed files with 12763 additions and 9309 deletions

View File

@@ -20,11 +20,8 @@ export const AuthModule = new ContainerModule((options) => {
})
.inSingletonScope();
// Auth Service
// Auth Service - now creates its own dependencies
bind<AuthService>(AUTH_SERVICE_TOKEN)
.toDynamicValue((ctx) => {
const authApiClient = ctx.get<AuthApiClient>(AUTH_API_CLIENT_TOKEN);
return new AuthService(authApiClient);
})
.to(AuthService)
.inSingletonScope();
});