@timardex/cluemart-shared 1.4.87 → 1.4.89

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.
@@ -2,7 +2,7 @@ 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, G as GameType } from '../post-CeKM3HVB.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 } from '../post-C3sp4MK_.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -440,7 +440,7 @@ declare const useGetEventRelations: (eventId: string) => {
440
440
  eventRelations: RelationType[];
441
441
  }>>;
442
442
  };
443
- declare const useGetVendorRelations: (vendorId: string) => {
443
+ declare const useGetVendorRelations: (vendorId?: string) => {
444
444
  error: _apollo_client.ApolloError | undefined;
445
445
  loading: boolean;
446
446
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
@@ -985,48 +985,4 @@ declare const useGetAppSettings: () => {
985
985
  }>>;
986
986
  };
987
987
 
988
- declare const useStartGame: () => {
989
- error: _apollo_client.ApolloError | undefined;
990
- loading: boolean;
991
- startGame: (options?: _apollo_client.MutationFunctionOptions<{
992
- startGame: {
993
- _id: string;
994
- };
995
- }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
996
- startGame: {
997
- _id: string;
998
- };
999
- }>>;
1000
- };
1001
- declare const useLeaveGame: () => {
1002
- error: _apollo_client.ApolloError | undefined;
1003
- leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
1004
- leaveGame: {
1005
- userId: string;
1006
- };
1007
- }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1008
- leaveGame: {
1009
- userId: string;
1010
- };
1011
- }>>;
1012
- loading: boolean;
1013
- };
1014
-
1015
- declare const useGetGames: (userId?: string) => {
1016
- error: _apollo_client.ApolloError | undefined;
1017
- games: GameType[];
1018
- loading: boolean;
1019
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1020
- games: GameType[];
1021
- }>>;
1022
- };
1023
- declare const useGetGame: (_id: string) => {
1024
- error: _apollo_client.ApolloError | undefined;
1025
- game: GameType | null;
1026
- loading: boolean;
1027
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1028
- game: GameType | null;
1029
- }>>;
1030
- };
1031
-
1032
- 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, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, 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, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
988
+ 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, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -2,7 +2,7 @@ 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, G as GameType } from '../post-BNPEczKv.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 } from '../post-YUdzRTPS.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -440,7 +440,7 @@ declare const useGetEventRelations: (eventId: string) => {
440
440
  eventRelations: RelationType[];
441
441
  }>>;
442
442
  };
