@timardex/cluemart-shared 2.0.16 → 2.0.17

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 (57) hide show
  1. package/dist/{ad-D_5m292R.d.mts → ad-B4hhLfL-.d.mts} +3 -3
  2. package/dist/{ad-B4Acy8eW.d.ts → ad-BaKxf-Rj.d.ts} +3 -3
  3. package/dist/{affiliate-6NsbC06m.d.mts → affiliate-Bv4PXBXC.d.mts} +2 -2
  4. package/dist/{affiliate-CYnVduRf.d.ts → affiliate-xDFlLdJI.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-E23D3LUI.mjs → chunk-5G3MQXQX.mjs} +42 -12
  8. package/dist/{chunk-E23D3LUI.mjs.map → chunk-5G3MQXQX.mjs.map} +1 -1
  9. package/dist/{chunk-TJJ6XKJY.mjs → chunk-JESR7H4R.mjs} +1 -1
  10. package/dist/chunk-JESR7H4R.mjs.map +1 -0
  11. package/dist/{chunk-PSP5KDHQ.mjs → chunk-RNHDFZIC.mjs} +5 -9
  12. package/dist/chunk-RNHDFZIC.mjs.map +1 -0
  13. package/dist/{contactUs-DcSnfzb5.d.mts → contactUs-0IhAsiDW.d.mts} +1 -1
  14. package/dist/{contactUs-DYgB9q7k.d.ts → contactUs-DtKFwekV.d.ts} +1 -1
  15. package/dist/formFields/index.cjs +40 -10
  16. package/dist/formFields/index.cjs.map +1 -1
  17. package/dist/formFields/index.d.mts +2 -2
  18. package/dist/formFields/index.d.ts +2 -2
  19. package/dist/formFields/index.mjs +2 -2
  20. package/dist/{global-DwPcHR4_.d.mts → global-C6w0hQ5Y.d.mts} +6 -2
  21. package/dist/{global-s3frnbGC.d.ts → global-Coz5Jgi2.d.ts} +6 -2
  22. package/dist/graphql/index.cjs +4 -8
  23. package/dist/graphql/index.cjs.map +1 -1
  24. package/dist/graphql/index.d.mts +6 -6
  25. package/dist/graphql/index.d.ts +6 -6
  26. package/dist/graphql/index.mjs +1 -1
  27. package/dist/hooks/index.cjs +42 -16
  28. package/dist/hooks/index.cjs.map +1 -1
  29. package/dist/hooks/index.d.mts +5 -5
  30. package/dist/hooks/index.d.ts +5 -5
  31. package/dist/hooks/index.mjs +3 -3
  32. package/dist/index.cjs +44 -18
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.mts +8 -4
  35. package/dist/index.d.ts +8 -4
  36. package/dist/index.mjs +44 -18
  37. package/dist/index.mjs.map +1 -1
  38. package/dist/map/index.d.mts +1 -1
  39. package/dist/map/index.d.ts +1 -1
  40. package/dist/{resourceActivities-D9-mYXe8.d.mts → resourceActivities-DIK3bwZg.d.mts} +1 -1
  41. package/dist/{resourceActivities-CJ2ivv01.d.ts → resourceActivities-DScv6fiM.d.ts} +1 -1
  42. package/dist/sharing/index.d.mts +1 -1
  43. package/dist/sharing/index.d.ts +1 -1
  44. package/dist/types/index.cjs.map +1 -1
  45. package/dist/types/index.d.mts +7 -7
  46. package/dist/types/index.d.ts +7 -7
  47. package/dist/types/index.mjs +1 -1
  48. package/dist/{user-Ml-C8k8S.d.mts → user-BwcVKK-h.d.mts} +1 -1
  49. package/dist/{user-CteW0WdG.d.ts → user-DhxdbFT7.d.ts} +1 -1
  50. package/dist/utils/index.cjs +40 -10
  51. package/dist/utils/index.cjs.map +1 -1
  52. package/dist/utils/index.d.mts +3 -3
  53. package/dist/utils/index.d.ts +3 -3
  54. package/dist/utils/index.mjs +2 -2
  55. package/package.json +1 -1
  56. package/dist/chunk-PSP5KDHQ.mjs.map +0 -1
  57. package/dist/chunk-TJJ6XKJY.mjs.map +0 -1
@@ -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-DwPcHR4_.mjs';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category, c as CategoryColorType } from '../global-C6w0hQ5Y.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -69,7 +69,7 @@ declare const validateVerificationTokenFields: FormField[];
69
69
 
70
70
  declare const profileFields: FormField[];
71
71
 
72
- declare const categoryColors: Record<string, string>;
72
+ declare const categoryColors: Record<string, CategoryColorType>;
73
73
  declare const availableCategories: Category[];
74
74
 
