@timardex/cluemart-shared 1.5.713 → 1.5.715
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-H2DRSNAF.mjs → chunk-CIBJ5PEO.mjs} +49 -21
- package/dist/chunk-CIBJ5PEO.mjs.map +1 -0
- package/dist/graphql/index.cjs +49 -20
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +11 -2
- package/dist/graphql/index.d.ts +11 -2
- package/dist/graphql/index.mjs +3 -1
- package/dist/hooks/index.cjs +30 -20
- 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 +49 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.mjs +48 -20
- package/dist/index.mjs.map +1 -1
- package/dist/{post-qUQ2rGL4.d.ts → post-DQ1Zv15Y.d.ts} +8 -1
- package/dist/{post-BEnFqDy7.d.mts → post-D_M4G-Wj.d.mts} +8 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-H2DRSNAF.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, P as PartnerType,
|
|
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-D_M4G-Wj.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';
|
|
@@ -636,6 +636,15 @@ declare const useDeleteUser: () => {
|
|
|
636
636
|
error: _apollo_client.ApolloError | undefined;
|
|
637
637
|
loading: boolean;
|
|
638
638
|
};
|
|
639
|
+
declare const useRedeemReward: () => {
|
|
640
|
+
error: _apollo_client.ApolloError | undefined;
|
|
641
|
+
loading: boolean;
|
|
642
|
+
redeemReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
643
|
+
redeemReward: RedeemRewardResponse;
|
|
644
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
645
|
+
redeemReward: RedeemRewardResponse;
|
|
646
|
+
}>>;
|
|
647
|
+
};
|
|
639
648
|
declare const useAddUserFavouriteResource: () => {
|
|
640
649
|
addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
641
650
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1135,4 +1144,4 @@ declare const useGetSchool: (_id: string) => {
|
|
|
1135
1144
|
school: SchoolReturnType | null;
|
|
1136
1145
|
};
|
|
1137
1146
|
|
|
1138
|
-
export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
|
1147
|
+
export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
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, P as PartnerType,
|
|
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-DQ1Zv15Y.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';
|
|
@@ -636,6 +636,15 @@ declare const useDeleteUser: () => {
|
|
|
636
636
|
error: _apollo_client.ApolloError | undefined;
|
|
637
637
|
loading: boolean;
|
|
638
638
|
};
|
|
639
|
+
declare const useRedeemReward: () => {
|
|
640
|
+
error: _apollo_client.ApolloError | undefined;
|
|
641
|
+
loading: boolean;
|
|
642
|
+
redeemReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
643
|
+
redeemReward: RedeemRewardResponse;
|
|
644
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
645
|
+
redeemReward: RedeemRewardResponse;
|
|
646
|
+
}>>;
|
|
647
|
+
};
|
|
639
648
|
declare const useAddUserFavouriteResource: () => {
|
|
640
649
|
addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
641
650
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1135,4 +1144,4 @@ declare const useGetSchool: (_id: string) => {
|
|
|
1135
1144
|
school: SchoolReturnType | null;
|
|
1136
1145
|
};
|
|
1137
1146
|
|
|
1138
|
-
export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
|
1147
|
+
export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -98,6 +98,7 @@ import {
|
|
|
98
98
|
useMarkAllNotificationsRead,
|
|
99
99
|
useMarkChatMessagesSeen,
|
|
100
100
|
useMarkNotificationRead,
|
|
101
|
+
useRedeemReward,
|
|
101
102
|
useRefreshToken,
|
|
102
103
|
useRegister,
|
|
103
104
|
useRemoveParticipantFromChat,
|
|
@@ -135,7 +136,7 @@ import {
|
|
|
135
136
|
useUpdateVendor,
|
|
136
137
|
useUpdateVendorInfo,
|
|
137
138
|
useValidateVerificationToken
|
|
138
|
-
} from "../chunk-
|
|
139
|
+
} from "../chunk-CIBJ5PEO.mjs";
|
|
139
140
|
import "../chunk-JMOGW4IX.mjs";
|
|
140
141
|
export {
|
|
141
142
|
useAddParticipantToChat,
|
|
@@ -237,6 +238,7 @@ export {
|
|
|
237
238
|
useMarkAllNotificationsRead,
|
|
238
239
|
useMarkChatMessagesSeen,
|
|
239
240
|
useMarkNotificationRead,
|
|
241
|
+
useRedeemReward,
|
|
240
242
|
useRefreshToken,
|
|
241
243
|
useRegister,
|
|
242
244
|
useRemoveParticipantFromChat,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -2377,6 +2377,26 @@ var DATETIME_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2377
2377
|
startTime
|
|
2378
2378
|
}
|
|
2379
2379
|
`;
|
|
2380
|
+
var LOCATION_GEO_FIELDS_FRAGMENT = import_client2.gql`
|
|
2381
|
+
fragment LocationGeoFields on LocationGeoType {
|
|
2382
|
+
coordinates
|
|
2383
|
+
type
|
|
2384
|
+
}
|
|
2385
|
+
`;
|
|
2386
|
+
var LOCATION_FIELDS_FRAGMENT = import_client2.gql`
|
|
2387
|
+
fragment LocationFields on LocationType {
|
|
2388
|
+
city
|
|
2389
|
+
country
|
|
2390
|
+
fullAddress
|
|
2391
|
+
geo {
|
|
2392
|
+
...LocationGeoFields
|
|
2393
|
+
}
|
|
2394
|
+
latitude
|
|
2395
|
+
longitude
|
|
2396
|
+
region
|
|
2397
|
+
}
|
|
2398
|
+
${LOCATION_GEO_FIELDS_FRAGMENT}
|
|
2399
|
+
`;
|
|
2380
2400
|
var USER_ACTIVITY_FIELDS_FRAGMENT = import_client2.gql`
|
|
2381
2401
|
fragment UserActivityFields on UserActivityType {
|
|
2382
2402
|
favourites {
|
|
@@ -2432,6 +2452,9 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2432
2452
|
licences {
|
|
2433
2453
|
...LicenceFields
|
|
2434
2454
|
}
|
|
2455
|
+
location {
|
|
2456
|
+
...LocationFields
|
|
2457
|
+
}
|
|
2435
2458
|
partner
|
|
2436
2459
|
overallPoints
|
|
2437
2460
|
platform
|
|
@@ -2453,6 +2476,7 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2453
2476
|
${TERMS_AGREEMENT_FIELDS_FRAGMENT}
|
|
2454
2477
|
${USER_ACTIVITY_FIELDS_FRAGMENT}
|
|
2455
2478
|
${LICENCE_FIELDS_FRAGMENT}
|
|
2479
|
+
${LOCATION_FIELDS_FRAGMENT}
|
|
2456
2480
|
`;
|
|
2457
2481
|
var STALL_TYPE_FIELDS_FRAGMENT = import_client2.gql`
|
|
2458
2482
|
fragment StallTypeFields on StallTypeType {
|
|
@@ -2489,26 +2513,6 @@ var CONTACT_DETAILS_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2489
2513
|
mobilePhone
|
|
2490
2514
|
}
|
|
2491
2515
|
`;
|
|
2492
|
-
var LOCATION_GEO_FIELDS_FRAGMENT = import_client2.gql`
|
|
2493
|
-
fragment LocationGeoFields on LocationGeoType {
|
|
2494
|
-
coordinates
|
|
2495
|
-
type
|
|
2496
|
-
}
|
|
2497
|
-
`;
|
|
2498
|
-
var LOCATION_FIELDS_FRAGMENT = import_client2.gql`
|
|
2499
|
-
fragment LocationFields on LocationType {
|
|
2500
|
-
city
|
|
2501
|
-
country
|
|
2502
|
-
fullAddress
|
|
2503
|
-
geo {
|
|
2504
|
-
...LocationGeoFields
|
|
2505
|
-
}
|
|
2506
|
-
latitude
|
|
2507
|
-
longitude
|
|
2508
|
-
region
|
|
2509
|
-
}
|
|
2510
|
-
${LOCATION_GEO_FIELDS_FRAGMENT}
|
|
2511
|
-
`;
|
|
2512
2516
|
var EVENT_LIST_ITEM = import_client2.gql`
|
|
2513
2517
|
fragment EventListItemFields on EventListItemType {
|
|
2514
2518
|
_id
|
|
@@ -3813,6 +3817,11 @@ var DELETE_USER_MUTATION = import_client37.gql`
|
|
|
3813
3817
|
deleteUser(email: $email)
|
|
3814
3818
|
}
|
|
3815
3819
|
`;
|
|
3820
|
+
var REDEEM_REWARD_MUTATION = import_client37.gql`
|
|
3821
|
+
mutation redeemReward($input: RedeemRewardInputType!) {
|
|
3822
|
+
redeemReward(input: $input)
|
|
3823
|
+
}
|
|
3824
|
+
`;
|
|
3816
3825
|
var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client37.gql`
|
|
3817
3826
|
mutation addUserFavouriteResource(
|
|
3818
3827
|
$resourceId: ID!
|
|
@@ -4627,6 +4636,7 @@ var import_client69 = require("@apollo/client");
|
|
|
4627
4636
|
var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client69.gql`
|
|
4628
4637
|
fragment SchoolRegisteredUsersFields on SchoolRegisteredUserType {
|
|
4629
4638
|
_id
|
|
4639
|
+
active
|
|
4630
4640
|
avatar {
|
|
4631
4641
|
...ResourceImageFields
|
|
4632
4642
|
}
|