@timardex/cluemart-shared 1.5.717 → 1.5.719

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 (35) hide show
  1. package/dist/{chunk-27AS555G.mjs → chunk-JZY6HGS7.mjs} +2 -2
  2. package/dist/{chunk-7L4NH5TR.mjs → chunk-PRAR43V7.mjs} +2 -2
  3. package/dist/{chunk-2URE2FYC.mjs → chunk-PWJWWXIP.mjs} +13 -4
  4. package/dist/{chunk-2URE2FYC.mjs.map → chunk-PWJWWXIP.mjs.map} +1 -1
  5. package/dist/formFields/index.cjs +12 -3
  6. package/dist/formFields/index.cjs.map +1 -1
  7. package/dist/formFields/index.mjs +2 -2
  8. package/dist/graphql/index.d.mts +1 -1
  9. package/dist/graphql/index.d.ts +1 -1
  10. package/dist/hooks/index.cjs +12 -3
  11. package/dist/hooks/index.cjs.map +1 -1
  12. package/dist/hooks/index.d.mts +1 -1
  13. package/dist/hooks/index.d.ts +1 -1
  14. package/dist/hooks/index.mjs +3 -3
  15. package/dist/index.cjs +12 -3
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.mts +4 -2
  18. package/dist/index.d.ts +4 -2
  19. package/dist/index.mjs +12 -3
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/{post-DwMiBhxk.d.ts → post-C2hRiow2.d.ts} +0 -1
  22. package/dist/{post-CVEDjmq5.d.mts → post-CK-eJuXz.d.mts} +0 -1
  23. package/dist/sharing/index.cjs +12 -3
  24. package/dist/sharing/index.cjs.map +1 -1
  25. package/dist/sharing/index.mjs +2 -2
  26. package/dist/types/index.d.mts +1 -1
  27. package/dist/types/index.d.ts +1 -1
  28. package/dist/utils/index.cjs +12 -3
  29. package/dist/utils/index.cjs.map +1 -1
  30. package/dist/utils/index.d.mts +4 -1
  31. package/dist/utils/index.d.ts +4 -1
  32. package/dist/utils/index.mjs +1 -1
  33. package/package.json +1 -1
  34. /package/dist/{chunk-27AS555G.mjs.map → chunk-JZY6HGS7.mjs.map} +0 -0
  35. /package/dist/{chunk-7L4NH5TR.mjs.map → chunk-PRAR43V7.mjs.map} +0 -0
package/dist/index.d.mts CHANGED
@@ -748,7 +748,6 @@ type ResourceByUser = {
748
748
  resourceType: EnumResourceType;
749
749
  };
750
750
  type RedeemRewardInput = {
751
- points: number;
752
751
  reward: EnumReward;
753
752
  };
754
753
  type RedeemRewardResponse = {
@@ -2902,7 +2901,10 @@ declare const ANDROID_URL = "https://play.google.com/store/apps/details?id=com.t
2902
2901
  declare const DEFAULT_RESOURCES_RETURN_LIMIT = 1000;
2903
2902
  declare const DEFAULT_RESOURCES_RETURN_OFFSET = 0;
2904
2903
  declare const CLUEMART_MAIN_DOMAIN_URL = "https://cluemart.co.nz";
2905
- declare const rewardNiceNames: Record<EnumReward, string>;
2904
+ declare const rewardNiceNames: Record<EnumReward, {
2905
+ name: string;
2906
+ points: number;
2907
+ }>;
2906
2908
 
2907
2909
  declare const SCHOOL_MIN_STUDENT_COUNT = 300;
2908
2910
  declare const SCHOOL_MAX_STUDENT_COUNT = 0;
package/dist/index.d.ts CHANGED
@@ -748,7 +748,6 @@ type ResourceByUser = {
748
748
  resourceType: EnumResourceType;
749
749
  };
750
750
  type RedeemRewardInput = {
751
- points: number;
752
751
  reward: EnumReward;
753
752
  };
754
753
  type RedeemRewardResponse = {
@@ -2902,7 +2901,10 @@ declare const ANDROID_URL = "https://play.google.com/store/apps/details?id=com.t
2902
2901
  declare const DEFAULT_RESOURCES_RETURN_LIMIT = 1000;
2903
2902
  declare const DEFAULT_RESOURCES_RETURN_OFFSET = 0;
2904
2903
  declare const CLUEMART_MAIN_DOMAIN_URL = "https://cluemart.co.nz";
2905
- declare const rewardNiceNames: Record<EnumReward, string>;
2904
+ declare const rewardNiceNames: Record<EnumReward, {
2905
+ name: string;
2906
+ points: number;
2907
+ }>;
2906
2908
 
2907
2909
  declare const SCHOOL_MIN_STUDENT_COUNT = 300;
2908
2910
  declare const SCHOOL_MAX_STUDENT_COUNT = 0;
package/dist/index.mjs CHANGED
@@ -778,9 +778,18 @@ var DEFAULT_RESOURCES_RETURN_LIMIT = 1e3;
778
778
  var DEFAULT_RESOURCES_RETURN_OFFSET = 0;
779
779
  var CLUEMART_MAIN_DOMAIN_URL = "https://cluemart.co.nz";
780
780
  var rewardNiceNames = {
781
- ["mystery_joy_box" /* MYSTERY_JOY_BOX */]: "Mystery Joy Box",
782
- ["mystery_squeeze_box" /* MYSTERY_SQUEEZE_BOX */]: "Mystery Squeeze Box",
783
- ["mystery_deluxe_box" /* MYSTERY_DELUXE_BOX */]: "Mystery Deluxe Box"
781
+ ["mystery_joy_box" /* MYSTERY_JOY_BOX */]: {
782
+ name: "Mystery Joy Box",
783
+ points: 250
784
+ },
785
+ ["mystery_squeeze_box" /* MYSTERY_SQUEEZE_BOX */]: {
786
+ name: "Mystery Squeeze Box",
787
+ points: 350
788
+ },
789
+ ["mystery_deluxe_box" /* MYSTERY_DELUXE_BOX */]: {
790
+ name: "Mystery Deluxe Box",
791
+ points: 500
792
+ }
784
793
  };
785
794
 
786
795
  // src/utils/school.ts