75
75
  declare const socialMediaFields: FormField[];
@@ -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-s3frnbGC.js';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category, c as CategoryColorType } from '../global-Coz5Jgi2.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -69,7 +69,7 @@ declare const validateVerificationTokenFields: FormField[];
69
69
 
70
70
  declare const profileFields: FormField[];
71
71
 
72
- declare const categoryColors: Record<string, string>;
72
+ declare const categoryColors: Record<string, CategoryColorType>;
73
73
  declare const availableCategories: Category[];
74
74
 
75
75
  declare const socialMediaFields: FormField[];
@@ -46,9 +46,9 @@ import {
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-E23D3LUI.mjs";
49
+ } from "../chunk-5G3MQXQX.mjs";
50
50
  import "../chunk-UH6POK3Y.mjs";
51
- import "../chunk-TJJ6XKJY.mjs";
51
+ import "../chunk-JESR7H4R.mjs";
52
52
  import "../chunk-RAYUJODN.mjs";
53
53
  import "../chunk-DQ7ZHIXW.mjs";
54
54
  import "../chunk-7DQBUZXY.mjs";
@@ -797,8 +797,12 @@ interface Subcategory {
797
797
  name: string;
798
798
  items?: SubcategoryItems[] | null;
799
799
  }
800
+ type CategoryColorType = {
801
+ primary: string;
802
+ secondary: string;
803
+ };
800
804
  interface Category {
801
- color?: string | null;
805
+ color?: CategoryColorType | null;
802
806
  description?: string | null;
803
807
  id: string;
804
808
  name: string;
@@ -867,4 +871,4 @@ interface UseGetResourcesByRegionOptions extends PaginationOptions {
867
871
  skip?: boolean;
868
872
  }
869
873
 
870
- 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 VendorCalendarData 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 PostContentType as aA, type PostContentVideo as aB, type PostFileInput as aC, type PostListFilter as aD, type PostResource as aE, type ProductCoupon as aF, type PromoCodeType as aG, type PuzzleAnswer as aH, type PuzzleAnsweredQuestion as aI, type PuzzleBaseGame as aJ, type PuzzleGameData as aK, type PuzzleQuestion as aL, type RelatedPostType as aM, type RelationDate as aN, type RelationInputType as aO, type ResourceContactDetailsType as aP, type ResourceDetails as aQ, type ResourceImageType as aR, type SocialMediaType as aS, type SocialShareResourceType as aT, type Subcategory as aU, type SubcategoryItems as aV, type TermsAgreement as aW, type UnregisteredVendorInvitationType as aX, type UserListFilter as aY, type VendorAttributes as aZ, type VendorAvailability as a_, EnumGameType as aa, EnumPostContentType as ab, EnumPostType as ac, type EventListFilter as ad, type EventStatusType as ae, type GameDate as af, type GameHistory as ag, type GamePlacement as ah, type GamePlacementClue as ai, type GameType as aj, type GeocodeLocation as ak, type GlobalGameData as al, type ImageObjectType as am, type LocationGeoType as an, type Nullable as ao, type OwnerType as ap, PROMO_CODE_PREFIX as aq, type PaginationOptions as ar, type PartnerListFilter as as, type PaymentInfoType as at, type PostContentData as au, type PostContentFormData as av, type PostContentGame as aw, type PostContentImage as ax, type PostContentList as ay, type PostContentTextarea as az, type Requirement as b, type VendorDowngradeSnapshot as b0, type VendorListFilter as b1, type VendorProductList as b2, gameScreenIdentifierList as b3, gameTypeToDisplayName as b4, 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 };
874
+ export { type CouponParticipantUserType as $, type PostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CreatePostFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CouponDefaultsFormData as H, type CreateCouponFormData as I, type Region as J, type BaseGameMap as K, type LocationType as L, type MutationResponse as M, type BaseGameType as N, type OptionItem as O, type PosterUsageType as P, type BaseResourceType as Q, type RefundPolicy as R, type StallType as S, type CouponCodeType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataProductsType as W, type CouponDataType as X, type CouponMarketPassportOption as Y, type CouponMarketVisitOption as Z, type CouponOption as _, type FormDateField as a, type VendorAvailability as a$, type CouponPurchaseOption as a0, type CouponVendorProduct as a1, type CreateFormData as a2, type DailyClueBaseGame as a3, type DailyClueGameData as a4, type DateTimeType as a5, type DateTimeWithPriceType as a6, type DeviceInfo as a7, EnumCouponListType as a8, EnumCouponQualificationType as a9, type PostContentTextarea as aA, type PostContentType as aB, type PostContentVideo as aC, type PostFileInput as aD, type PostListFilter as aE, type PostResource as aF, type ProductCoupon as aG, type PromoCodeType as aH, type PuzzleAnswer as aI, type PuzzleAnsweredQuestion as aJ, type PuzzleBaseGame as aK, type PuzzleGameData as aL, type PuzzleQuestion as aM, type RelatedPostType as aN, type RelationDate as aO, type RelationInputType as aP, type ResourceContactDetailsType as aQ, type ResourceDetails as aR, type ResourceImageType as aS, type SocialMediaType as aT, type SocialShareResourceType as aU, type Subcategory as aV, type SubcategoryItems as aW, type TermsAgreement as aX, type UnregisteredVendorInvitationType as aY, type UserListFilter as aZ, type VendorAttributes as a_, EnumGameStatus as aa, EnumGameType as ab, EnumPostContentType as ac, EnumPostType as ad, type EventListFilter as ae, type EventStatusType as af, type GameDate as ag, type GameHistory as ah, type GamePlacement as ai, type GamePlacementClue as aj, type GameType as ak, type GeocodeLocation as al, type GlobalGameData as am, type ImageObjectType as an, type LocationGeoType as ao, type Nullable as ap, type OwnerType as aq, PROMO_CODE_PREFIX as ar, type PaginationOptions as as, type PartnerListFilter as at, type PaymentInfoType as au, type PostContentData as av, type PostContentFormData as aw, type PostContentGame as ax, type PostContentImage as ay, type PostContentList as az, type Requirement as b, type VendorCalendarData as b0, type VendorDowngradeSnapshot as b1, type VendorListFilter as b2, type VendorProductList as b3, gameScreenIdentifierList as b4, gameTypeToDisplayName as b5, type CategoryColorType as c, type EventListItemType as d, type EventInfoType as e, type RelationType as f, type ResourceConnectionsType as g, type UnregisteredVendorType as h, type VendorType as i, type VendorInfoType as j, type MyPendingVendorClaim as k, type UserLicenceType as l, type PostType as m, type GameLeaderboard as n, type CouponType as o, type CouponTypeList as p, type VendorFormData as q, type CreateVendorFormData as r, type VendorInfoFormData as s, type CreateVendorInfoFormData as t, type UnregisteredVendorFormData as u, type CreateUnregisteredVendorFormData as v, type EventFormData as w, type CreateEventFormData as x, type EventInfoFormData as y, type CreateEventInfoFormData as z };
@@ -797,8 +797,12 @@ interface Subcategory {
797
797
  name: string;
798
798
  items?: SubcategoryItems[] | null;
799
799
  }
