@timardex/cluemart-shared 1.3.97 → 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 +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/hooks/index.cjs +9 -5
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +9 -5
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +19 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.mjs +18 -5
- package/dist/index.mjs.map +1 -1
- package/dist/{post-Ch5Wqwm-.d.ts → post-BmHp3BkB.d.ts} +1 -0
- package/dist/{post-BugPtZBE.d.mts → post-DQtHcwIe.d.mts} +1 -0
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +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"
|
|
@@ -3486,6 +3494,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client64.gql`
|
|
|
3486
3494
|
_id
|
|
3487
3495
|
appVersion
|
|
3488
3496
|
createdAt
|
|
3497
|
+
isOfflineMode
|
|
3489
3498
|
key
|
|
3490
3499
|
updatedAt
|
|
3491
3500
|
}
|
|
@@ -3604,6 +3613,7 @@ var useGetAppSettings = () => {
|
|
|
3604
3613
|
useGetUserEvents,
|
|
3605
3614
|
useGetUserNotifications,
|
|
3606
3615
|
useGetUserNotificationsSubscription,
|
|
3616
|
+
useGetUserPartners,
|
|
3607
3617
|
useGetUserVendors,
|
|
3608
3618
|
useGetUsers,
|
|
3609
3619
|
useGetVendor,
|