notification

This commit is contained in:
2025-12-08 22:04:01 +03:30
parent 060570f847
commit 9c93feee68
19 changed files with 2603 additions and 88 deletions
@@ -0,0 +1,19 @@
import { NotificationChannel } from '../entities/notification.entity';
export interface NotificationQueueJob {
restaurantId: string;
userId?: string;
notificationType: string;
channel: NotificationChannel;
payload: Record<string, any>;
idempotencyKey?: string;
notificationId?: string; // For retries
}
export interface NotificationQueueJobResult {
success: boolean;
notificationId: string;
providerResponse?: Record<string, any>;
error?: string;
}