@timardex/cluemart-shared 1.7.73 → 1.7.74
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-ClOWh1kw.d.ts → ad-D0mv3giE.d.ts} +2 -1
- package/dist/{ad-CA144baE.d.mts → ad-DXnvURZK.d.mts} +2 -1
- package/dist/{affiliate-Cu9ffjwn.d.ts → affiliate-iBZgqHXh.d.ts} +1 -1
- package/dist/{affiliate-bVJuqmg4.d.mts → affiliate-yqBRMl1S.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 +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/auth/index.mjs +2 -2
- package/dist/{chunk-AYO3E4DM.mjs → chunk-3ZELP6VE.mjs} +2 -2
- package/dist/{chunk-TA6PS4KK.mjs → chunk-4DTTFAP4.mjs} +2 -2
- package/dist/{chunk-CRUKJX54.mjs → chunk-BM7CCBWM.mjs} +3 -3
- package/dist/{chunk-GWBDLKQC.mjs → chunk-CAI7BTMN.mjs} +1 -1
- package/dist/chunk-CAI7BTMN.mjs.map +1 -0
- package/dist/{chunk-X3OLM35T.mjs → chunk-D5BWQS2J.mjs} +3 -2
- package/dist/chunk-D5BWQS2J.mjs.map +1 -0
- package/dist/{chunk-SD42WIMV.mjs → chunk-HAPY4NHC.mjs} +2 -2
- package/dist/{chunk-OYRT6IXI.mjs → chunk-LYL3X7HT.mjs} +4 -4
- package/dist/{chunk-2MV4VZLJ.mjs → chunk-MWLKYOBK.mjs} +2 -1
- package/dist/chunk-MWLKYOBK.mjs.map +1 -0
- package/dist/enums/index.cjs +2 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +3 -2
- package/dist/enums/index.d.ts +3 -2
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +5 -5
- 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 +3 -3
- package/dist/hooks/index.cjs +12 -1
- 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 +17 -8
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +3 -3
- 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 +2 -2
- package/dist/{user-CIQg2DCG.d.mts → user-BAwVIzx3.d.mts} +2 -1
- package/dist/{user-BZGkIz6D.d.ts → user-DrY-TFbo.d.ts} +2 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.mjs +4 -4
- package/package.json +1 -1
- package/dist/chunk-2MV4VZLJ.mjs.map +0 -1
- package/dist/chunk-GWBDLKQC.mjs.map +0 -1
- package/dist/chunk-X3OLM35T.mjs.map +0 -1
- /package/dist/{chunk-AYO3E4DM.mjs.map → chunk-3ZELP6VE.mjs.map} +0 -0
- /package/dist/{chunk-TA6PS4KK.mjs.map → chunk-4DTTFAP4.mjs.map} +0 -0
- /package/dist/{chunk-CRUKJX54.mjs.map → chunk-BM7CCBWM.mjs.map} +0 -0
- /package/dist/{chunk-SD42WIMV.mjs.map → chunk-HAPY4NHC.mjs.map} +0 -0
- /package/dist/{chunk-OYRT6IXI.mjs.map → chunk-LYL3X7HT.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-kmePhBMr.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-CG2xlh2k.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-DXnvURZK.mjs';
|
|
6
6
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
7
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, 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, U as UsersByPromoCode, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-BAwVIzx3.mjs';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-yqBRMl1S.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-B2EqmRwK.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-BjtC8RIp.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-D0mv3giE.js';
|
|
6
6
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
7
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, 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, U as UsersByPromoCode, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-DrY-TFbo.js';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-iBZgqHXh.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import '../images/index.js';
|
|
11
11
|
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
useUpdateUser,
|
|
149
149
|
useUpdateVendor,
|
|
150
150
|
useUpdateVendorInfo
|
|
151
|
-
} from "../chunk-
|
|
151
|
+
} from "../chunk-4DTTFAP4.mjs";
|
|
152
152
|
import {
|
|
153
153
|
GET_EVENT,
|
|
154
154
|
GET_EVENT_INFO,
|
|
@@ -171,8 +171,8 @@ import {
|
|
|
171
171
|
useRequestPasswordReset,
|
|
172
172
|
useResetPassword,
|
|
173
173
|
useValidateVerificationToken
|
|
174
|
-
} from "../chunk-
|
|
175
|
-
import "../chunk-
|
|
174
|
+
} from "../chunk-MWLKYOBK.mjs";
|
|
175
|
+
import "../chunk-D5BWQS2J.mjs";
|
|
176
176
|
export {
|
|
177
177
|
ACTIVATE_VENDOR_CLAIM_MUTATION,
|
|
178
178
|
GET_EVENT,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -205,9 +205,10 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
|
205
205
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType2) => {
|
|
206
206
|
EnumResourceType2["AFFILIATE"] = "affiliate";
|
|
207
207
|
EnumResourceType2["EVENT"] = "event";
|
|
208
|
-
EnumResourceType2["VENDOR"] = "vendor";
|
|
209
208
|
EnumResourceType2["PARTNER"] = "partner";
|
|
210
209
|
EnumResourceType2["SCHOOL"] = "school";
|
|
210
|
+
EnumResourceType2["VENDOR"] = "vendor";
|
|
211
|
+
EnumResourceType2["VISITOR"] = "visitor";
|
|
211
212
|
return EnumResourceType2;
|
|
212
213
|
})(EnumResourceType || {});
|
|
213
214
|
var EnumEventType = /* @__PURE__ */ ((EnumEventType3) => {
|
|
@@ -2116,6 +2117,12 @@ var loginSchema = yup5.object().shape({
|
|
|
2116
2117
|
var registerSchema = yup5.object().shape({
|
|
2117
2118
|
email: emailRequiredSchema,
|
|
2118
2119
|
firstName: yup5.string().label("First Name").required("First Name is required"),
|
|
2120
|
+
interests: yup5.array().of(
|
|
2121
|
+
yup5.mixed().oneOf(
|
|
2122
|
+
Object.values(EnumResourceType),
|
|
2123
|
+
"Please select a valid interest"
|
|
2124
|
+
).defined()
|
|
2125
|
+
).label("Interests").required("Interests are required"),
|
|
2119
2126
|
lastName: yup5.string().label("Last Name").required("Last Name is required"),
|
|
2120
2127
|
nickName: yup5.string().nullable().label("Nickname").trim().notRequired(),
|
|
2121
2128
|
password: passwordSchema,
|
|
@@ -2679,6 +2686,7 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
|
|
|
2679
2686
|
firstName
|
|
2680
2687
|
game
|
|
2681
2688
|
isTester
|
|
2689
|
+
interests
|
|
2682
2690
|
lastName
|
|
2683
2691
|
nickName
|
|
2684
2692
|
licences {
|
|
@@ -6826,6 +6834,7 @@ var import_react_hook_form8 = require("react-hook-form");
|
|
|
6826
6834
|
var defaultValues3 = {
|
|
6827
6835
|
email: "",
|
|
6828
6836
|
firstName: "",
|
|
6837
|
+
interests: [],
|
|
6829
6838
|
lastName: "",
|
|
6830
6839
|
nickName: "",
|
|
6831
6840
|
password: "",
|
|
@@ -6849,6 +6858,7 @@ function useRegisterForm() {
|
|
|
6849
6858
|
const {
|
|
6850
6859
|
email,
|
|
6851
6860
|
firstName,
|
|
6861
|
+
interests,
|
|
6852
6862
|
lastName,
|
|
6853
6863
|
nickName,
|
|
6854
6864
|
password,
|
|
@@ -6861,6 +6871,7 @@ function useRegisterForm() {
|
|
|
6861
6871
|
fields: {
|
|
6862
6872
|
email,
|
|
6863
6873
|
firstName,
|
|
6874
|
+
interests,
|
|
6864
6875
|
lastName,
|
|
6865
6876
|
nickName,
|
|
6866
6877
|
password,
|