800
+ type CategoryColorType = {
801
+ primary: string;
802
+ secondary: string;
803
+ };
800
804
  interface Category {
801
- color?: string | null;
805
+ color?: CategoryColorType | null;
802
806
  description?: string | null;
803
807
  id: string;
804
808
  name: string;
@@ -867,4 +871,4 @@ interface UseGetResourcesByRegionOptions extends PaginationOptions {
867
871
  skip?: boolean;
868
872
  }
869
873
 
870
- 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 VendorCalendarData 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 PostContentType as aA, type PostContentVideo as aB, type PostFileInput as aC, type PostListFilter as aD, type PostResource as aE, type ProductCoupon as aF, type PromoCodeType as aG, type PuzzleAnswer as aH, type PuzzleAnsweredQuestion as aI, type PuzzleBaseGame as aJ, type PuzzleGameData as aK, type PuzzleQuestion as aL, type RelatedPostType as aM, type RelationDate as aN, type RelationInputType as aO, type ResourceContactDetailsType as aP, type ResourceDetails as aQ, type ResourceImageType as aR, type SocialMediaType as aS, type SocialShareResourceType as aT, type Subcategory as aU, type SubcategoryItems as aV, type TermsAgreement as aW, type UnregisteredVendorInvitationType as aX, type UserListFilter as aY, type VendorAttributes as aZ, type VendorAvailability as a_, EnumGameType as aa, EnumPostContentType as ab, EnumPostType as ac, type EventListFilter as ad, type EventStatusType as ae, type GameDate as af, type GameHistory as ag, type GamePlacement as ah, type GamePlacementClue as ai, type GameType as aj, type GeocodeLocation as ak, type GlobalGameData as al, type ImageObjectType as am, type LocationGeoType as an, type Nullable as ao, type OwnerType as ap, PROMO_CODE_PREFIX as aq, type PaginationOptions as ar, type PartnerListFilter as as, type PaymentInfoType as at, type PostContentData as au, type PostContentFormData as av, type PostContentGame as aw, type PostContentImage as ax, type PostContentList as ay, type PostContentTextarea as az, type Requirement as b, type VendorDowngradeSnapshot as b0, type VendorListFilter as b1, type VendorProductList as b2, gameScreenIdentifierList as b3, gameTypeToDisplayName as b4, 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 };
874
+ export { type CouponParticipantUserType as $, type PostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CreatePostFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CouponDefaultsFormData as H, type CreateCouponFormData as I, type Region as J, type BaseGameMap as K, type LocationType as L, type MutationResponse as M, type BaseGameType as N, type OptionItem as O, type PosterUsageType as P, type BaseResourceType as Q, type RefundPolicy as R, type StallType as S, type CouponCodeType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataProductsType as W, type CouponDataType as X, type CouponMarketPassportOption as Y, type CouponMarketVisitOption as Z, type CouponOption as _, type FormDateField as a, type VendorAvailability as a$, type CouponPurchaseOption as a0, type CouponVendorProduct as a1, type CreateFormData as a2, type DailyClueBaseGame as a3, type DailyClueGameData as a4, type DateTimeType as a5, type DateTimeWithPriceType as a6, type DeviceInfo as a7, EnumCouponListType as a8, EnumCouponQualificationType as a9, type PostContentTextarea as aA, type PostContentType as aB, type PostContentVideo as aC, type PostFileInput as aD, type PostListFilter as aE, type PostResource as aF, type ProductCoupon as aG, type PromoCodeType as aH, type PuzzleAnswer as aI, type PuzzleAnsweredQuestion as aJ, type PuzzleBaseGame as aK, type PuzzleGameData as aL, type PuzzleQuestion as aM, type RelatedPostType as aN, type RelationDate as aO, type RelationInputType as aP, type ResourceContactDetailsType as aQ, type ResourceDetails as aR, type ResourceImageType as aS, type SocialMediaType as aT, type SocialShareResourceType as aU, type Subcategory as aV, type SubcategoryItems as aW, type TermsAgreement as aX, type UnregisteredVendorInvitationType as aY, type UserListFilter as aZ, type VendorAttributes as a_, EnumGameStatus as aa, EnumGameType as ab, EnumPostContentType as ac, EnumPostType as ad, type EventListFilter as ae, type EventStatusType as af, type GameDate as ag, type GameHistory as ah, type GamePlacement as ai, type GamePlacementClue as aj, type GameType as ak, type GeocodeLocation as al, type GlobalGameData as am, type ImageObjectType as an, type LocationGeoType as ao, type Nullable as ap, type OwnerType as aq, PROMO_CODE_PREFIX as ar, type PaginationOptions as as, type PartnerListFilter as at, type PaymentInfoType as au, type PostContentData as av, type PostContentFormData as aw, type PostContentGame as ax, type PostContentImage as ay, type PostContentList as az, type Requirement as b, type VendorCalendarData as b0, type VendorDowngradeSnapshot as b1, type VendorListFilter as b2, type VendorProductList as b3, gameScreenIdentifierList as b4, gameTypeToDisplayName as b5, type CategoryColorType as c, type EventListItemType as d, type EventInfoType as e, type RelationType as f, type ResourceConnectionsType as g, type UnregisteredVendorType as h, type VendorType as i, type VendorInfoType as j, type MyPendingVendorClaim as k, type UserLicenceType as l, type PostType as m, type GameLeaderboard as n, type CouponType as o, type CouponTypeList as p, type VendorFormData as q, type CreateVendorFormData as r, type VendorInfoFormData as s, type CreateVendorInfoFormData as t, type UnregisteredVendorFormData as u, type CreateUnregisteredVendorFormData as v, type EventFormData as w, type CreateEventFormData as x, type EventInfoFormData as y, type CreateEventInfoFormData as z };
@@ -3582,12 +3582,8 @@ var GET_AD = import_client44.gql`
3582
3582
  ${AD_FIELDS_FRAGMENT}
3583
3583
  `;
3584
3584
  var GET_ADS_BY_REGION = import_client44.gql`
3585
- query getAdsByRegion(
3586
- $region: String!
3587
- $platform: AdPlatformEnum!
3588
- $status: AdStatusTypeEnum
3589
- ) {
3590
- adsByRegion(region: $region, platform: $platform, status: $status) {
3585
+ query getAdsByRegion($region: String!, $platform: AdPlatformEnum!) {
3586
+ adsByRegion(region: $region, platform: $platform) {
3591
3587
  ...AdFields
3592
3588
  }
3593
3589
  }
@@ -3690,11 +3686,11 @@ var useGetAd = (_id) => {
3690
3686
  refetch
3691
3687
  };
3692
3688
  };
3693
- var useGetAdsByRegion = (region, platform, status) => {
3689
+ var useGetAdsByRegion = (region, platform) => {
3694
3690
  const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_ADS_BY_REGION, {
3695
3691
  fetchPolicy: "no-cache",
3696
3692
  skip: !region || region === "",
3697
- variables: { platform, region, status }
3693
+ variables: { platform, region }
3698
3694
  });
3699
3695
  return {
3700
3696
  adsByRegion: data?.adsByRegion || [],