@timardex/cluemart-shared 1.5.519 → 1.5.521
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-6FBQIZD5.mjs → chunk-7VBSTQWX.mjs} +37 -3
- package/dist/{chunk-6FBQIZD5.mjs.map → chunk-7VBSTQWX.mjs.map} +1 -1
- package/dist/{chunk-U3RFZUPB.mjs → chunk-LZ2KFVBV.mjs} +2 -2
- package/dist/{chunk-TZBKOYFM.mjs → chunk-RWA5G6NG.mjs} +1 -1
- package/dist/{chunk-TZBKOYFM.mjs.map → chunk-RWA5G6NG.mjs.map} +1 -1
- package/dist/{chunk-Z6YIR3MO.mjs → chunk-XEIQR6NA.mjs} +2 -2
- package/dist/formFields/index.mjs +3 -3
- package/dist/{game-BunlgBR3.d.mts → game-CC5mxG64.d.mts} +2 -0
- package/dist/{game-BkJDVMMI.d.ts → game-DhiKOr9_.d.ts} +2 -0
- package/dist/graphql/index.cjs +37 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +10 -3
- package/dist/graphql/index.d.ts +10 -3
- package/dist/graphql/index.mjs +3 -1
- package/dist/hooks/index.cjs +27 -1
- 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 +4 -4
- package/dist/index.cjs +37 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.mjs +36 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DAYG3h_p.d.mts → post-BPefBhwH.d.mts} +8 -3
- package/dist/{post-B8c9JmOJ.d.ts → post-kS5CrR6f.d.ts} +8 -3
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-U3RFZUPB.mjs.map → chunk-LZ2KFVBV.mjs.map} +0 -0
- /package/dist/{chunk-Z6YIR3MO.mjs.map → chunk-XEIQR6NA.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ import * as _apollo_client from '@apollo/client';
|
|
|
2
2
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
3
3
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CqrscA5x.mjs';
|
|
4
4
|
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-MMBYi34A.mjs';
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolType } from '../post-
|
|
6
|
-
import { G as GameDocType, a as GameLeaderboard } from '../game-
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolType, f as SchoolRegisteredUserType } from '../post-BPefBhwH.mjs';
|
|
6
|
+
import { G as GameDocType, a as GameLeaderboard } from '../game-CC5mxG64.mjs';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -1050,6 +1050,11 @@ declare const useDeleteSchool: () => {
|
|
|
1050
1050
|
error: _apollo_client.ApolloError | undefined;
|
|
1051
1051
|
loading: boolean;
|
|
1052
1052
|
};
|
|
1053
|
+
declare const useRequestMarketingMaterial: () => {
|
|
1054
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1055
|
+
loading: boolean;
|
|
1056
|
+
requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1057
|
+
};
|
|
1053
1058
|
|
|
1054
1059
|
declare const useGetSchools: () => {
|
|
1055
1060
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1064,8 +1069,10 @@ declare const useGetSchool: (_id: string) => {
|
|
|
1064
1069
|
loading: boolean;
|
|
1065
1070
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1066
1071
|
school: SchoolType | null;
|
|
1072
|
+
users: SchoolRegisteredUserType[] | null;
|
|
1067
1073
|
}>>;
|
|
1068
1074
|
school: SchoolType | null;
|
|
1075
|
+
users: SchoolRegisteredUserType[];
|
|
1069
1076
|
};
|
|
1070
1077
|
|
|
1071
|
-
export { type UseGetEventsByRegionOptions, 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, 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, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
|
1078
|
+
export { type UseGetEventsByRegionOptions, 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, 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, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as _apollo_client from '@apollo/client';
|
|
|
2
2
|
import { EnumResourceType } from '../enums/index.js';
|
|
3
3
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-2FaGRW-i.js';
|
|
4
4
|
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-B0WdAD-8.js';
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolType } from '../post-
|
|
6
|
-
import { G as GameDocType, a as GameLeaderboard } from '../game-
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolType, f as SchoolRegisteredUserType } from '../post-kS5CrR6f.js';
|
|
6
|
+
import { G as GameDocType, a as GameLeaderboard } from '../game-DhiKOr9_.js';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -1050,6 +1050,11 @@ declare const useDeleteSchool: () => {
|
|
|
1050
1050
|
error: _apollo_client.ApolloError | undefined;
|
|
1051
1051
|
loading: boolean;
|
|
1052
1052
|
};
|
|
1053
|
+
declare const useRequestMarketingMaterial: () => {
|
|
1054
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1055
|
+
loading: boolean;
|
|
1056
|
+
requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1057
|
+
};
|
|
1053
1058
|
|
|
1054
1059
|
declare const useGetSchools: () => {
|
|
1055
1060
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1064,8 +1069,10 @@ declare const useGetSchool: (_id: string) => {
|
|
|
1064
1069
|
loading: boolean;
|
|
1065
1070
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1066
1071
|
school: SchoolType | null;
|
|
1072
|
+
users: SchoolRegisteredUserType[] | null;
|
|
1067
1073
|
}>>;
|
|
1068
1074
|
school: SchoolType | null;
|
|
1075
|
+
users: SchoolRegisteredUserType[];
|
|
1069
1076
|
};
|
|
1070
1077
|
|
|
1071
|
-
export { type UseGetEventsByRegionOptions, 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, 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, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
|
1078
|
+
export { type UseGetEventsByRegionOptions, 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, 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, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -105,6 +105,7 @@ import {
|
|
|
105
105
|
useRemoveUserInterestResource,
|
|
106
106
|
useRemoveUserPresentResource,
|
|
107
107
|
useReportChatUser,
|
|
108
|
+
useRequestMarketingMaterial,
|
|
108
109
|
useRequestPasswordReset,
|
|
109
110
|
useResetPassword,
|
|
110
111
|
useSearchEvents,
|
|
@@ -131,7 +132,7 @@ import {
|
|
|
131
132
|
useUpdateVendor,
|
|
132
133
|
useUpdateVendorInfo,
|
|
133
134
|
useValidateVerificationToken
|
|
134
|
-
} from "../chunk-
|
|
135
|
+
} from "../chunk-7VBSTQWX.mjs";
|
|
135
136
|
import "../chunk-534WN2SR.mjs";
|
|
136
137
|
export {
|
|
137
138
|
useAddParticipantToChat,
|
|
@@ -240,6 +241,7 @@ export {
|
|
|
240
241
|
useRemoveUserInterestResource,
|
|
241
242
|
useRemoveUserPresentResource,
|
|
242
243
|
useReportChatUser,
|
|
244
|
+
useRequestMarketingMaterial,
|
|
243
245
|
useRequestPasswordReset,
|
|
244
246
|
useResetPassword,
|
|
245
247
|
useSearchEvents,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -4090,6 +4090,7 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4090
4090
|
`;
|
|
4091
4091
|
var GAME_HISTORY_FIELDS_FRAGMENT = import_client55.gql`
|
|
4092
4092
|
fragment GameHistoryFields on GameHistoryType {
|
|
4093
|
+
createdAt
|
|
4093
4094
|
gameDate {
|
|
4094
4095
|
...GameDateFields
|
|
4095
4096
|
}
|
|
@@ -4109,6 +4110,7 @@ var GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4109
4110
|
`;
|
|
4110
4111
|
var GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
4111
4112
|
fragment GameFields on GameType {
|
|
4113
|
+
_id
|
|
4112
4114
|
active
|
|
4113
4115
|
createdAt
|
|
4114
4116
|
gameData {
|
|
@@ -4373,6 +4375,15 @@ var import_client68 = require("@apollo/client");
|
|
|
4373
4375
|
|
|
4374
4376
|
// src/graphql/queries/school.ts
|
|
4375
4377
|
var import_client67 = require("@apollo/client");
|
|
4378
|
+
var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client67.gql`
|
|
4379
|
+
fragment SchoolRegisteredUsersFields on SchoolRegisteredUserType {
|
|
4380
|
+
_id
|
|
4381
|
+
avatar
|
|
4382
|
+
email
|
|
4383
|
+
firstName
|
|
4384
|
+
lastName
|
|
4385
|
+
}
|
|
4386
|
+
`;
|
|
4376
4387
|
var SCHOOL = import_client67.gql`
|
|
4377
4388
|
fragment SchoolFields on SchoolType {
|
|
4378
4389
|
_id
|
|
@@ -4414,10 +4425,16 @@ var SCHOOL = import_client67.gql`
|
|
|
4414
4425
|
var GET_SCHOOL = import_client67.gql`
|
|
4415
4426
|
query getSchool($_id: ID!) {
|
|
4416
4427
|
school(_id: $_id) {
|
|
4417
|
-
|
|
4428
|
+
school {
|
|
4429
|
+
...SchoolFields
|
|
4430
|
+
}
|
|
4431
|
+
users {
|
|
4432
|
+
...SchoolRegisteredUsersFields
|
|
4433
|
+
}
|
|
4418
4434
|
}
|
|
4419
4435
|
}
|
|
4420
4436
|
${SCHOOL}
|
|
4437
|
+
${SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT}
|
|
4421
4438
|
`;
|
|
4422
4439
|
var GET_SCHOOLS = import_client67.gql`
|
|
4423
4440
|
query getSchools {
|
|
@@ -4450,6 +4467,15 @@ var DELETE_SCHOOL_MUTATION = import_client68.gql`
|
|
|
4450
4467
|
deleteSchool(_id: $_id)
|
|
4451
4468
|
}
|
|
4452
4469
|
`;
|
|
4470
|
+
var REQUEST_MARKETING_MATERIAL_MUTATION = import_client68.gql`
|
|
4471
|
+
mutation requestMarketingMaterial(
|
|
4472
|
+
$input: MarketingMaterialRequestInputType!
|
|
4473
|
+
) {
|
|
4474
|
+
requestMarketingMaterial(input: $input) {
|
|
4475
|
+
message
|
|
4476
|
+
}
|
|
4477
|
+
}
|
|
4478
|
+
`;
|
|
4453
4479
|
|
|
4454
4480
|
// src/graphql/hooks/school/hooksQuery.ts
|
|
4455
4481
|
var import_client70 = require("@apollo/client");
|