443
- declare const useGetVendorRelations: (vendorId: string) => {
443
+ declare const useGetVendorRelations: (vendorId?: string) => {
444
444
  error: _apollo_client.ApolloError | undefined;
445
445
  loading: boolean;
446
446
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
@@ -985,48 +985,4 @@ declare const useGetAppSettings: () => {
985
985
  }>>;
986
986
  };
987
987
 
988
- declare const useStartGame: () => {
989
- error: _apollo_client.ApolloError | undefined;
990
- loading: boolean;
991
- startGame: (options?: _apollo_client.MutationFunctionOptions<{
992
- startGame: {
993
- _id: string;
994
- };
995
- }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
996
- startGame: {
997
- _id: string;
998
- };
999
- }>>;
1000
- };
1001
- declare const useLeaveGame: () => {
1002
- error: _apollo_client.ApolloError | undefined;
1003
- leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
1004
- leaveGame: {
1005
- userId: string;
1006
- };
1007
- }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1008
- leaveGame: {
1009
- userId: string;
1010
- };
1011
- }>>;
1012
- loading: boolean;
1013
- };
1014
-
1015
- declare const useGetGames: (userId?: string) => {
1016
- error: _apollo_client.ApolloError | undefined;
1017
- games: GameType[];
1018
- loading: boolean;
1019
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1020
- games: GameType[];
1021
- }>>;
1022
- };
1023
- declare const useGetGame: (_id: string) => {
1024
- error: _apollo_client.ApolloError | undefined;
1025
- game: GameType | null;
1026
- loading: boolean;
1027
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1028
- game: GameType | null;
1029
- }>>;
1030
- };
1031
-
1032
- 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, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, 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, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
988
+ 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, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -52,8 +52,6 @@ import {
52
52
  useGetEvents,
53
53
  useGetEventsByRegion,
54
54
  useGetEventsNearMe,
55
- useGetGame,
56
- useGetGames,
57
55
  useGetNotificationCount,
58
56
  useGetNotificationCountSubscription,
59
57
  useGetPartner,
@@ -86,7 +84,6 @@ import {
86
84
  useGetVendorRelations,
87
85
  useGetVendors,
88
86
  useGetVendorsByRegion,
89
- useLeaveGame,
90
87
  useLogin,
91
88
  useLogout,
92
89
  useMarkAllNotificationsRead,
@@ -108,7 +105,6 @@ import {
108
105
  useSelectPackage,
109
106
  useSelectStandardPackage,
110
107
  useSendChatMessage,
111
- useStartGame,
112
108
  useToggleChatMessageLike,
113
109
  useUpdateAd,
114
110
  useUpdateAppSettings,
@@ -124,7 +120,7 @@ import {
124
120
  useUpdateVendor,
125
121
  useUpdateVendorInfo,
126
122
  useValidateVerificationToken
127
- } from "../chunk-MDQZXEX4.mjs";
123
+ } from "../chunk-UPXAFV46.mjs";
128
124
  import "../chunk-USQKKCIA.mjs";
129
125
  export {
130
126
  useAddParticipantToChat,
@@ -180,8 +176,6 @@ export {
180
176
  useGetEvents,
181
177
  useGetEventsByRegion,
182
178
  useGetEventsNearMe,
183
- useGetGame,
184
- useGetGames,
185
179
  useGetNotificationCount,
186
180
  useGetNotificationCountSubscription,
187
181
  useGetPartner,
@@ -214,7 +208,6 @@ export {
214
208
  useGetVendorRelations,
215
209
  useGetVendors,
216
210
  useGetVendorsByRegion,
217
- useLeaveGame,
218
211
  useLogin,
219
212
  useLogout,
220
213
  useMarkAllNotificationsRead,
@@ -236,7 +229,6 @@ export {
236
229
  useSelectPackage,
237
230
  useSelectStandardPackage,
238
231
  useSendChatMessage,
239
- useStartGame,
240
232
  useToggleChatMessageLike,
241
233
  useUpdateAd,
242
234
  useUpdateAppSettings,
@@ -2248,8 +2248,8 @@ var TERMS_AGREEMENT_FIELDS_FRAGMENT = import_client2.gql`
2248
2248
  timestamp
2249
2249
  }
2250
2250
  `;
2251
- var DATETIME_FIELDS_FRAGMENT = import_client2.gql`
2252
- fragment DateTimeFields on DateTimeType {
2251
+ var EVENT_DATETIME_FIELDS_FRAGMENT = import_client2.gql`
2252
+ fragment EventDateTimeFields on EventDateTimeType {
2253
2253
  dateStatus
2254
2254
  endDate
2255
2255
  endTime
@@ -2268,7 +2268,7 @@ var USER_ACTIVITY_FIELDS_FRAGMENT = import_client2.gql`
2268
2268
  events {
2269
2269
  resourceId
2270
2270
  dateTime {
2271
- ...DateTimeFields
2271
+ ...EventDateTimeFields
2272
2272
  }
2273
2273
  }
2274
2274
  }
@@ -2276,7 +2276,7 @@ var USER_ACTIVITY_FIELDS_FRAGMENT = import_client2.gql`
2276
2276
  events {
2277
2277
  resourceId
2278
2278
  dateTime {
2279
- ...DateTimeFields
2279
+ ...EventDateTimeFields
2280
2280
  }
2281
2281
  }
2282
2282
  }
@@ -2284,12 +2284,12 @@ var USER_ACTIVITY_FIELDS_FRAGMENT = import_client2.gql`
2284
2284
  events {
2285
2285
  resourceId
2286
2286
  dateTime {
2287
- ...DateTimeFields
2287
+ ...EventDateTimeFields
2288
2288
  }
2289
2289
  }
2290
2290
  }
2291
2291
  }
2292
- ${DATETIME_FIELDS_FRAGMENT}
2292
+ ${EVENT_DATETIME_FIELDS_FRAGMENT}
2293
2293
  `;
2294
2294
  var USER_FIELDS_FRAGMENT = import_client2.gql`
2295
2295
  fragment UserFields on UserType {
@@ -2306,14 +2306,12 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
2306
2306
  email
2307
2307
  events
2308
2308
  firstName
2309
- games
2310
2309
  isTester
2311
2310
  lastName
2312
2311
  licences {
2313
2312
  ...LicenceFields
2314
2313
  }
2315
2314
  partner
2316
- points
2317
2315
  platform
2318
2316
  preferredRegion
2319
2317
  promoCodes
@@ -2399,7 +2397,7 @@ var EVENT_LIST_ITEM = import_client2.gql`
2399
2397
  }
2400
2398
  createdAt
2401
2399
  dateTime {
2402
- ...DateTimeFields
2400
+ ...EventDateTimeFields
2403
2401
  }
2404
2402
  deletedAt
2405
2403
  description
@@ -2427,7 +2425,7 @@ var EVENT_LIST_ITEM = import_client2.gql`
2427
2425
  reviewCount
2428
2426
  updatedAt
2429
2427
  }
2430
- ${DATETIME_FIELDS_FRAGMENT}
2428
+ ${EVENT_DATETIME_FIELDS_FRAGMENT}
2431
2429
  ${LOCATION_FIELDS_FRAGMENT}
2432
2430
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
2433
2431
  ${RELATION_DATES_FRAGMENT}
@@ -2487,7 +2485,7 @@ var EVENT = import_client3.gql`
2487
2485
  ...ContactDetailsFields
2488
2486
  }
2489
2487
  dateTime {
2490
- ...DateTimeFields
2488
+ ...EventDateTimeFields
2491
2489
  }
2492
2490
  description
2493
2491
  deletedAt
@@ -2532,7 +2530,7 @@ var EVENT = import_client3.gql`
2532
2530
  }
2533
2531
  updatedAt
2534
2532
  }
2535
- ${DATETIME_FIELDS_FRAGMENT}
2533
+ ${EVENT_DATETIME_FIELDS_FRAGMENT}
2536
2534
  ${LOCATION_FIELDS_FRAGMENT}
2537
2535
  ${OWNER_FIELDS_FRAGMENT}
2538
2536
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
@@ -2760,14 +2758,14 @@ var VENDOR_INFO = import_client4.gql`
2760
2758
  var UNREGISTERED_VENDOR_INVITATION_FRAGMENT = import_client4.gql`
2761
2759
  fragment UnregisteredVendorInvitationFields on UnregisteredVendorInvitationType {
2762
2760
  dateTime {
2763
- ...DateTimeFields
2761
+ ...EventDateTimeFields
2764
2762
  }
2765
2763
  eventId
2766
2764
  location {
2767
2765
  ...LocationFields
2768
2766
  }
2769
2767
  }
2770
- ${DATETIME_FIELDS_FRAGMENT}
2768
+ ${EVENT_DATETIME_FIELDS_FRAGMENT}
2771
2769
  ${LOCATION_FIELDS_FRAGMENT}
2772
2770
  `;
2773
2771
  var UNREGISTERED_VENDOR = import_client4.gql`
@@ -3524,7 +3522,7 @@ var GET_EVENT_RELATIONS = import_client30.gql`
3524
3522
  ${RELATION_FIELDS_FRAGMENT}
3525
3523
  `;
3526
3524
  var GET_VENDOR_RELATIONS = import_client30.gql`
3527
- query getVendorRelations($vendorId: ID!) {
3525
+ query getVendorRelations($vendorId: ID) {
3528
3526
  vendorRelations(vendorId: $vendorId) {
3529
3527
  ...RelationFields
3530
3528
  }
@@ -4039,79 +4037,15 @@ var DELETE_PARTNER_MUTATION = import_client52.gql`
4039
4037
  var import_client54 = require("@apollo/client");
4040
4038
 
4041
4039
  // src/graphql/hooks/post/hooksMutation.ts
4042
- var import_client58 = require("@apollo/client");
4043
-
4044
- // src/graphql/mutations/post.ts
4045
4040
  var import_client57 = require("@apollo/client");
4046
4041
 
4047
- // src/graphql/queries/post.ts
4042
+ // src/graphql/mutations/post.ts
4048
4043
  var import_client56 = require("@apollo/client");
4049
4044
 
4050
- // src/graphql/queries/game.ts
4051
- var import_client55 = require("@apollo/client");
4052
- var BASE_GAME_FIELDS_FRAGMENT = import_client55.gql`
4053
- fragment BaseGameFields on BaseGameType {
4054
- gameDate {
4055
- startDate
4056
- endDate
4057
- }
4058
- gameSolution
4059
- gameType
4060
- title
4061
- }
4062
- `;
4063
- var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
4064
- fragment DailyClueGameDataFields on DailyClueGameDataType {
4065
- ...BaseGameFields
4066
- collectedLetters
4067
- lastFoundDate
4068
- points
4069
- streak
4070
- }
4071
- ${BASE_GAME_FIELDS_FRAGMENT}
4072
- `;
4073
- var GAME_FIELDS_FRAGMENT = import_client55.gql`
4074
- fragment GameFields on GameType {
4075
- _id
4076
- active
4077
- createdAt
4078
- deletedAt
4079
- gameData {
4080
- dailyClue {
4081
- ...DailyClueGameDataFields
4082
- }
4083
- }
4084
- updatedAt
4085
- owner {
4086
- ...OwnerFields
4087
- }
4088
- }
4089
- ${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
4090
- ${OWNER_FIELDS_FRAGMENT}
4091
- `;
4092
- var GET_GAMES = import_client55.gql`
4093
- query getGames($userId: ID) {
4094
- games(userId: $userId) {
4095
- ...GameFields
4096
- }
4097
- }
4098
- ${GAME_FIELDS_FRAGMENT}
4099
- `;
4100
- var GET_GAME = import_client55.gql`
4101
- query getGame($_id: ID!) {
4102
- game(_id: $_id) {
4103
- ...GameFields
4104
- }
4105
- }
4106
- ${GAME_FIELDS_FRAGMENT}
4107
- `;
4108
-
4109
4045
  // src/graphql/queries/post.ts
4110
- var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client56.gql`
4046
+ var import_client55 = require("@apollo/client");
4047
+ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client55.gql`
4111
4048
  fragment PostContentDataFields on PostContentData {
4112
- game {
4113
- ...BaseGameFields
4114
- }
4115
4049
  textarea {
4116
4050
  title
4117
4051
  data
@@ -4131,9 +4065,8 @@ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client56.gql`
4131
4065
  }
4132
4066
  }
4133
4067
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
4134
- ${BASE_GAME_FIELDS_FRAGMENT}
4135
4068
  `;
4136
- var POST_CONTENT_FIELDS_FRAGMENT = import_client56.gql`
4069
+ var POST_CONTENT_FIELDS_FRAGMENT = import_client55.gql`
4137
4070
  fragment PostContentFields on PostContentType {
4138
4071
  contentData {
4139
4072
  ...PostContentDataFields
@@ -4143,7 +4076,7 @@ var POST_CONTENT_FIELDS_FRAGMENT = import_client56.gql`
4143
4076
  }
4144
4077
  ${POST_CONTENT_DATA_FIELDS_FRAGMENT}
4145
4078
  `;
4146
- var POST_FIELDS_FRAGMENT = import_client56.gql`
4079
+ var POST_FIELDS_FRAGMENT = import_client55.gql`
4147
4080
  fragment PostFields on PostType {
4148
4081
  _id
4149
4082
  active
@@ -4168,7 +4101,7 @@ var POST_FIELDS_FRAGMENT = import_client56.gql`
4168
4101
  ${POST_CONTENT_FIELDS_FRAGMENT}
4169
4102
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
4170
4103
  `;
4171
- var GET_POSTS = import_client56.gql`
4104
+ var GET_POSTS = import_client55.gql`
4172
4105
  query getPosts {
4173
4106
  posts {
4174
4107
  ...PostFields
@@ -4176,7 +4109,7 @@ var GET_POSTS = import_client56.gql`
4176
4109
  }
4177
4110
  ${POST_FIELDS_FRAGMENT}
4178
4111
  `;
4179
- var GET_POST = import_client56.gql`
4112
+ var GET_POST = import_client55.gql`
4180
4113
  query getPost($_id: ID!) {
4181
4114
  post(_id: $_id) {
4182
4115
  ...PostFields
@@ -4184,7 +4117,7 @@ var GET_POST = import_client56.gql`
4184
4117
  }
4185
4118
  ${POST_FIELDS_FRAGMENT}
4186
4119
  `;
4187
- var GET_POSTS_BY_TYPE = import_client56.gql`
4120
+ var GET_POSTS_BY_TYPE = import_client55.gql`
4188
4121
  query getPostsByType($postType: PostTypeEnum!) {
4189
4122
  postsByType(postType: $postType) {
4190
4123
  ...PostFields
@@ -4194,7 +4127,7 @@ var GET_POSTS_BY_TYPE = import_client56.gql`
4194
4127
  `;
4195
4128
 
4196
4129
  // src/graphql/mutations/post.ts
4197
- var CREATE_POST_MUTATION = import_client57.gql`
4130
+ var CREATE_POST_MUTATION = import_client56.gql`
4198
4131
  mutation createPost($input: PostInputType!) {
4199
4132
  createPost(input: $input) {
4200
4133
  ...PostFields
@@ -4202,7 +4135,7 @@ var CREATE_POST_MUTATION = import_client57.gql`
4202
4135
  }
4203
4136
  ${POST_FIELDS_FRAGMENT}
4204
4137
  `;
4205
- var UPDATE_POST_MUTATION = import_client57.gql`
4138
+ var UPDATE_POST_MUTATION = import_client56.gql`
4206
4139
  mutation updatePost($_id: ID!, $input: PostInputType!) {
4207
4140
  updatePost(_id: $_id, input: $input) {
4208
4141
  ...PostFields
@@ -4210,33 +4143,33 @@ var UPDATE_POST_MUTATION = import_client57.gql`
4210
4143
  }
4211
4144
  ${POST_FIELDS_FRAGMENT}
4212
4145
  `;
4213
- var DELETE_POST_MUTATION = import_client57.gql`
4146
+ var DELETE_POST_MUTATION = import_client56.gql`
4214
4147
  mutation deletePost($_id: ID!) {
4215
4148
  deletePost(_id: $_id)
4216
4149
  }
4217
4150
  `;
4218
4151
 
4219
4152
  // src/graphql/hooks/post/hooksQuery.ts
4220
- var import_client59 = require("@apollo/client");
4153
+ var import_client58 = require("@apollo/client");
4221
4154
 
4222
4155
  // src/graphql/hooks/appSettings/hooksMutation.ts
4223
- var import_client62 = require("@apollo/client");
4156
+ var import_client61 = require("@apollo/client");
4224
4157
 
4225
4158
  // src/graphql/mutations/appSettings.ts
4226
- var import_client60 = require("@apollo/client");
4227
- var UPDATE_APP_SETTINGS_MUTATION = import_client60.gql`
4159
+ var import_client59 = require("@apollo/client");
4160
+ var UPDATE_APP_SETTINGS_MUTATION = import_client59.gql`
4228
4161
  mutation updateAppSettings($input: AppSettingsInputType!) {
4229
4162
  updateAppSettings(input: $input)
4230
4163
  }
4231
4164
  `;
4232
- var CRAWL_GOOGLE_MARKETS_MUTATION = import_client60.gql`
4165
+ var CRAWL_GOOGLE_MARKETS_MUTATION = import_client59.gql`
4233
4166
  mutation crawlGoogleMarkets {
4234
4167
  crawlGoogleMarkets {
4235
4168
  message
4236
4169
  }
4237
4170
  }
4238
4171
  `;
4239
- var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client60.gql`
4172
+ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client59.gql`
4240
4173
  mutation updateGoogleImportedMarkets {
4241
4174
  updateGoogleImportedMarkets {
4242
4175
  message
@@ -4245,8 +4178,8 @@ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client60.gql`
4245
4178
  `;
4246
4179
 
4247
4180
  // src/graphql/queries/appSettings.ts
4248
- var import_client61 = require("@apollo/client");
4249
- var APP_SETTINGS_FIELDS_FRAGMENT = import_client61.gql`
4181
+ var import_client60 = require("@apollo/client");
4182
+ var APP_SETTINGS_FIELDS_FRAGMENT = import_client60.gql`
4250
4183
  fragment AppSettingsFields on AppSettingsType {
4251
4184
  _id
4252
4185
  appVersion
@@ -4256,7 +4189,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client61.gql`
4256
4189
  updatedAt
4257
4190
  }
4258
4191
  `;
4259
- var GET_APP_SETTINGS = import_client61.gql`
4192
+ var GET_APP_SETTINGS = import_client60.gql`
4260
4193
  query getAppSettings {
4261
4194
  appSettings {
4262
4195
  ...AppSettingsFields
@@ -4266,31 +4199,7 @@ var GET_APP_SETTINGS = import_client61.gql`
4266
4199
  `;
4267
4200
 
4268
4201
  // src/graphql/hooks/appSettings/hooksQuery.ts
4269
- var import_client63 = require("@apollo/client");
4270
-
4271
- // src/graphql/hooks/game/hooksMutation.ts
4272
- var import_client65 = require("@apollo/client");
4273
-
4274
- // src/graphql/mutations/game.ts
4275
- var import_client64 = require("@apollo/client");
4276
- var START_GAME_MUTATION = import_client64.gql`
4277
- mutation startGame($input: GameInputType!) {
4278
- startGame(input: $input) {
4279
- ...GameFields
4280
- }
4281
- }
4282
- ${GAME_FIELDS_FRAGMENT}
4283
- `;
4284
- var LEAVE_GAME_MUTATION = import_client64.gql`
4285
- mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
4286
- leaveGame(_id: $_id, gameType: $gameType) {
4287
- userId
4288
- }
4289
- }
4290
- `;
4291
-
4292
- // src/graphql/hooks/game/hooksQuery.ts
4293
- var import_client66 = require("@apollo/client");
4202
+ var import_client62 = require("@apollo/client");
4294
4203
 
4295
4204
  // src/types/post.ts
4296
4205
  var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
@@ -4300,7 +4209,6 @@ var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
4300
4209
  return EnumPostType2;
4301
4210
  })(EnumPostType || {});
4302
4211
  var EnumPostContentType = /* @__PURE__ */ ((EnumPostContentType2) => {
4303
- EnumPostContentType2["GAME"] = "game";
4304
4212
  EnumPostContentType2["IMAGE"] = "image";
4305
4213
  EnumPostContentType2["LIST"] = "list";
4306
4214
  EnumPostContentType2["TEXTAREA"] = "textarea";