resolve todos in website

This commit is contained in:
2025-12-20 12:22:48 +01:00
parent a87cf27fb9
commit 20588e1c0b
39 changed files with 1238 additions and 359 deletions

View File

@@ -19,7 +19,7 @@ export interface NotificationDeliveryResult {
attemptedAt: Date;
}
export interface INotificationGateway {
export interface NotificationGateway {
/**
* Send a notification through this gateway's channel
*/
@@ -45,21 +45,21 @@ export interface INotificationGateway {
* Registry for notification gateways
* Allows routing notifications to the appropriate gateway based on channel
*/
export interface INotificationGatewayRegistry {
export interface NotificationGatewayRegistry {
/**
* Register a gateway for a channel
*/
register(gateway: INotificationGateway): void;
register(gateway: NotificationGateway): void;
/**
* Get gateway for a specific channel
*/
getGateway(channel: NotificationChannel): INotificationGateway | null;
getGateway(channel: NotificationChannel): NotificationGateway | null;
/**
* Get all registered gateways
*/
getAllGateways(): INotificationGateway[];
getAllGateways(): NotificationGateway[];
/**
* Send notification through appropriate gateway

View File

@@ -1,5 +1,4 @@
import type { NotificationType } from '../../domain/types/NotificationTypes';
import type { NotificationChannel } from '../../domain/types/NotificationTypes';
import type { NotificationChannel, NotificationType } from '../../domain/types/NotificationTypes';
export interface NotificationData {
raceEventId?: string;
@@ -36,6 +35,6 @@ export interface SendNotificationCommand {
requiresResponse?: boolean;
}
export interface INotificationService {
export interface NotificationService {
sendNotification(command: SendNotificationCommand): Promise<void>;
}