@timardex/cluemart-shared 1.0.90 → 1.0.91
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.
- package/dist/graphql/index.cjs +12 -3
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.mjs +12 -3
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2826,7 +2826,10 @@ var useMarkNotificationRead = () => {
|
|
|
2826
2826
|
const [markNotificationRead, { loading, error }] = useMutation6(
|
|
2827
2827
|
MARK_NOTIFICATION_READ,
|
|
2828
2828
|
{
|
|
2829
|
-
refetchQueries: [
|
|
2829
|
+
refetchQueries: [
|
|
2830
|
+
{ query: GET_USER_NOTIFICATIONS },
|
|
2831
|
+
{ query: GET_NOTIFICATION_COUNT }
|
|
2832
|
+
]
|
|
2830
2833
|
}
|
|
2831
2834
|
);
|
|
2832
2835
|
return { error, loading, markNotificationRead };
|
|
@@ -2835,7 +2838,10 @@ var useMarkAllNotificationsRead = () => {
|
|
|
2835
2838
|
const [markAllNotificationsRead, { loading, error }] = useMutation6(
|
|
2836
2839
|
MARK_ALL_NOTIFICATIONS_READ,
|
|
2837
2840
|
{
|
|
2838
|
-
refetchQueries: [
|
|
2841
|
+
refetchQueries: [
|
|
2842
|
+
{ query: GET_USER_NOTIFICATIONS },
|
|
2843
|
+
{ query: GET_NOTIFICATION_COUNT }
|
|
2844
|
+
]
|
|
2839
2845
|
}
|
|
2840
2846
|
);
|
|
2841
2847
|
return { error, loading, markAllNotificationsRead };
|
|
@@ -2844,7 +2850,10 @@ var useDeleteNotification = () => {
|
|
|
2844
2850
|
const [deleteNotification, { loading, error }] = useMutation6(
|
|
2845
2851
|
DELETE_NOTIFICATION,
|
|
2846
2852
|
{
|
|
2847
|
-
refetchQueries: [
|
|
2853
|
+
refetchQueries: [
|
|
2854
|
+
{ query: GET_USER_NOTIFICATIONS },
|
|
2855
|
+
{ query: GET_NOTIFICATION_COUNT }
|
|
2856
|
+
]
|
|
2848
2857
|
}
|
|
2849
2858
|
);
|
|
2850
2859
|
return { deleteNotification, error, loading };
|