@timardex/cluemart-shared 1.5.842 → 1.6.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.
Files changed (68) hide show
  1. package/dist/{ad-OyMRZ4ZE.d.ts → ad-BUYzE6zx.d.ts} +7 -5
  2. package/dist/{ad-bXnDHikm.d.mts → ad-BhLoEul3.d.mts} +7 -5
  3. package/dist/{affiliate-C56okox0.d.mts → affiliate-BbtjeUP4.d.mts} +2 -2
  4. package/dist/{affiliate-B28f_U7r.d.ts → affiliate-C51nzKsw.d.ts} +2 -2
  5. package/dist/apollo/index.cjs +7 -4
  6. package/dist/apollo/index.cjs.map +1 -1
  7. package/dist/apollo/index.d.mts +2 -2
  8. package/dist/apollo/index.d.ts +2 -2
  9. package/dist/apollo/index.mjs +7 -4
  10. package/dist/apollo/index.mjs.map +1 -1
  11. package/dist/auth/index.cjs +23 -12
  12. package/dist/auth/index.cjs.map +1 -1
  13. package/dist/auth/index.d.mts +3 -3
  14. package/dist/auth/index.d.ts +3 -3
  15. package/dist/auth/index.mjs +1 -1
  16. package/dist/{chunk-QGEZL577.mjs → chunk-32MKHJTX.mjs} +27 -22
  17. package/dist/chunk-32MKHJTX.mjs.map +1 -0
  18. package/dist/{chunk-4VN5M5JO.mjs → chunk-ILILH7E2.mjs} +1 -1
  19. package/dist/chunk-ILILH7E2.mjs.map +1 -0
  20. package/dist/{chunk-TX3TVIQO.mjs → chunk-LBEJECG3.mjs} +2 -2
  21. package/dist/{chunk-ZDYD4VDB.mjs → chunk-PT273XYH.mjs} +503 -391
  22. package/dist/chunk-PT273XYH.mjs.map +1 -0
  23. package/dist/{contactUs-DKhr1NAC.d.ts → contactUs--NoohZBu.d.ts} +1 -1
  24. package/dist/{contactUs-BH5uubk6.d.mts → contactUs-CBWzefUS.d.mts} +1 -1
  25. package/dist/formFields/index.cjs.map +1 -1
  26. package/dist/formFields/index.d.mts +1 -1
  27. package/dist/formFields/index.d.ts +1 -1
  28. package/dist/formFields/index.mjs +2 -2
  29. package/dist/{global-B8kHBTPv.d.ts → global-CUYYxpy2.d.ts} +7 -2
  30. package/dist/{global-JPj82Tvl.d.mts → global-DePDtOFt.d.mts} +7 -2
  31. package/dist/graphql/index.cjs +527 -410
  32. package/dist/graphql/index.cjs.map +1 -1
  33. package/dist/graphql/index.d.mts +401 -178
  34. package/dist/graphql/index.d.ts +401 -178
  35. package/dist/graphql/index.mjs +2 -2
  36. package/dist/hooks/index.cjs +349 -108
  37. package/dist/hooks/index.cjs.map +1 -1
  38. package/dist/hooks/index.d.mts +5 -5
  39. package/dist/hooks/index.d.ts +5 -5
  40. package/dist/hooks/index.mjs +13 -9
  41. package/dist/hooks/index.mjs.map +1 -1
  42. package/dist/index.cjs +527 -410
  43. package/dist/index.cjs.map +1 -1
  44. package/dist/index.d.mts +406 -175
  45. package/dist/index.d.ts +406 -175
  46. package/dist/index.mjs +527 -410
  47. package/dist/index.mjs.map +1 -1
  48. package/dist/map/index.d.mts +1 -1
  49. package/dist/map/index.d.ts +1 -1
  50. package/dist/{resourceActivities-DV23pl5i.d.ts → resourceActivities-CMUcn2P7.d.ts} +9 -3
  51. package/dist/{resourceActivities-CZw8My9Z.d.mts → resourceActivities-CwbJFGIp.d.mts} +9 -3
  52. package/dist/sharing/index.d.mts +1 -1
  53. package/dist/sharing/index.d.ts +1 -1
  54. package/dist/types/index.cjs.map +1 -1
  55. package/dist/types/index.d.mts +9 -15
  56. package/dist/types/index.d.ts +9 -15
  57. package/dist/types/index.mjs +1 -1
  58. package/dist/{user-c_sh7aZ_.d.ts → user-D47MLFyH.d.ts} +4 -3
  59. package/dist/{user-B8Y1_VmG.d.mts → user-DE8edl3u.d.mts} +4 -3
  60. package/dist/utils/index.cjs.map +1 -1
  61. package/dist/utils/index.d.mts +3 -3
  62. package/dist/utils/index.d.ts +3 -3
  63. package/dist/utils/index.mjs +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-4VN5M5JO.mjs.map +0 -1
  66. package/dist/chunk-QGEZL577.mjs.map +0 -1
  67. package/dist/chunk-ZDYD4VDB.mjs.map +0 -1
  68. /package/dist/{chunk-TX3TVIQO.mjs.map → chunk-LBEJECG3.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-JPj82Tvl.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-DePDtOFt.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-B8kHBTPv.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-CUYYxpy2.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-TX3TVIQO.mjs";
49
+ } from "../chunk-LBEJECG3.mjs";
50
50
  import "../chunk-SD42WIMV.mjs";
