@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.
- package/dist/{chunk-27AS555G.mjs → chunk-JZY6HGS7.mjs} +2 -2
- package/dist/{chunk-7L4NH5TR.mjs → chunk-PRAR43V7.mjs} +2 -2
- package/dist/{chunk-2URE2FYC.mjs → chunk-PWJWWXIP.mjs} +13 -4
- package/dist/{chunk-2URE2FYC.mjs.map → chunk-PWJWWXIP.mjs.map} +1 -1
- package/dist/formFields/index.cjs +12 -3
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/hooks/index.cjs +12 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +12 -3
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DwMiBhxk.d.ts → post-C2hRiow2.d.ts} +0 -1
- package/dist/{post-CVEDjmq5.d.mts → post-CK-eJuXz.d.mts} +0 -1
- package/dist/sharing/index.cjs +12 -3
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +2 -2
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/index.cjs +12 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +4 -1
- package/dist/utils/index.d.ts +4 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-27AS555G.mjs.map → chunk-JZY6HGS7.mjs.map} +0 -0
- /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,
|
|
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,
|
|
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 */]:
|
|
782
|
-
|
|
783
|
-
|
|
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
|