notification queue
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { recipientType } from './notification.interface';
|
||||
import type { NotifTitleEnum, recipientType } from './notification.interface';
|
||||
|
||||
export interface SmsNotificationQueueJob {
|
||||
recipient: recipientType;
|
||||
@@ -16,6 +16,12 @@ export interface PushNotificationQueueJob {
|
||||
pushToken?: string; // FCM token for push notifications
|
||||
pushTokens?: string[]; // Multiple FCM tokens for bulk push notifications
|
||||
}
|
||||
export interface InAppNotificationQueueJob {
|
||||
recipient: { adminId: string; restaurantId: string };
|
||||
subject: NotifTitleEnum;
|
||||
body: string;
|
||||
notificationId: string;
|
||||
}
|
||||
|
||||
export interface SmsNotificationQueueJobResult {
|
||||
success: boolean;
|
||||
|
||||
Reference in New Issue
Block a user