wip
This commit is contained in:
@@ -43,7 +43,7 @@ import type { INotificationRepository, INotificationPreferenceRepository } from
|
||||
import {
|
||||
SendNotificationUseCase,
|
||||
MarkNotificationReadUseCase,
|
||||
GetUnreadNotificationsQuery
|
||||
GetUnreadNotificationsUseCase
|
||||
} from '@gridpilot/notifications/application';
|
||||
import {
|
||||
InMemoryNotificationRepository,
|
||||
@@ -81,7 +81,7 @@ import {
|
||||
InMemoryFeedRepository,
|
||||
InMemorySocialGraphRepository,
|
||||
} from '@gridpilot/social/infrastructure/inmemory/InMemorySocialAndFeed';
|
||||
import { DemoImageServiceAdapter } from '@gridpilot/demo-infrastructure';
|
||||
import { DemoImageServiceAdapter } from '@gridpilot/testing-support';
|
||||
|
||||
// Application use cases and queries
|
||||
import {
|
||||
@@ -174,7 +174,7 @@ import { LeagueSchedulePreviewPresenter } from './presenters/LeagueSchedulePrevi
|
||||
import { DashboardOverviewPresenter } from './presenters/DashboardOverviewPresenter';
|
||||
import { ProfileOverviewPresenter } from './presenters/ProfileOverviewPresenter';
|
||||
|
||||
// Testing support
|
||||
// Demo infrastructure (runtime demo seed & helpers)
|
||||
import {
|
||||
createStaticRacingSeed,
|
||||
getDemoLeagueArchetypeByName,
|
||||
@@ -1246,8 +1246,8 @@ export function configureDIContainer(): void {
|
||||
|
||||
// Register queries - Notifications
|
||||
container.registerInstance(
|
||||
DI_TOKENS.GetUnreadNotificationsQuery,
|
||||
new GetUnreadNotificationsQuery(notificationRepository)
|
||||
DI_TOKENS.GetUnreadNotificationsUseCase,
|
||||
new GetUnreadNotificationsUseCase(notificationRepository)
|
||||
);
|
||||
|
||||
// Register use cases - Sponsors
|
||||
|
||||
Reference in New Issue
Block a user