@timardex/cluemart-shared 1.4.56 → 1.4.58

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.
Files changed (32) hide show
  1. package/dist/{auth-0kdrfCS6.d.ts → auth-CjykW2Lr.d.ts} +1 -1
  2. package/dist/{auth-BSrnmepa.d.mts → auth-DNycVvkZ.d.mts} +1 -1
  3. package/dist/{chunk-INEGK3OJ.mjs → chunk-77MGTLHY.mjs} +5 -3
  4. package/dist/{chunk-INEGK3OJ.mjs.map → chunk-77MGTLHY.mjs.map} +1 -1
  5. package/dist/formFields/index.d.mts +1 -1
  6. package/dist/formFields/index.d.ts +1 -1
  7. package/dist/{global-28X17NZs.d.mts → global-BCkL-Bpy.d.mts} +2 -1
  8. package/dist/{global-D3WVRbPl.d.ts → global-CPPLdm4G.d.ts} +2 -1
  9. package/dist/graphql/index.cjs +4 -2
  10. package/dist/graphql/index.cjs.map +1 -1
  11. package/dist/graphql/index.d.mts +4 -4
  12. package/dist/graphql/index.d.ts +4 -4
  13. package/dist/graphql/index.mjs +1 -1
  14. package/dist/hooks/index.cjs.map +1 -1
  15. package/dist/hooks/index.d.mts +3 -3
  16. package/dist/hooks/index.d.ts +3 -3
  17. package/dist/hooks/index.mjs +1 -1
  18. package/dist/index.cjs +4 -2
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.mts +3 -2
  21. package/dist/index.d.ts +3 -2
  22. package/dist/index.mjs +4 -2
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/{post-Bik-qNI2.d.ts → post-B8oSaRx5.d.ts} +1 -1
  25. package/dist/{post-C8a2psdX.d.mts → post-_XBrGUY2.d.mts} +1 -1
  26. package/dist/{resourceActivities-DNF9OS11.d.mts → resourceActivities-CndYlMM-.d.mts} +1 -1
  27. package/dist/{resourceActivities-aOmiphoT.d.ts → resourceActivities-CxDUeNpr.d.ts} +1 -1
  28. package/dist/types/index.d.mts +5 -5
  29. package/dist/types/index.d.ts +5 -5
  30. package/dist/utils/index.d.mts +1 -1
  31. package/dist/utils/index.d.ts +1 -1
  32. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-28X17NZs.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BCkL-Bpy.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-D3WVRbPl.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-CPPLdm4G.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -348,8 +348,9 @@ type ResourceDetails = {
348
348
  };
349
349
  type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
350
350
  type EventStatusType = {
351
- googlePlaceId?: string | null;
352
351
  claimed: boolean;
352
+ eventType: EnumEventType;
353
+ googlePlaceId?: string | null;
353
354
  };
354
355
  interface FormField {
355
356
  disabled?: boolean;
@@ -348,8 +348,9 @@ type ResourceDetails = {
348
348
  };
349
349
  type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
350
350
  type EventStatusType = {
351
- googlePlaceId?: string | null;
352
351
  claimed: boolean;
352
+ eventType: EnumEventType;
353
+ googlePlaceId?: string | null;
353
354
  };
354
355
  interface FormField {
355
356
  disabled?: boolean;
@@ -2786,9 +2786,11 @@ var useGetUserActivities = () => {
2786
2786
  };
2787
2787
  return { error, loading, refetch, userActivities };
2788
2788
  };
2789
- var useGetUserResources = () => {
2789
+ var useGetUserResources = (userId) => {
2790
2790
  const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_USER_RESOURCES, {
2791
- fetchPolicy: "network-only"
2791
+ fetchPolicy: "network-only",
2792
+ skip: !userId,
2793
+ variables: { userId }
2792
2794
  });
2793
2795
  const userResources = data?.userResources.resources || [];
2794
2796
  return { error, loading, refetch, userResources };