@timardex/cluemart-shared 1.5.719 → 1.5.721
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-CIBJ5PEO.mjs → chunk-KFTS32TG.mjs} +16 -2
- package/dist/chunk-KFTS32TG.mjs.map +1 -0
- package/dist/graphql/index.cjs +15 -1
- 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 +15 -1
- 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 +1 -1
- package/dist/index.cjs +15 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +14 -8
- package/dist/index.d.ts +14 -8
- package/dist/index.mjs +15 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{post-CK-eJuXz.d.mts → post-C3-IUdTA.d.mts} +15 -9
- package/dist/{post-C2hRiow2.d.ts → post-DmsQS24-.d.ts} +15 -9
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-CIBJ5PEO.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
3
|
-
import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as PostType, g as EnumPostType, h as AppSettingsType, G as GameDocType, i as GameLeaderboard, j as SchoolReturnType, k as SchoolType } from '../post-
|
|
3
|
+
import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as PostType, g as EnumPostType, h as AppSettingsType, G as GameDocType, i as GameLeaderboard, j as SchoolReturnType, k as SchoolType } from '../post-C3-IUdTA.mjs';
|
|
4
4
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CZqXBve8.mjs';
|
|
5
5
|
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 } from '../global-BEUzBSyY.mjs';
|
|
6
6
|
import '../images/index.mjs';
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.js';
|
|
3
|
-
import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as PostType, g as EnumPostType, h as AppSettingsType, G as GameDocType, i as GameLeaderboard, j as SchoolReturnType, k as SchoolType } from '../post-
|
|
3
|
+
import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as PostType, g as EnumPostType, h as AppSettingsType, G as GameDocType, i as GameLeaderboard, j as SchoolReturnType, k as SchoolType } from '../post-DmsQS24-.js';
|
|
4
4
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CjJdhVR7.js';
|
|
5
5
|
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 } from '../global-585slmSH.js';
|
|
6
6
|
import '../images/index.js';
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -2445,6 +2445,13 @@ var USER_ACTIVITY_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2445
2445
|
}
|
|
2446
2446
|
${DATETIME_FIELDS_FRAGMENT}
|
|
2447
2447
|
`;
|
|
2448
|
+
var REDEEMED_REWARD_FIELDS_FRAGMENT = import_client2.gql`
|
|
2449
|
+
fragment RedeemedRewardFields on RedeemedRewardType {
|
|
2450
|
+
name
|
|
2451
|
+
pointsUsed
|
|
2452
|
+
redeemedAt
|
|
2453
|
+
}
|
|
2454
|
+
`;
|
|
2448
2455
|
var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
2449
2456
|
fragment UserFields on UserType {
|
|
2450
2457
|
_id
|
|
@@ -2475,6 +2482,9 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2475
2482
|
preferredRegion
|
|
2476
2483
|
promoCodes
|
|
2477
2484
|
role
|
|
2485
|
+
redeemedRewards {
|
|
2486
|
+
...RedeemedRewardFields
|
|
2487
|
+
}
|
|
2478
2488
|
school
|
|
2479
2489
|
termsAgreement {
|
|
2480
2490
|
...TermsAgreementFields
|
|
@@ -2491,6 +2501,7 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2491
2501
|
${USER_ACTIVITY_FIELDS_FRAGMENT}
|
|
2492
2502
|
${LICENCE_FIELDS_FRAGMENT}
|
|
2493
2503
|
${LOCATION_FIELDS_FRAGMENT}
|
|
2504
|
+
${REDEEMED_REWARD_FIELDS_FRAGMENT}
|
|
2494
2505
|
`;
|
|
2495
2506
|
var STALL_TYPE_FIELDS_FRAGMENT = import_client2.gql`
|
|
2496
2507
|
fragment StallTypeFields on StallTypeType {
|
|
@@ -3833,7 +3844,10 @@ var DELETE_USER_MUTATION = import_client37.gql`
|
|
|
3833
3844
|
`;
|
|
3834
3845
|
var REDEEM_REWARD_MUTATION = import_client37.gql`
|
|
3835
3846
|
mutation redeemReward($input: RedeemRewardInputType!) {
|
|
3836
|
-
redeemReward(input: $input)
|
|
3847
|
+
redeemReward(input: $input) {
|
|
3848
|
+
message
|
|
3849
|
+
userId
|
|
3850
|
+
}
|
|
3837
3851
|
}
|
|
3838
3852
|
`;
|
|
3839
3853
|
var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client37.gql`
|