@timardex/cluemart-shared 1.7.58 → 1.7.59
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-wW8fzT4I.d.ts → ad-BXYzElOY.d.ts} +2 -8
- package/dist/{ad-CCuXkAAt.d.mts → ad-CaNdaVzA.d.mts} +2 -8
- package/dist/{affiliate-BSWxq9Uv.d.ts → affiliate-C4kUR-RF.d.ts} +1 -1
- package/dist/{affiliate-CaP_IFPL.d.mts → affiliate-KIMlFQc0.d.mts} +1 -1
- package/dist/auth/index.cjs +1 -0
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.mts +2 -2
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.mjs +1 -1
- package/dist/{chunk-VBQ5RF7L.mjs → chunk-6ALUN6LP.mjs} +2 -1
- package/dist/chunk-6ALUN6LP.mjs.map +1 -0
- package/dist/{chunk-FSS2CZPR.mjs → chunk-CRUKJX54.mjs} +15 -1
- package/dist/{chunk-FSS2CZPR.mjs.map → chunk-CRUKJX54.mjs.map} +1 -1
- package/dist/{chunk-5D2JVHC2.mjs → chunk-GZZMH35Y.mjs} +1 -1
- package/dist/chunk-GZZMH35Y.mjs.map +1 -0
- package/dist/{chunk-WRV55PDR.mjs → chunk-HBW4LTNY.mjs} +2 -2
- package/dist/{chunk-P4JLZCWZ.mjs → chunk-TRWMYXB7.mjs} +2 -2
- package/dist/formFields/index.cjs +14 -0
- 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 +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +2 -2
- package/dist/hooks/index.cjs +24 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +14 -5
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -7
- package/dist/index.d.ts +2 -7
- package/dist/index.mjs +15 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.mjs +1 -1
- package/dist/{user-Cz3XuyJU.d.mts → user-IkpoJkZz.d.mts} +1 -0
- package/dist/{user-B6RYIUjX.d.ts → user-J01cQFJ6.d.ts} +1 -0
- package/dist/utils/index.d.mts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-5D2JVHC2.mjs.map +0 -1
- package/dist/chunk-VBQ5RF7L.mjs.map +0 -1
- /package/dist/{chunk-WRV55PDR.mjs.map → chunk-HBW4LTNY.mjs.map} +0 -0
- /package/dist/{chunk-P4JLZCWZ.mjs.map → chunk-TRWMYXB7.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -2,10 +2,10 @@ import * as _apollo_client from '@apollo/client';
|
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
3
|
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-CWVdldcS.mjs';
|
|
4
4
|
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-ho4a3lOA.mjs';
|
|
5
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-
|
|
5
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-CaNdaVzA.mjs';
|
|
6
6
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
7
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-
|
|
8
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-IkpoJkZz.mjs';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-KIMlFQc0.mjs';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import '../images/index.mjs';
|
|
11
11
|
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import * as _apollo_client from '@apollo/client';
|
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
3
|
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-BPNPHXgT.js';
|
|
4
4
|
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-xmZHaJhe.js';
|
|
5
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-
|
|
5
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-BXYzElOY.js';
|
|
6
6
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
7
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-
|
|
8
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-J01cQFJ6.js';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-C4kUR-RF.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import '../images/index.js';
|
|
11
11
|
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
useUpdateUser,
|
|
148
148
|
useUpdateVendor,
|
|
149
149
|
useUpdateVendorInfo
|
|
150
|
-
} from "../chunk-
|
|
150
|
+
} from "../chunk-HBW4LTNY.mjs";
|
|
151
151
|
import {
|
|
152
152
|
GET_EVENT,
|
|
153
153
|
GET_EVENT_INFO,
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
useRequestPasswordReset,
|
|
170
170
|
useResetPassword,
|
|
171
171
|
useValidateVerificationToken
|
|
172
|
-
} from "../chunk-
|
|
172
|
+
} from "../chunk-6ALUN6LP.mjs";
|
|
173
173
|
import "../chunk-X3OLM35T.mjs";
|
|
174
174
|
export {
|
|
175
175
|
ACTIVATE_VENDOR_CLAIM_MUTATION,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -2085,6 +2085,7 @@ var userSchema = yup4.object().shape({
|
|
|
2085
2085
|
email: emailRequiredSchema,
|
|
2086
2086
|
firstName: yup4.string().label("First Name").trim().required("First name is required"),
|
|
2087
2087
|
lastName: yup4.string().label("Last Name").trim().required("Last name is required"),
|
|
2088
|
+
nickName: yup4.string().nullable().label("Nickname").trim().notRequired(),
|
|
2088
2089
|
isTester: yup4.boolean().required("Tester status is required"),
|
|
2089
2090
|
password: yup4.string().nullable().trim().label("Password").min(8, "Password must be at least 8 characters long").notRequired(),
|
|
2090
2091
|
preferredRegion: yup4.string().label("Preferred Region").required("Preferred region is required"),
|
|
@@ -2106,6 +2107,7 @@ var registerSchema = yup5.object().shape({
|
|
|
2106
2107
|
email: emailRequiredSchema,
|
|
2107
2108
|
firstName: yup5.string().label("First Name").required("First Name is required"),
|
|
2108
2109
|
lastName: yup5.string().label("Last Name").required("Last Name is required"),
|
|
2110
|
+
nickName: yup5.string().nullable().label("Nickname").trim().notRequired(),
|
|
2109
2111
|
password: passwordSchema,
|
|
2110
2112
|
preferredRegion: yup5.string().label("Preferred Region").required("Preferred Region is required")
|
|
2111
2113
|
});
|
|
@@ -2339,6 +2341,13 @@ var registerFields = [
|
|
|
2339
2341
|
placeholder: "Last Name",
|
|
2340
2342
|
required: true
|
|
2341
2343
|
},
|
|
2344
|
+
{
|
|
2345
|
+
helperText: "Enter Nickname",
|
|
2346
|
+
keyboardType: "default",
|
|
2347
|
+
name: "nickName",
|
|
2348
|
+
placeholder: "Nickname",
|
|
2349
|
+
required: false
|
|
2350
|
+
},
|
|
2342
2351
|
{
|
|
2343
2352
|
...emailField,
|
|
2344
2353
|
required: true
|
|
@@ -2400,6 +2409,13 @@ var profileFields = [
|
|
|
2400
2409
|
name: "lastName",
|
|
2401
2410
|
placeholder: "Last Name"
|
|
2402
2411
|
},
|
|
2412
|
+
{
|
|
2413
|
+
helperText: "Enter Nickname",
|
|
2414
|
+
keyboardType: "default",
|
|
2415
|
+
name: "nickName",
|
|
2416
|
+
placeholder: "Nickname",
|
|
2417
|
+
required: false
|
|
2418
|
+
},
|
|
2403
2419
|
{
|
|
2404
2420
|
helperText: "Enter your new password",
|
|
2405
2421
|
keyboardType: "default",
|
|
@@ -2654,6 +2670,7 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
|
|
|
2654
2670
|
game
|
|
2655
2671
|
isTester
|
|
2656
2672
|
lastName
|
|
2673
|
+
nickName
|
|
2657
2674
|
licences {
|
|
2658
2675
|
...LicenceFields
|
|
2659
2676
|
}
|
|
@@ -6640,6 +6657,7 @@ var defaultValues = {
|
|
|
6640
6657
|
firstName: "",
|
|
6641
6658
|
isTester: false,
|
|
6642
6659
|
lastName: "",
|
|
6660
|
+
nickName: null,
|
|
6643
6661
|
location: null,
|
|
6644
6662
|
password: null,
|
|
6645
6663
|
preferredRegion: ""
|
|
@@ -6668,6 +6686,7 @@ function useUserForm(data) {
|
|
|
6668
6686
|
firstName: data.firstName,
|
|
6669
6687
|
isTester: data.isTester,
|
|
6670
6688
|
lastName: data.lastName,
|
|
6689
|
+
nickName: data.nickName ?? null,
|
|
6671
6690
|
location: data.location,
|
|
6672
6691
|
password: data.password,
|
|
6673
6692
|
preferredRegion: data.preferredRegion,
|
|
@@ -6686,6 +6705,7 @@ function useUserForm(data) {
|
|
|
6686
6705
|
firstName,
|
|
6687
6706
|
isTester,
|
|
6688
6707
|
lastName,
|
|
6708
|
+
nickName,
|
|
6689
6709
|
location,
|
|
6690
6710
|
password,
|
|
6691
6711
|
preferredRegion,
|
|
@@ -6702,6 +6722,7 @@ function useUserForm(data) {
|
|
|
6702
6722
|
firstName,
|
|
6703
6723
|
isTester,
|
|
6704
6724
|
lastName,
|
|
6725
|
+
nickName,
|
|
6705
6726
|
location,
|
|
6706
6727
|
password,
|
|
6707
6728
|
preferredRegion,
|
|
@@ -6759,6 +6780,7 @@ var defaultValues3 = {
|
|
|
6759
6780
|
email: "",
|
|
6760
6781
|
firstName: "",
|
|
6761
6782
|
lastName: "",
|
|
6783
|
+
nickName: "",
|
|
6762
6784
|
password: "",
|
|
6763
6785
|
preferredRegion: "",
|
|
6764
6786
|
promoCode: null,
|
|
@@ -6781,6 +6803,7 @@ function useRegisterForm() {
|
|
|
6781
6803
|
email,
|
|
6782
6804
|
firstName,
|
|
6783
6805
|
lastName,
|
|
6806
|
+
nickName,
|
|
6784
6807
|
password,
|
|
6785
6808
|
preferredRegion,
|
|
6786
6809
|
promoCode,
|
|
@@ -6792,6 +6815,7 @@ function useRegisterForm() {
|
|
|
6792
6815
|
email,
|
|
6793
6816
|
firstName,
|
|
6794
6817
|
lastName,
|
|
6818
|
+
nickName,
|
|
6795
6819
|
password,
|
|
6796
6820
|
preferredRegion,
|
|
6797
6821
|
promoCode,
|