- Introduced a new Notification model in the Prisma schema to manage in-app notifications for users. - Integrated the NotificationsModule into the BFF application, allowing for the handling of notifications related to user actions and events. - Updated the CatalogCdcSubscriber to create notifications for account eligibility and verification status changes, improving user engagement. - Enhanced the CheckoutRegistrationService to create opportunities for SIM orders, integrating with the new notifications system. - Refactored various modules to include the NotificationsModule, ensuring seamless interaction and notification handling across the application. - Updated the frontend to display notification alerts in the AppShell header, enhancing user experience and accessibility.
27 lines
623 B
TypeScript
27 lines
623 B
TypeScript
/**
|
|
* Notifications Domain
|
|
*
|
|
* Exports all notification-related contracts, schemas, and types.
|
|
* Used for in-app notifications synced with Salesforce email triggers.
|
|
*/
|
|
|
|
export {
|
|
// Enums
|
|
NOTIFICATION_TYPE,
|
|
NOTIFICATION_SOURCE,
|
|
type NotificationTypeValue,
|
|
type NotificationSourceValue,
|
|
// Templates
|
|
NOTIFICATION_TEMPLATES,
|
|
getNotificationTemplate,
|
|
// Schemas
|
|
notificationSchema,
|
|
createNotificationRequestSchema,
|
|
notificationListResponseSchema,
|
|
// Types
|
|
type Notification,
|
|
type CreateNotificationRequest,
|
|
type NotificationTemplate,
|
|
type NotificationListResponse,
|
|
} from "./schema.js";
|