@timardex/cluemart-shared 1.5.841 → 1.5.843
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/{ad-OyMRZ4ZE.d.ts → ad-CD820Thg.d.ts} +1 -0
- package/dist/{ad-bXnDHikm.d.mts → ad-Dh0rDcR3.d.mts} +1 -0
- package/dist/{chunk-NU7IZZQY.mjs → chunk-AYO3E4DM.mjs} +2 -2
- package/dist/{chunk-LN5LS2GJ.mjs → chunk-BIJ5NDXW.mjs} +2 -2
- package/dist/{chunk-ZDYD4VDB.mjs → chunk-GSPUTUBD.mjs} +2 -1
- package/dist/{chunk-ZDYD4VDB.mjs.map → chunk-GSPUTUBD.mjs.map} +1 -1
- package/dist/{chunk-SWWVD4J5.mjs → chunk-SD42WIMV.mjs} +2 -2
- package/dist/{chunk-SWWVD4J5.mjs.map → chunk-SD42WIMV.mjs.map} +1 -1
- package/dist/{chunk-27VEKARL.mjs → chunk-TX3TVIQO.mjs} +2 -2
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.cjs +1 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +10 -5
- 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 +14 -10
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +1 -1
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +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.map +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-NU7IZZQY.mjs.map → chunk-AYO3E4DM.mjs.map} +0 -0
- /package/dist/{chunk-LN5LS2GJ.mjs.map → chunk-BIJ5NDXW.mjs.map} +0 -0
- /package/dist/{chunk-27VEKARL.mjs.map → chunk-TX3TVIQO.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
3
|
import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
|
|
4
|
-
import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType } from '../ad-
|
|
4
|
+
import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType } from '../ad-Dh0rDcR3.mjs';
|
|
5
5
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CZw8My9Z.mjs';
|
|
6
6
|
import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-JPj82Tvl.mjs';
|
|
7
7
|
import { S as SafeUserType, R as RedeemRewardResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-B8Y1_VmG.mjs';
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
3
|
import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
|
|
4
|
-
import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType } from '../ad-
|
|
4
|
+
import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType } from '../ad-CD820Thg.js';
|
|
5
5
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DV23pl5i.js';
|
|
6
6
|
import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-B8kHBTPv.js';
|
|
7
7
|
import { S as SafeUserType, R as RedeemRewardResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-c_sh7aZ_.js';
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -4781,6 +4781,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client63.gql`
|
|
|
4781
4781
|
createdAt
|
|
4782
4782
|
isOfflineMode
|
|
4783
4783
|
key
|
|
4784
|
+
minimumRedeemableAffiliatePoints
|
|
4784
4785
|
updatedAt
|
|
4785
4786
|
}
|
|
4786
4787
|
`;
|
|
@@ -5491,7 +5492,8 @@ var appSettingsSchema = yup9.object({
|
|
|
5491
5492
|
/^\d+\.\d+\.\d+$/,
|
|
5492
5493
|
"App Version must be in the format X.Y.Z (e.g. 1.12.50)"
|
|
5493
5494
|
).required("App Version is required"),
|
|
5494
|
-
isOfflineMode: yup9.boolean().label("Is Offline Mode").required("Is Offline Mode is required")
|
|
5495
|
+
isOfflineMode: yup9.boolean().label("Is Offline Mode").required("Is Offline Mode is required"),
|
|
5496
|
+
minimumRedeemableAffiliatePoints: yup9.number().label("Minimum Redeemable Affiliate Points").min(0, "Minimum Redeemable Affiliate Points must be greater than 0").required("Minimum Redeemable Affiliate Points is required")
|
|
5495
5497
|
});
|
|
5496
5498
|
|
|
5497
5499
|
// src/hooks/utils.ts
|
|
@@ -6618,7 +6620,8 @@ var import_react4 = __toESM(require("react"));
|
|
|
6618
6620
|
var import_react_hook_form16 = require("react-hook-form");
|
|
6619
6621
|
var defaultValues10 = {
|
|
6620
6622
|
appVersion: "",
|
|
6621
|
-
isOfflineMode: false
|
|
6623
|
+
isOfflineMode: false,
|
|
6624
|
+
minimumRedeemableAffiliatePoints: 0
|
|
6622
6625
|
};
|
|
6623
6626
|
function useAppSettingsForm(data) {
|
|
6624
6627
|
const {
|
|
@@ -6637,18 +6640,20 @@ function useAppSettingsForm(data) {
|
|
|
6637
6640
|
if (data) {
|
|
6638
6641
|
reset({
|
|
6639
6642
|
appVersion: data.appVersion,
|
|
6640
|
-
isOfflineMode: data.isOfflineMode
|
|
6643
|
+
isOfflineMode: data.isOfflineMode,
|
|
6644
|
+
minimumRedeemableAffiliatePoints: data.minimumRedeemableAffiliatePoints
|
|
6641
6645
|
});
|
|
6642
6646
|
} else {
|
|
6643
6647
|
reset(defaultValues10);
|
|
6644
6648
|
}
|
|
6645
6649
|
}, [data]);
|
|
6646
|
-
const { appVersion, isOfflineMode } = getValues();
|
|
6650
|
+
const { appVersion, isOfflineMode, minimumRedeemableAffiliatePoints } = getValues();
|
|
6647
6651
|
return {
|
|
6648
6652
|
control,
|
|
6649
6653
|
fields: {
|
|
6650
6654
|
appVersion,
|
|
6651
|
-
isOfflineMode
|
|
6655
|
+
isOfflineMode,
|
|
6656
|
+
minimumRedeemableAffiliatePoints
|
|
6652
6657
|
},
|
|
6653
6658
|
formState,
|
|
6654
6659
|
getValues,
|