@timardex/cluemart-shared 1.5.824 → 1.5.825
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-BFGA6SrQ.d.ts → ad-CoAxqdwK.d.ts} +1 -1
- package/dist/{ad-BRC6KNgv.d.mts → ad-Ds-PlS5A.d.mts} +1 -1
- package/dist/auth/index.d.mts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/hooks/index.cjs +2 -18
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.mjs +2 -8
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{user-CadKvubI.d.mts → user-CRJN9GQF.d.mts} +2 -2
- package/dist/{user-CCN2IPDV.d.ts → user-D27cEk4K.d.ts} +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -967,7 +967,6 @@ type UserFormData = {
|
|
|
967
967
|
password?: string | null;
|
|
968
968
|
platform?: EnumOSPlatform;
|
|
969
969
|
preferredRegion: string;
|
|
970
|
-
role: EnumUserRole;
|
|
971
970
|
termsAgreement?: TermsAgreement | null;
|
|
972
971
|
};
|
|
973
972
|
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
@@ -1057,6 +1056,7 @@ type UserType = Omit<UserFormData, "confirmPassword" | "avatarUpload" | "_id"> &
|
|
|
1057
1056
|
promoCodes?: PromoCodeType[] | null;
|
|
1058
1057
|
redeemedRewards?: RedeemedReward[] | null;
|
|
1059
1058
|
refreshToken: string | null;
|
|
1059
|
+
role: EnumUserRole;
|
|
1060
1060
|
school: string | null;
|
|
1061
1061
|
stripe?: StripeSubscription;
|
|
1062
1062
|
updatedAt: Date | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -967,7 +967,6 @@ type UserFormData = {
|
|
|
967
967
|
password?: string | null;
|
|
968
968
|
platform?: EnumOSPlatform;
|
|
969
969
|
preferredRegion: string;
|
|
970
|
-
role: EnumUserRole;
|
|
971
970
|
termsAgreement?: TermsAgreement | null;
|
|
972
971
|
};
|
|
973
972
|
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
@@ -1057,6 +1056,7 @@ type UserType = Omit<UserFormData, "confirmPassword" | "avatarUpload" | "_id"> &
|
|
|
1057
1056
|
promoCodes?: PromoCodeType[] | null;
|
|
1058
1057
|
redeemedRewards?: RedeemedReward[] | null;
|
|
1059
1058
|
refreshToken: string | null;
|
|
1059
|
+
role: EnumUserRole;
|
|
1060
1060
|
school: string | null;
|
|
1061
1061
|
stripe?: StripeSubscription;
|
|
1062
1062
|
updatedAt: Date | null;
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EnumResourceType, EnumOSPlatform } from '../enums/index.mjs';
|
|
2
|
-
export { k as AdFormData, s as AdFormState, t as AdResource, a as AdType, u as AffiliateBankAccountDetailsType, v as AffiliateContactDetails, w as AffiliateDetailsType, i as AffiliateFormData, x as AffiliateResourceType, y as AffiliateRewardType, d as AffiliateType, z as AffiliateUserDefaultFields, n as AppSettingsFormData, b as AppSettingsType, A as AuthPayloadType, B as CreateAdFormData, l as CreateAdFormState, r as CreateAffiliateFormData, o as CreateAppSettingsFormData, C as CreateLoginFormData, m as CreatePartnerFormData, e as CreateRegisterFormData, f as CreateRequestPasswordResetFormData, h as CreateResetPasswordFormData, q as CreateSchoolFormData, g as CreateValidateVerificationTokenFormData, D as EnumAdShowOn, E as EnumAdStatus, F as EnumAdStyle, G as EnumAdType, H as EnumAffiliateParticipantType, I as EnumAffiliateRewardType, J as EnumVerificationType, L as LoginFormData, M as MarketingMaterialRequestInputType, j as PartnerFormData, P as PartnerType, K as PosterInputType, N as RedeemHistoryType, R as RefreshTokenPayloadType, O as RegisterFormData, Q as RequestPasswordResetFormData, T as ResetPasswordFormData, U as SchoolCampaignType, p as SchoolFormData, V as SchoolRegisteredUserType, S as SchoolReturnType, c as SchoolType, W as ValidateVerificationTokenFormData } from '../ad-
|
|
2
|
+
export { k as AdFormData, s as AdFormState, t as AdResource, a as AdType, u as AffiliateBankAccountDetailsType, v as AffiliateContactDetails, w as AffiliateDetailsType, i as AffiliateFormData, x as AffiliateResourceType, y as AffiliateRewardType, d as AffiliateType, z as AffiliateUserDefaultFields, n as AppSettingsFormData, b as AppSettingsType, A as AuthPayloadType, B as CreateAdFormData, l as CreateAdFormState, r as CreateAffiliateFormData, o as CreateAppSettingsFormData, C as CreateLoginFormData, m as CreatePartnerFormData, e as CreateRegisterFormData, f as CreateRequestPasswordResetFormData, h as CreateResetPasswordFormData, q as CreateSchoolFormData, g as CreateValidateVerificationTokenFormData, D as EnumAdShowOn, E as EnumAdStatus, F as EnumAdStyle, G as EnumAdType, H as EnumAffiliateParticipantType, I as EnumAffiliateRewardType, J as EnumVerificationType, L as LoginFormData, M as MarketingMaterialRequestInputType, j as PartnerFormData, P as PartnerType, K as PosterInputType, N as RedeemHistoryType, R as RefreshTokenPayloadType, O as RegisterFormData, Q as RequestPasswordResetFormData, T as ResetPasswordFormData, U as SchoolCampaignType, p as SchoolFormData, V as SchoolRegisteredUserType, S as SchoolReturnType, c as SchoolType, W as ValidateVerificationTokenFormData } from '../ad-Ds-PlS5A.mjs';
|
|
3
3
|
export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-ZPT9JlfH.mjs';
|
|
4
4
|
export { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-b5SfvqmJ.mjs';
|
|
5
5
|
import { c as EventListItemType } from '../global-959zf6qy.mjs';
|
|
6
6
|
export { A as AssociateType, y as BaseGameMap, z as BaseGameType, D as BaseResourceType, B as BaseResourceTypeFormData, C as Category, s as CreateEventFormData, u as CreateEventInfoFormData, H as CreateFormData, w as CreatePostFormData, q as CreateUnregisteredVendorFormData, m as CreateVendorFormData, o as CreateVendorInfoFormData, I as DailyClueBaseGame, J as DailyClueGameData, K as DateTimeType, M as DateTimeWithPriceType, N as DeviceInfo, Q as EnumGameStatus, T as EnumGameType, W as EnumPostContentType, j as EnumPostType, r as EventFormData, t as EventInfoFormData, d as EventInfoType, X as EventStatusType, E as EventType, a as FormDateField, F as FormField, Y as GameDate, G as GameDocType, Z as GameHistory, k as GameLeaderboard, _ as GamePlacement, $ as GamePlacementClue, a0 as GameType, a1 as GeocodeLocation, a2 as GlobalGameData, a3 as ImageObjectType, a4 as LocationGeoType, L as LocationType, a5 as Nullable, O as OptionItem, a6 as OwnerType, a7 as PROMO_CODE_PREFIX, a8 as PaymentInfoType, a9 as PostContentData, aa as PostContentFormData, ab as PostContentGame, ac as PostContentImage, ad as PostContentList, ae as PostContentTextarea, af as PostContentType, ag as PostContentVideo, ah as PostFileInput, v as PostFormData, ai as PostResource, P as PostType, aj as PosterUsageType, ak as PromoCodeType, al as PuzzleAnswer, am as PuzzleAnsweredQuestion, an as PuzzleBaseGame, ao as PuzzleGameData, ap as PuzzleQuestion, R as RefundPolicy, x as Region, aq as RelatedPostType, ar as RelationDate, as as RelationInputType, e as RelationType, b as Requirement, f as ResourceConnectionsType, at as ResourceContactDetailsType, au as ResourceDetails, av as ResourceImageType, aw as SocialMediaType, ax as SocialShareResourceType, S as StallType, ay as Subcategory, az as SubcategoryItems, aA as TermsAgreement, p as UnregisteredVendorFormData, aB as UnregisteredVendorInvitationType, g as UnregisteredVendorType, U as UseGetResourcesByRegionOptions, i as UserLicenceType, aC as VendorAttributes, aD as VendorCalendarData, l as VendorFormData, n as VendorInfoFormData, h as VendorInfoType, aE as VendorProductList, V as VendorType, aF as gameScreenIdentifierList, aG as gameTypeToDisplayName } from '../global-959zf6qy.mjs';
|
|
7
|
-
export { C as CreateUserFormData, d as RedeemRewardInput, R as RedeemRewardResponse, e as RedeemedReward, a as ResourceByUser, S as SafeUserType, f as StripeSubscription, g as SubscriptionPlanData, b as SubscriptionPlansResponse, h as SubscriptionPricingData, c as SubscriptionStatusData, i as UserActivity, j as UserActivityEvent, U as UserFormData, k as UserType } from '../user-
|
|
7
|
+
export { C as CreateUserFormData, d as RedeemRewardInput, R as RedeemRewardResponse, e as RedeemedReward, a as ResourceByUser, S as SafeUserType, f as StripeSubscription, g as SubscriptionPlanData, b as SubscriptionPlansResponse, h as SubscriptionPricingData, c as SubscriptionStatusData, i as UserActivity, j as UserActivityEvent, U as UserFormData, k as UserType } from '../user-CRJN9GQF.mjs';
|
|
8
8
|
export { a as TIERS_BY_PRIORITY, b as TIER_DISPLAY_LABELS, c as TIER_FROM_LICENCE, T as Tier } from '../subscription-bmAdrnfi.mjs';
|
|
9
9
|
import '../images/index.mjs';
|
|
10
10
|
import 'react-hook-form';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EnumResourceType, EnumOSPlatform } from '../enums/index.js';
|
|
2
|
-
export { k as AdFormData, s as AdFormState, t as AdResource, a as AdType, u as AffiliateBankAccountDetailsType, v as AffiliateContactDetails, w as AffiliateDetailsType, i as AffiliateFormData, x as AffiliateResourceType, y as AffiliateRewardType, d as AffiliateType, z as AffiliateUserDefaultFields, n as AppSettingsFormData, b as AppSettingsType, A as AuthPayloadType, B as CreateAdFormData, l as CreateAdFormState, r as CreateAffiliateFormData, o as CreateAppSettingsFormData, C as CreateLoginFormData, m as CreatePartnerFormData, e as CreateRegisterFormData, f as CreateRequestPasswordResetFormData, h as CreateResetPasswordFormData, q as CreateSchoolFormData, g as CreateValidateVerificationTokenFormData, D as EnumAdShowOn, E as EnumAdStatus, F as EnumAdStyle, G as EnumAdType, H as EnumAffiliateParticipantType, I as EnumAffiliateRewardType, J as EnumVerificationType, L as LoginFormData, M as MarketingMaterialRequestInputType, j as PartnerFormData, P as PartnerType, K as PosterInputType, N as RedeemHistoryType, R as RefreshTokenPayloadType, O as RegisterFormData, Q as RequestPasswordResetFormData, T as ResetPasswordFormData, U as SchoolCampaignType, p as SchoolFormData, V as SchoolRegisteredUserType, S as SchoolReturnType, c as SchoolType, W as ValidateVerificationTokenFormData } from '../ad-
|
|
2
|
+
export { k as AdFormData, s as AdFormState, t as AdResource, a as AdType, u as AffiliateBankAccountDetailsType, v as AffiliateContactDetails, w as AffiliateDetailsType, i as AffiliateFormData, x as AffiliateResourceType, y as AffiliateRewardType, d as AffiliateType, z as AffiliateUserDefaultFields, n as AppSettingsFormData, b as AppSettingsType, A as AuthPayloadType, B as CreateAdFormData, l as CreateAdFormState, r as CreateAffiliateFormData, o as CreateAppSettingsFormData, C as CreateLoginFormData, m as CreatePartnerFormData, e as CreateRegisterFormData, f as CreateRequestPasswordResetFormData, h as CreateResetPasswordFormData, q as CreateSchoolFormData, g as CreateValidateVerificationTokenFormData, D as EnumAdShowOn, E as EnumAdStatus, F as EnumAdStyle, G as EnumAdType, H as EnumAffiliateParticipantType, I as EnumAffiliateRewardType, J as EnumVerificationType, L as LoginFormData, M as MarketingMaterialRequestInputType, j as PartnerFormData, P as PartnerType, K as PosterInputType, N as RedeemHistoryType, R as RefreshTokenPayloadType, O as RegisterFormData, Q as RequestPasswordResetFormData, T as ResetPasswordFormData, U as SchoolCampaignType, p as SchoolFormData, V as SchoolRegisteredUserType, S as SchoolReturnType, c as SchoolType, W as ValidateVerificationTokenFormData } from '../ad-CoAxqdwK.js';
|
|
3
3
|
export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-ChZcl5wJ.js';
|
|
4
4
|
export { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-Bwxzw-cB.js';
|
|
5
5
|
import { c as EventListItemType } from '../global-wVC9VaCx.js';
|
|
6
6
|
export { A as AssociateType, y as BaseGameMap, z as BaseGameType, D as BaseResourceType, B as BaseResourceTypeFormData, C as Category, s as CreateEventFormData, u as CreateEventInfoFormData, H as CreateFormData, w as CreatePostFormData, q as CreateUnregisteredVendorFormData, m as CreateVendorFormData, o as CreateVendorInfoFormData, I as DailyClueBaseGame, J as DailyClueGameData, K as DateTimeType, M as DateTimeWithPriceType, N as DeviceInfo, Q as EnumGameStatus, T as EnumGameType, W as EnumPostContentType, j as EnumPostType, r as EventFormData, t as EventInfoFormData, d as EventInfoType, X as EventStatusType, E as EventType, a as FormDateField, F as FormField, Y as GameDate, G as GameDocType, Z as GameHistory, k as GameLeaderboard, _ as GamePlacement, $ as GamePlacementClue, a0 as GameType, a1 as GeocodeLocation, a2 as GlobalGameData, a3 as ImageObjectType, a4 as LocationGeoType, L as LocationType, a5 as Nullable, O as OptionItem, a6 as OwnerType, a7 as PROMO_CODE_PREFIX, a8 as PaymentInfoType, a9 as PostContentData, aa as PostContentFormData, ab as PostContentGame, ac as PostContentImage, ad as PostContentList, ae as PostContentTextarea, af as PostContentType, ag as PostContentVideo, ah as PostFileInput, v as PostFormData, ai as PostResource, P as PostType, aj as PosterUsageType, ak as PromoCodeType, al as PuzzleAnswer, am as PuzzleAnsweredQuestion, an as PuzzleBaseGame, ao as PuzzleGameData, ap as PuzzleQuestion, R as RefundPolicy, x as Region, aq as RelatedPostType, ar as RelationDate, as as RelationInputType, e as RelationType, b as Requirement, f as ResourceConnectionsType, at as ResourceContactDetailsType, au as ResourceDetails, av as ResourceImageType, aw as SocialMediaType, ax as SocialShareResourceType, S as StallType, ay as Subcategory, az as SubcategoryItems, aA as TermsAgreement, p as UnregisteredVendorFormData, aB as UnregisteredVendorInvitationType, g as UnregisteredVendorType, U as UseGetResourcesByRegionOptions, i as UserLicenceType, aC as VendorAttributes, aD as VendorCalendarData, l as VendorFormData, n as VendorInfoFormData, h as VendorInfoType, aE as VendorProductList, V as VendorType, aF as gameScreenIdentifierList, aG as gameTypeToDisplayName } from '../global-wVC9VaCx.js';
|
|
7
|
-
export { C as CreateUserFormData, d as RedeemRewardInput, R as RedeemRewardResponse, e as RedeemedReward, a as ResourceByUser, S as SafeUserType, f as StripeSubscription, g as SubscriptionPlanData, b as SubscriptionPlansResponse, h as SubscriptionPricingData, c as SubscriptionStatusData, i as UserActivity, j as UserActivityEvent, U as UserFormData, k as UserType } from '../user-
|
|
7
|
+
export { C as CreateUserFormData, d as RedeemRewardInput, R as RedeemRewardResponse, e as RedeemedReward, a as ResourceByUser, S as SafeUserType, f as StripeSubscription, g as SubscriptionPlanData, b as SubscriptionPlansResponse, h as SubscriptionPricingData, c as SubscriptionStatusData, i as UserActivity, j as UserActivityEvent, U as UserFormData, k as UserType } from '../user-D27cEk4K.js';
|
|
8
8
|
export { a as TIERS_BY_PRIORITY, b as TIER_DISPLAY_LABELS, c as TIER_FROM_LICENCE, T as Tier } from '../subscription-BU8GvH2K.js';
|
|
9
9
|
import '../images/index.js';
|
|
10
10
|
import 'react-hook-form';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnumOSPlatform,
|
|
1
|
+
import { EnumOSPlatform, EnumReward, EnumUserRole, EnumSubscriptionStatus, EnumUserLicence, EnumNotificationResourceType, EnumResourceType } from './enums/index.mjs';
|
|
2
2
|
import { av as ResourceImageType, L as LocationType, aA as TermsAgreement, A as AssociateType, i as UserLicenceType, ak as PromoCodeType, K as DateTimeType, H as CreateFormData } from './global-959zf6qy.mjs';
|
|
3
3
|
|
|
4
4
|
type UserFormData = {
|
|
@@ -15,7 +15,6 @@ type UserFormData = {
|
|
|
15
15
|
password?: string | null;
|
|
16
16
|
platform?: EnumOSPlatform;
|
|
17
17
|
preferredRegion: string;
|
|
18
|
-
role: EnumUserRole;
|
|
19
18
|
termsAgreement?: TermsAgreement | null;
|
|
20
19
|
};
|
|
21
20
|
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
@@ -105,6 +104,7 @@ type UserType = Omit<UserFormData, "confirmPassword" | "avatarUpload" | "_id"> &
|
|
|
105
104
|
promoCodes?: PromoCodeType[] | null;
|
|
106
105
|
redeemedRewards?: RedeemedReward[] | null;
|
|
107
106
|
refreshToken: string | null;
|
|
107
|
+
role: EnumUserRole;
|
|
108
108
|
school: string | null;
|
|
109
109
|
stripe?: StripeSubscription;
|
|
110
110
|
updatedAt: Date | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnumOSPlatform,
|
|
1
|
+
import { EnumOSPlatform, EnumReward, EnumUserRole, EnumSubscriptionStatus, EnumUserLicence, EnumNotificationResourceType, EnumResourceType } from './enums/index.js';
|
|
2
2
|
import { av as ResourceImageType, L as LocationType, aA as TermsAgreement, A as AssociateType, i as UserLicenceType, ak as PromoCodeType, K as DateTimeType, H as CreateFormData } from './global-wVC9VaCx.js';
|
|
3
3
|
|
|
4
4
|
type UserFormData = {
|
|
@@ -15,7 +15,6 @@ type UserFormData = {
|
|
|
15
15
|
password?: string | null;
|
|
16
16
|
platform?: EnumOSPlatform;
|
|
17
17
|
preferredRegion: string;
|
|
18
|
-
role: EnumUserRole;
|
|
19
18
|
termsAgreement?: TermsAgreement | null;
|
|
20
19
|
};
|
|
21
20
|
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
@@ -105,6 +104,7 @@ type UserType = Omit<UserFormData, "confirmPassword" | "avatarUpload" | "_id"> &
|
|
|
105
104
|
promoCodes?: PromoCodeType[] | null;
|
|
106
105
|
redeemedRewards?: RedeemedReward[] | null;
|
|
107
106
|
refreshToken: string | null;
|
|
107
|
+
role: EnumUserRole;
|
|
108
108
|
school: string | null;
|
|
109
109
|
stripe?: StripeSubscription;
|
|
110
110
|
updatedAt: Date | null;
|