@timardex/cluemart-shared 2.0.3 → 2.0.4

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 (54) hide show
  1. package/dist/{ad-tNoTBv3n.d.mts → ad-BIeSuoVr.d.mts} +2 -2
  2. package/dist/{ad-C7jlZyUd.d.ts → ad-mouM5TCW.d.ts} +2 -2
  3. package/dist/{affiliate-BL1ZN-4t.d.mts → affiliate-Bu0aWFSP.d.mts} +2 -2
  4. package/dist/{affiliate-DStyY84o.d.ts → affiliate-Rw0noqSX.d.ts} +2 -2
  5. package/dist/auth/index.d.mts +3 -3
  6. package/dist/auth/index.d.ts +3 -3
  7. package/dist/{chunk-YFIMGYQF.mjs → chunk-5KOHAP3V.mjs} +13 -7
  8. package/dist/chunk-5KOHAP3V.mjs.map +1 -0
  9. package/dist/{chunk-XED54CPG.mjs → chunk-LMFBXRR7.mjs} +2 -2
  10. package/dist/{chunk-D45RNLV2.mjs → chunk-UUIAJ2D6.mjs} +1 -1
  11. package/dist/chunk-UUIAJ2D6.mjs.map +1 -0
  12. package/dist/{contactUs-_BHRXUrv.d.ts → contactUs-Q4DAGgQR.d.ts} +1 -1
  13. package/dist/{contactUs-BYm-iDIH.d.mts → contactUs-c_iBj1E1.d.mts} +1 -1
  14. package/dist/formFields/index.cjs.map +1 -1
  15. package/dist/formFields/index.d.mts +1 -1
  16. package/dist/formFields/index.d.ts +1 -1
  17. package/dist/formFields/index.mjs +2 -2
  18. package/dist/{global-D_et_d2Y.d.ts → global-td3vSRFK.d.ts} +1 -0
  19. package/dist/{global-C7-KDYqg.d.mts → global-uaeCep3z.d.mts} +1 -0
  20. package/dist/graphql/index.cjs +12 -6
  21. package/dist/graphql/index.cjs.map +1 -1
  22. package/dist/graphql/index.d.mts +7 -7
  23. package/dist/graphql/index.d.ts +7 -7
  24. package/dist/graphql/index.mjs +1 -1
  25. package/dist/hooks/index.cjs.map +1 -1
  26. package/dist/hooks/index.d.mts +5 -5
  27. package/dist/hooks/index.d.ts +5 -5
  28. package/dist/hooks/index.mjs +3 -3
  29. package/dist/index.cjs +12 -6
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.mts +3 -2
  32. package/dist/index.d.ts +3 -2
  33. package/dist/index.mjs +12 -6
  34. package/dist/index.mjs.map +1 -1
  35. package/dist/map/index.d.mts +1 -1
  36. package/dist/map/index.d.ts +1 -1
  37. package/dist/{resourceActivities-BJAI4jf-.d.mts → resourceActivities-Bs7XEK0p.d.mts} +1 -1
  38. package/dist/{resourceActivities-BW648M1v.d.ts → resourceActivities-CVqhJ6Vw.d.ts} +1 -1
  39. package/dist/sharing/index.d.mts +1 -1
  40. package/dist/sharing/index.d.ts +1 -1
  41. package/dist/types/index.cjs.map +1 -1
  42. package/dist/types/index.d.mts +7 -7
  43. package/dist/types/index.d.ts +7 -7
  44. package/dist/types/index.mjs +1 -1
  45. package/dist/{user-nHjaLZoG.d.ts → user-AUudb_XA.d.ts} +1 -1
  46. package/dist/{user-BA7TT2yB.d.mts → user-BWZq8kN7.d.mts} +1 -1
  47. package/dist/utils/index.cjs.map +1 -1
  48. package/dist/utils/index.d.mts +3 -3
  49. package/dist/utils/index.d.ts +3 -3
  50. package/dist/utils/index.mjs +2 -2
  51. package/package.json +1 -1
  52. package/dist/chunk-D45RNLV2.mjs.map +0 -1
  53. package/dist/chunk-YFIMGYQF.mjs.map +0 -1
  54. /package/dist/{chunk-XED54CPG.mjs.map → chunk-LMFBXRR7.mjs.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-C7-KDYqg.mjs';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-uaeCep3z.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-D_et_d2Y.js';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-td3vSRFK.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -46,9 +46,9 @@ import {
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-XED54CPG.mjs";
49
+ } from "../chunk-LMFBXRR7.mjs";
50
50
  import "../chunk-YRO6KEZG.mjs";
51
- import "../chunk-D45RNLV2.mjs";
51
+ import "../chunk-UUIAJ2D6.mjs";
52
52
  import "../chunk-RAYUJODN.mjs";
53
53
  import "../chunk-DQ7ZHIXW.mjs";
54
54
  import "../chunk-7DQBUZXY.mjs";
@@ -822,6 +822,7 @@ interface PaginationOptions {
822
822
  }
823
823
  interface UseGetResourcesByRegionOptions extends PaginationOptions {
824
824
  onlyClaimed?: boolean;
825
+ skip?: boolean;
825
826
  }
826
827
 
827
828
  export { type CouponPurchaseOption as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataProductsType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataType as W, type CouponMarketPassportOption as X, type CouponMarketVisitOption as Y, type CouponOption as Z, type CouponParticipantUserType as _, type FormDateField as a, type CouponVendorProduct as a0, type CreateFormData as a1, type DailyClueBaseGame as a2, type DailyClueGameData as a3, type DateTimeType as a4, type DateTimeWithPriceType as a5, type DeviceInfo as a6, EnumCouponListType as a7, EnumCouponQualificationType as a8, EnumGameStatus as a9, type PostFileInput as aA, type PostResource as aB, type ProductCoupon as aC, type PromoCodeType as aD, type PuzzleAnswer as aE, type PuzzleAnsweredQuestion as aF, type PuzzleBaseGame as aG, type PuzzleGameData as aH, type PuzzleQuestion as aI, type RelatedPostType as aJ, type RelationDate as aK, type RelationInputType as aL, type ResourceContactDetailsType as aM, type ResourceDetails as aN, type ResourceImageType as aO, type SocialMediaType as aP, type SocialShareResourceType as aQ, type Subcategory as aR, type SubcategoryItems as aS, type TermsAgreement as aT, type UnregisteredVendorInvitationType as aU, type VendorAttributes as aV, type VendorCalendarData as aW, type VendorProductList as aX, gameScreenIdentifierList as aY, gameTypeToDisplayName as aZ, EnumGameType as aa, EnumPostContentType as ab, EnumPostType as ac, type EventStatusType as ad, type GameDate as ae, type GameHistory as af, type GamePlacement as ag, type GamePlacementClue as ah, type GameType as ai, type GeocodeLocation as aj, type GlobalGameData as ak, type ImageObjectType as al, type LocationGeoType as am, type Nullable as an, type OwnerType as ao, PROMO_CODE_PREFIX as ap, type PaginationOptions as aq, type PaymentInfoType as ar, type PostContentData as as, type PostContentFormData as at, type PostContentGame as au, type PostContentImage as av, type PostContentList as aw, type PostContentTextarea as ax, type PostContentType as ay, type PostContentVideo as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, type GameLeaderboard as m, type CouponType as n, type CouponTypeList as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
@@ -822,6 +822,7 @@ interface PaginationOptions {
822
822
  }
823
823
  interface UseGetResourcesByRegionOptions extends PaginationOptions {
824
824
  onlyClaimed?: boolean;
825
+ skip?: boolean;
825
826
  }
826
827
 
827
828
  export { type CouponPurchaseOption as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataProductsType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataType as W, type CouponMarketPassportOption as X, type CouponMarketVisitOption as Y, type CouponOption as Z, type CouponParticipantUserType as _, type FormDateField as a, type CouponVendorProduct as a0, type CreateFormData as a1, type DailyClueBaseGame as a2, type DailyClueGameData as a3, type DateTimeType as a4, type DateTimeWithPriceType as a5, type DeviceInfo as a6, EnumCouponListType as a7, EnumCouponQualificationType as a8, EnumGameStatus as a9, type PostFileInput as aA, type PostResource as aB, type ProductCoupon as aC, type PromoCodeType as aD, type PuzzleAnswer as aE, type PuzzleAnsweredQuestion as aF, type PuzzleBaseGame as aG, type PuzzleGameData as aH, type PuzzleQuestion as aI, type RelatedPostType as aJ, type RelationDate as aK, type RelationInputType as aL, type ResourceContactDetailsType as aM, type ResourceDetails as aN, type ResourceImageType as aO, type SocialMediaType as aP, type SocialShareResourceType as aQ, type Subcategory as aR, type SubcategoryItems as aS, type TermsAgreement as aT, type UnregisteredVendorInvitationType as aU, type VendorAttributes as aV, type VendorCalendarData as aW, type VendorProductList as aX, gameScreenIdentifierList as aY, gameTypeToDisplayName as aZ, EnumGameType as aa, EnumPostContentType as ab, EnumPostType as ac, type EventStatusType as ad, type GameDate as ae, type GameHistory as af, type GamePlacement as ag, type GamePlacementClue as ah, type GameType as ai, type GeocodeLocation as aj, type GlobalGameData as ak, type ImageObjectType as al, type LocationGeoType as am, type Nullable as an, type OwnerType as ao, PROMO_CODE_PREFIX as ap, type PaginationOptions as aq, type PaymentInfoType as ar, type PostContentData as as, type PostContentFormData as at, type PostContentGame as au, type PostContentImage as av, type PostContentList as aw, type PostContentTextarea as ax, type PostContentType as ay, type PostContentVideo as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, type GameLeaderboard as m, type CouponType as n, type CouponTypeList as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
@@ -2396,15 +2396,17 @@ var useGetEventByPlaceId = (googlePlaceId) => {
2396
2396
  return { error, eventByPlaceId, loading, refetch };
2397
2397
  };
2398
2398
  var useGetEventsByRegion = (region, options, dateStatus, tags) => {
2399
+ const { skip = false, ...queryOptions } = options ?? {};
2400
+ const hasOptions = Object.keys(queryOptions).length > 0;
2399
2401
  const variables = {
2400
2402
  dateStatus,
2401
- options,
2403
+ ...hasOptions ? { options: queryOptions } : {},
2402
2404
  region,
2403
2405
  tags: (tags ?? []).filter(Boolean)
2404
2406
  };
2405
2407
  const { loading, error, data, refetch, fetchMore } = (0, import_client25.useQuery)(GET_EVENTS_BY_REGION, {
2406
2408
  fetchPolicy: "network-only",
2407
- skip: !region || region === "",
2409
+ skip: skip || !region || region === "",
2408
2410
  variables
2409
2411
  });
2410
2412
  const eventsByRegion = data?.eventsByRegion || [];
@@ -3051,9 +3053,11 @@ var useGetVendor = (_id) => {
3051
3053
  const vendor = data?.vendor || null;
3052
3054
  return { error, loading, refetch, vendor };
3053
3055
  };
3054
- var useGetVendorsByRegion = (region, options, skip = false) => {
3056
+ var useGetVendorsByRegion = (region, options) => {
3057
+ const { skip = false, ...queryOptions } = options ?? {};
3058
+ const hasOptions = Object.keys(queryOptions).length > 0;
3055
3059
  const variables = {
3056
- options,
3060
+ ...hasOptions ? { options: queryOptions } : {},
3057
3061
  region
3058
3062
  };
3059
3063
  const { loading, error, data, refetch, fetchMore } = (0, import_client40.useQuery)(GET_VENDORS_BY_REGION, {
@@ -3962,9 +3966,11 @@ var useGetPartner = (_id) => {
3962
3966
  const partner = data?.partner;
3963
3967
  return { error, loading, partner, refetch };
3964
3968
  };
3965
- var useGetPartnersByRegion = (region, options, skip = false) => {
3969
+ var useGetPartnersByRegion = (region, options) => {
3970
+ const { skip = false, ...queryOptions } = options ?? {};
3971
+ const hasOptions = Object.keys(queryOptions).length > 0;
3966
3972
  const variables = {
3967
- options,
3973
+ ...hasOptions ? { options: queryOptions } : {},
3968
3974
  region
3969
3975
  };
3970
3976
  const { loading, error, data, refetch, fetchMore } = (0, import_client58.useQuery)(GET_PARTNERS_BY_REGION, {