51
- import "../chunk-4VN5M5JO.mjs";
51
+ import "../chunk-ILILH7E2.mjs";
52
52
  import "../chunk-RAYUJODN.mjs";
53
53
  import "../chunk-DQ7ZHIXW.mjs";
54
54
  import "../chunk-X3OLM35T.mjs";
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
2
- import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia } from './enums/index.js';
2
+ import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia } from './enums/index.js';
3
3
 
4
4
  type RelationDate = {
5
5
  dateTime: DateTimeType & {
@@ -501,6 +501,11 @@ type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;
501
501
  type Nullable<T> = {
502
502
  [K in keyof T]: T[K] | null | undefined;
503
503
  };
504
+ /** Uniform mutation response envelope used across GraphQL mutations. */
505
+ type MutationResponse<T> = {
506
+ data: T | null;
507
+ message: string | null;
508
+ };
504
509
  type DeviceInfo = {
505
510
  appBuildNumber: string;
506
511
  appId: string;
@@ -691,4 +696,4 @@ interface UseGetResourcesByRegionOptions {
691
696
  offset?: number;
692
697
  }
693
698
 
694
- export { type GameType as $, type BaseResourceType as A, type BaseResourceTypeFormData as B, type Category as C, type CreateFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type DailyClueBaseGame as H, type DailyClueGameData as I, type DateTimeType as J, type DateTimeWithPriceType as K, type LocationType as L, type DeviceInfo as M, EnumGameStatus as N, type OptionItem as O, type PostType as P, EnumGameType as Q, type RefundPolicy as R, type StallType as S, EnumPostContentType as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, type EventStatusType as W, type GameDate as X, type GameHistory as Y, type GamePlacement as Z, type GamePlacementClue as _, type FormDateField as a, type GeocodeLocation as a0, type GlobalGameData as a1, type ImageObjectType as a2, type LocationGeoType as a3, type Nullable as a4, type OwnerType as a5, PROMO_CODE_PREFIX as a6, type PaymentInfoType as a7, type PostContentData as a8, type PostContentFormData as a9, type UnregisteredVendorInvitationType as aA, type VendorAttributes as aB, type VendorCalendarData as aC, type VendorProductList as aD, gameScreenIdentifierList as aE, gameTypeToDisplayName as aF, type PostContentGame as aa, type PostContentImage as ab, type PostContentList as ac, type PostContentTextarea as ad, type PostContentType as ae, type PostContentVideo as af, type PostFileInput as ag, type PostResource as ah, type PosterUsageType as ai, type PromoCodeType as aj, type PuzzleAnswer as ak, type PuzzleAnsweredQuestion as al, type PuzzleBaseGame as am, type PuzzleGameData as an, type PuzzleQuestion as ao, type RelatedPostType as ap, type RelationDate as aq, type RelationInputType as ar, type ResourceContactDetailsType as as, type ResourceDetails as at, type ResourceImageType as au, type SocialMediaType as av, type SocialShareResourceType as aw, type Subcategory as ax, type SubcategoryItems as ay, type TermsAgreement 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 VendorInfoType as h, type UserLicenceType as i, EnumPostType as j, type GameLeaderboard as k, type VendorFormData as l, type CreateVendorFormData as m, type VendorInfoFormData as n, type CreateVendorInfoFormData as o, type UnregisteredVendorFormData as p, type CreateUnregisteredVendorFormData as q, type EventFormData as r, type CreateEventFormData as s, type EventInfoFormData as t, type CreateEventInfoFormData as u, type PostFormData as v, type CreatePostFormData as w, type Region as x, type BaseGameMap as y, type BaseGameType as z };
699
+ export { type GamePlacement as $, type BaseGameType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type MutationResponse as M, type DateTimeWithPriceType as N, type OptionItem as O, type PosterUsageType as P, type DeviceInfo as Q, type RefundPolicy as R, type StallType as S, EnumGameStatus as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumGameType as W, EnumPostContentType as X, type EventStatusType as Y, type GameDate as Z, type GameHistory as _, type FormDateField as a, type GamePlacementClue as a0, type GameType as a1, type GeocodeLocation as a2, type GlobalGameData as a3, type ImageObjectType as a4, type LocationGeoType as a5, type Nullable as a6, type OwnerType as a7, PROMO_CODE_PREFIX as a8, type PaymentInfoType as a9, type TermsAgreement as aA, type UnregisteredVendorInvitationType as aB, type VendorAttributes as aC, type VendorCalendarData as aD, type VendorProductList as aE, gameScreenIdentifierList as aF, gameTypeToDisplayName as aG, type PostContentData as aa, type PostContentFormData as ab, type PostContentGame as ac, type PostContentImage as ad, type PostContentList as ae, type PostContentTextarea as af, type PostContentType as ag, type PostContentVideo as ah, type PostFileInput as ai, type PostResource as aj, type PromoCodeType as ak, type PuzzleAnswer as al, type PuzzleAnsweredQuestion as am, type PuzzleBaseGame as an, type PuzzleGameData as ao, type PuzzleQuestion as ap, type RelatedPostType as aq, type RelationDate as ar, type RelationInputType as as, type ResourceContactDetailsType as at, type ResourceDetails as au, type ResourceImageType as av, type SocialMediaType as aw, type SocialShareResourceType as ax, type Subcategory as ay, type SubcategoryItems 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 VendorInfoType as h, type UserLicenceType as i, type PostType as j, EnumPostType as k, type GameLeaderboard as l, type VendorFormData as m, type CreateVendorFormData as n, type VendorInfoFormData as o, type CreateVendorInfoFormData as p, type UnregisteredVendorFormData as q, type CreateUnregisteredVendorFormData as r, type EventFormData as s, type CreateEventFormData as t, type EventInfoFormData as u, type CreateEventInfoFormData as v, type PostFormData as w, type CreatePostFormData as x, type Region as y, type BaseGameMap as z };
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
2
- import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia } from './enums/index.mjs';
2
+ import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia } from './enums/index.mjs';
3
3
 
4
4
  type RelationDate = {
5
5
  dateTime: DateTimeType & {
@@ -501,6 +501,11 @@ type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;
501
501
  type Nullable<T> = {
502
502
  [K in keyof T]: T[K] | null | undefined;
503
503
  };
504
+ /** Uniform mutation response envelope used across GraphQL mutations. */
505
+ type MutationResponse<T> = {
506
+ data: T | null;
507
+ message: string | null;
508
+ };
504
509
  type DeviceInfo = {
505
510
  appBuildNumber: string;
506
511
  appId: string;
@@ -691,4 +696,4 @@ interface UseGetResourcesByRegionOptions {
691
696
  offset?: number;
692
697
  }
693
698
 
694
- export { type GameType as $, type BaseResourceType as A, type BaseResourceTypeFormData as B, type Category as C, type CreateFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type DailyClueBaseGame as H, type DailyClueGameData as I, type DateTimeType as J, type DateTimeWithPriceType as K, type LocationType as L, type DeviceInfo as M, EnumGameStatus as N, type OptionItem as O, type PostType as P, EnumGameType as Q, type RefundPolicy as R, type StallType as S, EnumPostContentType as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, type EventStatusType as W, type GameDate as X, type GameHistory as Y, type GamePlacement as Z, type GamePlacementClue as _, type FormDateField as a, type GeocodeLocation as a0, type GlobalGameData as a1, type ImageObjectType as a2, type LocationGeoType as a3, type Nullable as a4, type OwnerType as a5, PROMO_CODE_PREFIX as a6, type PaymentInfoType as a7, type PostContentData as a8, type PostContentFormData as a9, type UnregisteredVendorInvitationType as aA, type VendorAttributes as aB, type VendorCalendarData as aC, type VendorProductList as aD, gameScreenIdentifierList as aE, gameTypeToDisplayName as aF, type PostContentGame as aa, type PostContentImage as ab, type PostContentList as ac, type PostContentTextarea as ad, type PostContentType as ae, type PostContentVideo as af, type PostFileInput as ag, type PostResource as ah, type PosterUsageType as ai, type PromoCodeType as aj, type PuzzleAnswer as ak, type PuzzleAnsweredQuestion as al, type PuzzleBaseGame as am, type PuzzleGameData as an, type PuzzleQuestion as ao, type RelatedPostType as ap, type RelationDate as aq, type RelationInputType as ar, type ResourceContactDetailsType as as, type ResourceDetails as at, type ResourceImageType as au, type SocialMediaType as av, type SocialShareResourceType as aw, type Subcategory as ax, type SubcategoryItems as ay, type TermsAgreement 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 VendorInfoType as h, type UserLicenceType as i, EnumPostType as j, type GameLeaderboard as k, type VendorFormData as l, type CreateVendorFormData as m, type VendorInfoFormData as n, type CreateVendorInfoFormData as o, type UnregisteredVendorFormData as p, type CreateUnregisteredVendorFormData as q, type EventFormData as r, type CreateEventFormData as s, type EventInfoFormData as t, type CreateEventInfoFormData as u, type PostFormData as v, type CreatePostFormData as w, type Region as x, type BaseGameMap as y, type BaseGameType as z };
699
+ export { type GamePlacement as $, type BaseGameType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type MutationResponse as M, type DateTimeWithPriceType as N, type OptionItem as O, type PosterUsageType as P, type DeviceInfo as Q, type RefundPolicy as R, type StallType as S, EnumGameStatus as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumGameType as W, EnumPostContentType as X, type EventStatusType as Y, type GameDate as Z, type GameHistory as _, type FormDateField as a, type GamePlacementClue as a0, type GameType as a1, type GeocodeLocation as a2, type GlobalGameData as a3, type ImageObjectType as a4, type LocationGeoType as a5, type Nullable as a6, type OwnerType as a7, PROMO_CODE_PREFIX as a8, type PaymentInfoType as a9, type TermsAgreement as aA, type UnregisteredVendorInvitationType as aB, type VendorAttributes as aC, type VendorCalendarData as aD, type VendorProductList as aE, gameScreenIdentifierList as aF, gameTypeToDisplayName as aG, type PostContentData as aa, type PostContentFormData as ab, type PostContentGame as ac, type PostContentImage as ad, type PostContentList as ae, type PostContentTextarea as af, type PostContentType as ag, type PostContentVideo as ah, type PostFileInput as ai, type PostResource as aj, type PromoCodeType as ak, type PuzzleAnswer as al, type PuzzleAnsweredQuestion as am, type PuzzleBaseGame as an, type PuzzleGameData as ao, type PuzzleQuestion as ap, type RelatedPostType as aq, type RelationDate as ar, type RelationInputType as as, type ResourceContactDetailsType as at, type ResourceDetails as au, type ResourceImageType as av, type SocialMediaType as aw, type SocialShareResourceType as ax, type Subcategory as ay, type SubcategoryItems 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 VendorInfoType as h, type UserLicenceType as i, type PostType as j, EnumPostType as k, type GameLeaderboard as l, type VendorFormData as m, type CreateVendorFormData as n, type VendorInfoFormData as o, type CreateVendorInfoFormData as p, type UnregisteredVendorFormData as q, type CreateUnregisteredVendorFormData as r, type EventFormData as s, type CreateEventFormData as t, type EventInfoFormData as u, type CreateEventInfoFormData as v, type PostFormData as w, type CreatePostFormData as x, type Region as y, type BaseGameMap as z };