@blackcode_sa/metaestetics-api 1.14.60 → 1.14.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -771,7 +771,15 @@ var NotificationsAdmin = class {
771
771
  data: {
772
772
  notificationId: notification.id,
773
773
  notificationType: notification.notificationType,
774
- userId: notification.userId
774
+ userId: notification.userId,
775
+ // Deep linking data
776
+ type: notification.appointmentId ? "appointment" : "system",
777
+ appointmentId: notification.appointmentId,
778
+ // Explicit deep link for navigation
779
+ deepLink: notification.appointmentId ? {
780
+ screen: "AppointmentDetail",
781
+ params: { appointmentId: notification.appointmentId }
782
+ } : void 0
775
783
  }
776
784
  }));
777
785
  }
@@ -695,7 +695,15 @@ var NotificationsAdmin = class {
695
695
  data: {
696
696
  notificationId: notification.id,
697
697
  notificationType: notification.notificationType,
698
- userId: notification.userId
698
+ userId: notification.userId,
699
+ // Deep linking data
700
+ type: notification.appointmentId ? "appointment" : "system",
701
+ appointmentId: notification.appointmentId,
702
+ // Explicit deep link for navigation
703
+ deepLink: notification.appointmentId ? {
704
+ screen: "AppointmentDetail",
705
+ params: { appointmentId: notification.appointmentId }
706
+ } : void 0
699
707
  }
700
708
  }));
701
709
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blackcode_sa/metaestetics-api",
3
3
  "private": false,
4
- "version": "1.14.60",
4
+ "version": "1.14.61",
5
5
  "description": "Firebase authentication service with anonymous upgrade support",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.mjs",
@@ -111,6 +111,16 @@ export class NotificationsAdmin {
111
111
  notificationId: notification.id,
112
112
  notificationType: notification.notificationType,
113
113
  userId: notification.userId,
114
+ // Deep linking data
115
+ type: notification.appointmentId ? 'appointment' : 'system',
116
+ appointmentId: notification.appointmentId,
117
+ // Explicit deep link for navigation
118
+ deepLink: notification.appointmentId
119
+ ? {
120
+ screen: 'AppointmentDetail',
121
+ params: { appointmentId: notification.appointmentId },
122
+ }
123
+ : undefined,
114
124
  },
115
125
  }));
116
126
  }