@timardex/cluemart-shared 1.3.98 → 1.4.0
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 +10 -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 +9 -0
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/index.cjs +10 -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 +9 -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,
|
|
@@ -312,6 +313,7 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
312
313
|
licences {
|
|
313
314
|
...LicenceFields
|
|
314
315
|
}
|
|
316
|
+
partner
|
|
315
317
|
platform
|
|
316
318
|
preferredRegion
|
|
317
319
|
refreshToken
|
|
@@ -2775,6 +2777,13 @@ var useGetUserVendors = () => {
|
|
|
2775
2777
|
const userVendors = data?.userVendors || [];
|
|
2776
2778
|
return { error, loading, refetch, userVendors };
|
|
2777
2779
|
};
|
|
2780
|
+
var useGetUserPartners = () => {
|
|
2781
|
+
const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_PARTNERS, {
|
|
2782
|
+
fetchPolicy: "network-only"
|
|
2783
|
+
});
|
|
2784
|
+
const userPartners = data?.userPartners || [];
|
|
2785
|
+
return { error, loading, refetch, userPartners };
|
|
2786
|
+
};
|
|
2778
2787
|
var useGetUserActivities = () => {
|
|
2779
2788
|
const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_ACTIVITIES, {
|
|
2780
2789
|
fetchPolicy: "network-only"
|
|
@@ -3605,6 +3614,7 @@ var useGetAppSettings = () => {
|
|
|
3605
3614
|
useGetUserEvents,
|
|
3606
3615
|
useGetUserNotifications,
|
|
3607
3616
|
useGetUserNotificationsSubscription,
|
|
3617
|
+
useGetUserPartners,
|
|
3608
3618
|
useGetUserVendors,
|
|
3609
3619
|
useGetUsers,
|
|
3610
3620
|
useGetVendor,
|