fix docker setup

This commit is contained in:
2025-12-26 01:01:59 +01:00
parent b6cbb81388
commit d08ec10b40
9 changed files with 84 additions and 60 deletions

View File

@@ -1,5 +1,5 @@
import type { UseCaseOutputPort } from '@core/shared/application/UseCaseOutputPort';
import type { ListLeagueScoringPresetsResult, LeagueScoringPreset } from '@core/racing/application/use-cases/ListLeagueScoringPresetsUseCase';
import type { ListLeagueScoringPresetsResult } from '@core/racing/application/use-cases/ListLeagueScoringPresetsUseCase';
import type { LeagueScoringPresetsDTO } from '../dtos/LeagueScoringPresetsDTO';
export type LeagueScoringPresetsViewModel = LeagueScoringPresetsDTO;

View File

@@ -2,7 +2,7 @@ import { Provider } from '@nestjs/common';
import { SponsorService } from './SponsorService';
// Import core interfaces
import { NotificationService } from '@core/notifications/application/ports/NotificationService';
import type { NotificationService } from '@core/notifications/application/ports/NotificationService';
import type { IPaymentRepository } from '@core/payments/domain/repositories/IPaymentRepository';
import type { IWalletRepository } from '@core/payments/domain/repositories/IWalletRepository';
// Remove the missing import
@@ -170,7 +170,7 @@ export const SponsorProviders: Provider[] = [
{
provide: NOTIFICATION_SERVICE_TOKEN,
useFactory: (logger: Logger): NotificationService => ({
async sendNotification(command: any): Promise<void> {
async sendNotification(command: Parameters<NotificationService['sendNotification']>[0]): Promise<void> {
logger.info('[InMemoryNotificationService] sendNotification', { command });
},
}),