@timardex/cluemart-shared 1.3.98 → 1.3.99
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 +9 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +10 -2
- package/dist/graphql/index.d.ts +10 -2
- package/dist/graphql/index.mjs +8 -0
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/graphql/index.cjs
CHANGED
|
@@ -98,6 +98,7 @@ __export(graphql_exports, {
|
|
|
98
98
|
useGetUserEvents: () => useGetUserEvents,
|
|
99
99
|
useGetUserNotifications: () => useGetUserNotifications,
|
|
100
100
|
useGetUserNotificationsSubscription: () => useGetUserNotificationsSubscription,
|
|
101
|
+
useGetUserPartners: () => useGetUserPartners,
|
|
101
102
|
useGetUserVendors: () => useGetUserVendors,
|
|
102
103
|
useGetUsers: () => useGetUsers,
|
|
103
104
|
useGetVendor: () => useGetVendor,
|
|
@@ -2775,6 +2776,13 @@ var useGetUserVendors = () => {
|
|
|
2775
2776
|
const userVendors = data?.userVendors || [];
|
|
2776
2777
|
return { error, loading, refetch, userVendors };
|
|
2777
2778
|
};
|
|
2779
|
+
var useGetUserPartners = () => {
|
|
2780
|
+
const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_PARTNERS, {
|
|
2781
|
+
fetchPolicy: "network-only"
|
|
2782
|
+
});
|
|
2783
|
+
const userPartners = data?.userPartners || [];
|
|
2784
|
+
return { error, loading, refetch, userPartners };
|
|
2785
|
+
};
|
|
2778
2786
|
var useGetUserActivities = () => {
|
|
2779
2787
|
const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_ACTIVITIES, {
|
|
2780
2788
|
fetchPolicy: "network-only"
|
|
@@ -3605,6 +3613,7 @@ var useGetAppSettings = () => {
|
|
|
3605
3613
|
useGetUserEvents,
|
|
3606
3614
|
useGetUserNotifications,
|
|
3607
3615
|
useGetUserNotificationsSubscription,
|
|
3616
|
+
useGetUserPartners,
|
|
3608
3617
|
useGetUserVendors,
|
|
3609
3618
|
useGetUsers,
|
|
3610
3619
|
useGetVendor,
|