notification
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
import { NotificationTitleEnum } from '../../modules/notifications/interfaces/notification.interface';
|
||||
import { NotifTitleEnum } from '../../modules/notifications/interfaces/notification.interface';
|
||||
import { NotificationType } from '../../modules/notifications/interfaces/notification.interface';
|
||||
|
||||
export interface NotificationPreferenceData {
|
||||
title: NotificationTitleEnum;
|
||||
title: NotifTitleEnum;
|
||||
notificationType: NotificationType;
|
||||
}
|
||||
|
||||
export const notificationPreferencesData: NotificationPreferenceData[] = [
|
||||
{
|
||||
title: NotificationTitleEnum.ORDER_CREATED,
|
||||
title: NotifTitleEnum.ORDER_CREATED,
|
||||
notificationType: NotificationType.SMS,
|
||||
},
|
||||
{
|
||||
title: NotificationTitleEnum.PAYMENT_SUCCESS,
|
||||
title: NotifTitleEnum.PAYMENT_SUCCESS,
|
||||
notificationType: NotificationType.SMS,
|
||||
},
|
||||
{
|
||||
title: NotificationTitleEnum.REVIEW_CREATED,
|
||||
title: NotifTitleEnum.REVIEW_CREATED,
|
||||
notificationType: NotificationType.PUSH,
|
||||
},
|
||||
{
|
||||
title: NotificationTitleEnum.ORDER_STATUS_CHANGED,
|
||||
title: NotifTitleEnum.ORDER_STATUS_CHANGED,
|
||||
notificationType: NotificationType.Both,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user