@timardex/cluemart-shared 1.4.93 → 1.4.95
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-BCA2SXOG.mjs → chunk-AO6V6GMT.mjs} +182 -31
- package/dist/chunk-AO6V6GMT.mjs.map +1 -0
- package/dist/{chunk-DQ6UJCMJ.mjs → chunk-DQNJKQTY.mjs} +10 -2
- package/dist/chunk-DQNJKQTY.mjs.map +1 -0
- package/dist/graphql/index.cjs +198 -43
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +46 -2
- package/dist/graphql/index.d.ts +46 -2
- package/dist/graphql/index.mjs +9 -1
- package/dist/hooks/index.cjs +128 -33
- 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 +2 -2
- package/dist/index.cjs +207 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +88 -2
- package/dist/index.d.ts +88 -2
- package/dist/index.mjs +188 -29
- package/dist/index.mjs.map +1 -1
- package/dist/{post-C3sp4MK_.d.mts → post-BAUVZFAG.d.mts} +45 -3
- package/dist/{post-YUdzRTPS.d.ts → post-D_AB5f0f.d.ts} +45 -3
- package/dist/types/index.cjs +9 -0
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +3 -1
- package/package.json +7 -7
- package/dist/chunk-BCA2SXOG.mjs.map +0 -1
- package/dist/chunk-DQ6UJCMJ.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -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 } from '../post-
|
|
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-BAUVZFAG.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -985,4 +985,48 @@ declare const useGetAppSettings: () => {
|
|
|
985
985
|
}>>;
|
|
986
986
|
};
|
|
987
987
|
|
|
988
|
-
|
|
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 };
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -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 } from '../post-
|
|
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-D_AB5f0f.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -985,4 +985,48 @@ declare const useGetAppSettings: () => {
|
|
|
985
985
|
}>>;
|
|
986
986
|
};
|
|
987
987
|
|
|
988
|
-
|
|
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 };
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -52,6 +52,8 @@ import {
|
|
|
52
52
|
useGetEvents,
|
|
53
53
|
useGetEventsByRegion,
|
|
54
54
|
useGetEventsNearMe,
|
|
55
|
+
useGetGame,
|
|
56
|
+
useGetGames,
|
|
55
57
|
useGetNotificationCount,
|
|
56
58
|
useGetNotificationCountSubscription,
|
|
57
59
|
useGetPartner,
|
|
@@ -84,6 +86,7 @@ import {
|
|
|
84
86
|
useGetVendorRelations,
|
|
85
87
|
useGetVendors,
|
|
86
88
|
useGetVendorsByRegion,
|
|
89
|
+
useLeaveGame,
|
|
87
90
|
useLogin,
|
|
88
91
|
useLogout,
|
|
89
92
|
useMarkAllNotificationsRead,
|
|
@@ -105,6 +108,7 @@ import {
|
|
|
105
108
|
useSelectPackage,
|
|
106
109
|
useSelectStandardPackage,
|
|
107
110
|
useSendChatMessage,
|
|
111
|
+
useStartGame,
|
|
108
112
|
useToggleChatMessageLike,
|
|
109
113
|
useUpdateAd,
|
|
110
114
|
useUpdateAppSettings,
|
|
@@ -120,7 +124,7 @@ import {
|
|
|
120
124
|
useUpdateVendor,
|
|
121
125
|
useUpdateVendorInfo,
|
|
122
126
|
useValidateVerificationToken
|
|
123
|
-
} from "../chunk-
|
|
127
|
+
} from "../chunk-AO6V6GMT.mjs";
|
|
124
128
|
import "../chunk-USQKKCIA.mjs";
|
|
125
129
|
export {
|
|
126
130
|
useAddParticipantToChat,
|
|
@@ -176,6 +180,8 @@ export {
|
|
|
176
180
|
useGetEvents,
|
|
177
181
|
useGetEventsByRegion,
|
|
178
182
|
useGetEventsNearMe,
|
|
183
|
+
useGetGame,
|
|
184
|
+
useGetGames,
|
|
179
185
|
useGetNotificationCount,
|
|
180
186
|
useGetNotificationCountSubscription,
|
|
181
187
|
useGetPartner,
|
|
@@ -208,6 +214,7 @@ export {
|
|
|
208
214
|
useGetVendorRelations,
|
|
209
215
|
useGetVendors,
|
|
210
216
|
useGetVendorsByRegion,
|
|
217
|
+
useLeaveGame,
|
|
211
218
|
useLogin,
|
|
212
219
|
useLogout,
|
|
213
220
|
useMarkAllNotificationsRead,
|
|
@@ -229,6 +236,7 @@ export {
|
|
|
229
236
|
useSelectPackage,
|
|
230
237
|
useSelectStandardPackage,
|
|
231
238
|
useSendChatMessage,
|
|
239
|
+
useStartGame,
|
|
232
240
|
useToggleChatMessageLike,
|
|
233
241
|
useUpdateAd,
|
|
234
242
|
useUpdateAppSettings,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -2248,8 +2248,8 @@ var TERMS_AGREEMENT_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2248
2248
|
timestamp
|
|
2249
2249
|
}
|
|
2250
2250
|
`;
|
|
2251
|
-
var
|
|
2252
|
-
fragment
|
|
2251
|
+
var DATETIME_FIELDS_FRAGMENT = import_client2.gql`
|
|
2252
|
+
fragment DateTimeFields on DateTimeType {
|
|
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
|
-
...
|
|
2271
|
+
...DateTimeFields
|
|
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
|
-
...
|
|
2279
|
+
...DateTimeFields
|
|
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
|
-
...
|
|
2287
|
+
...DateTimeFields
|
|
2288
2288
|
}
|
|
2289
2289
|
}
|
|
2290
2290
|
}
|
|
2291
2291
|
}
|
|
2292
|
-
${
|
|
2292
|
+
${DATETIME_FIELDS_FRAGMENT}
|
|
2293
2293
|
`;
|
|
2294
2294
|
var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
2295
2295
|
fragment UserFields on UserType {
|
|
@@ -2306,12 +2306,14 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2306
2306
|
email
|
|
2307
2307
|
events
|
|
2308
2308
|
firstName
|
|
2309
|
+
games
|
|
2309
2310
|
isTester
|
|
2310
2311
|
lastName
|
|
2311
2312
|
licences {
|
|
2312
2313
|
...LicenceFields
|
|
2313
2314
|
}
|
|
2314
2315
|
partner
|
|
2316
|
+
overallPoints
|
|
2315
2317
|
platform
|
|
2316
2318
|
preferredRegion
|
|
2317
2319
|
promoCodes
|
|
@@ -2397,7 +2399,7 @@ var EVENT_LIST_ITEM = import_client2.gql`
|
|
|
2397
2399
|
}
|
|
2398
2400
|
createdAt
|
|
2399
2401
|
dateTime {
|
|
2400
|
-
...
|
|
2402
|
+
...DateTimeFields
|
|
2401
2403
|
}
|
|
2402
2404
|
deletedAt
|
|
2403
2405
|
description
|
|
@@ -2425,7 +2427,7 @@ var EVENT_LIST_ITEM = import_client2.gql`
|
|
|
2425
2427
|
reviewCount
|
|
2426
2428
|
updatedAt
|
|
2427
2429
|
}
|
|
2428
|
-
${
|
|
2430
|
+
${DATETIME_FIELDS_FRAGMENT}
|
|
2429
2431
|
${LOCATION_FIELDS_FRAGMENT}
|
|
2430
2432
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
2431
2433
|
${RELATION_DATES_FRAGMENT}
|
|
@@ -2485,7 +2487,7 @@ var EVENT = import_client3.gql`
|
|
|
2485
2487
|
...ContactDetailsFields
|
|
2486
2488
|
}
|
|
2487
2489
|
dateTime {
|
|
2488
|
-
...
|
|
2490
|
+
...DateTimeFields
|
|
2489
2491
|
}
|
|
2490
2492
|
description
|
|
2491
2493
|
deletedAt
|
|
@@ -2530,7 +2532,7 @@ var EVENT = import_client3.gql`
|
|
|
2530
2532
|
}
|
|
2531
2533
|
updatedAt
|
|
2532
2534
|
}
|
|
2533
|
-
${
|
|
2535
|
+
${DATETIME_FIELDS_FRAGMENT}
|
|
2534
2536
|
${LOCATION_FIELDS_FRAGMENT}
|
|
2535
2537
|
${OWNER_FIELDS_FRAGMENT}
|
|
2536
2538
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
@@ -2758,14 +2760,14 @@ var VENDOR_INFO = import_client4.gql`
|
|
|
2758
2760
|
var UNREGISTERED_VENDOR_INVITATION_FRAGMENT = import_client4.gql`
|
|
2759
2761
|
fragment UnregisteredVendorInvitationFields on UnregisteredVendorInvitationType {
|
|
2760
2762
|
dateTime {
|
|
2761
|
-
...
|
|
2763
|
+
...DateTimeFields
|
|
2762
2764
|
}
|
|
2763
2765
|
eventId
|
|
2764
2766
|
location {
|
|
2765
2767
|
...LocationFields
|
|
2766
2768
|
}
|
|
2767
2769
|
}
|
|
2768
|
-
${
|
|
2770
|
+
${DATETIME_FIELDS_FRAGMENT}
|
|
2769
2771
|
${LOCATION_FIELDS_FRAGMENT}
|
|
2770
2772
|
`;
|
|
2771
2773
|
var UNREGISTERED_VENDOR = import_client4.gql`
|
|
@@ -4037,15 +4039,82 @@ var DELETE_PARTNER_MUTATION = import_client52.gql`
|
|
|
4037
4039
|
var import_client54 = require("@apollo/client");
|
|
4038
4040
|
|
|
4039
4041
|
// src/graphql/hooks/post/hooksMutation.ts
|
|
4040
|
-
var
|
|
4042
|
+
var import_client58 = require("@apollo/client");
|
|
4041
4043
|
|
|
4042
4044
|
// src/graphql/mutations/post.ts
|
|
4043
|
-
var
|
|
4045
|
+
var import_client57 = require("@apollo/client");
|
|
4044
4046
|
|
|
4045
4047
|
// src/graphql/queries/post.ts
|
|
4048
|
+
var import_client56 = require("@apollo/client");
|
|
4049
|
+
|
|
4050
|
+
// src/graphql/queries/game.ts
|
|
4046
4051
|
var import_client55 = require("@apollo/client");
|
|
4047
|
-
var
|
|
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
|
+
gameFields {
|
|
4066
|
+
...BaseGameFields
|
|
4067
|
+
}
|
|
4068
|
+
collectedLetters
|
|
4069
|
+
lastFoundDate
|
|
4070
|
+
points
|
|
4071
|
+
streak
|
|
4072
|
+
}
|
|
4073
|
+
${BASE_GAME_FIELDS_FRAGMENT}
|
|
4074
|
+
`;
|
|
4075
|
+
var GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
4076
|
+
fragment GameFields on GameType {
|
|
4077
|
+
_id
|
|
4078
|
+
active
|
|
4079
|
+
createdAt
|
|
4080
|
+
deletedAt
|
|
4081
|
+
gameData {
|
|
4082
|
+
dailyClue {
|
|
4083
|
+
...DailyClueGameDataFields
|
|
4084
|
+
}
|
|
4085
|
+
}
|
|
4086
|
+
updatedAt
|
|
4087
|
+
owner {
|
|
4088
|
+
...OwnerFields
|
|
4089
|
+
}
|
|
4090
|
+
points
|
|
4091
|
+
}
|
|
4092
|
+
${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
|
|
4093
|
+
${OWNER_FIELDS_FRAGMENT}
|
|
4094
|
+
`;
|
|
4095
|
+
var GET_GAMES = import_client55.gql`
|
|
4096
|
+
query getGames($userId: ID) {
|
|
4097
|
+
games(userId: $userId) {
|
|
4098
|
+
...GameFields
|
|
4099
|
+
}
|
|
4100
|
+
}
|
|
4101
|
+
${GAME_FIELDS_FRAGMENT}
|
|
4102
|
+
`;
|
|
4103
|
+
var GET_GAME = import_client55.gql`
|
|
4104
|
+
query getGame($_id: ID!) {
|
|
4105
|
+
game(_id: $_id) {
|
|
4106
|
+
...GameFields
|
|
4107
|
+
}
|
|
4108
|
+
}
|
|
4109
|
+
${GAME_FIELDS_FRAGMENT}
|
|
4110
|
+
`;
|
|
4111
|
+
|
|
4112
|
+
// src/graphql/queries/post.ts
|
|
4113
|
+
var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client56.gql`
|
|
4048
4114
|
fragment PostContentDataFields on PostContentData {
|
|
4115
|
+
game {
|
|
4116
|
+
...BaseGameFields
|
|
4117
|
+
}
|
|
4049
4118
|
textarea {
|
|
4050
4119
|
title
|
|
4051
4120
|
data
|
|
@@ -4065,8 +4134,9 @@ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4065
4134
|
}
|
|
4066
4135
|
}
|
|
4067
4136
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
4137
|
+
${BASE_GAME_FIELDS_FRAGMENT}
|
|
4068
4138
|
`;
|
|
4069
|
-
var POST_CONTENT_FIELDS_FRAGMENT =
|
|
4139
|
+
var POST_CONTENT_FIELDS_FRAGMENT = import_client56.gql`
|
|
4070
4140
|
fragment PostContentFields on PostContentType {
|
|
4071
4141
|
contentData {
|
|
4072
4142
|
...PostContentDataFields
|
|
@@ -4076,7 +4146,7 @@ var POST_CONTENT_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4076
4146
|
}
|
|
4077
4147
|
${POST_CONTENT_DATA_FIELDS_FRAGMENT}
|
|
4078
4148
|
`;
|
|
4079
|
-
var POST_FIELDS_FRAGMENT =
|
|
4149
|
+
var POST_FIELDS_FRAGMENT = import_client56.gql`
|
|
4080
4150
|
fragment PostFields on PostType {
|
|
4081
4151
|
_id
|
|
4082
4152
|
active
|
|
@@ -4101,7 +4171,7 @@ var POST_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4101
4171
|
${POST_CONTENT_FIELDS_FRAGMENT}
|
|
4102
4172
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
4103
4173
|
`;
|
|
4104
|
-
var GET_POSTS =
|
|
4174
|
+
var GET_POSTS = import_client56.gql`
|
|
4105
4175
|
query getPosts {
|
|
4106
4176
|
posts {
|
|
4107
4177
|
...PostFields
|
|
@@ -4109,7 +4179,7 @@ var GET_POSTS = import_client55.gql`
|
|
|
4109
4179
|
}
|
|
4110
4180
|
${POST_FIELDS_FRAGMENT}
|
|
4111
4181
|
`;
|
|
4112
|
-
var GET_POST =
|
|
4182
|
+
var GET_POST = import_client56.gql`
|
|
4113
4183
|
query getPost($_id: ID!) {
|
|
4114
4184
|
post(_id: $_id) {
|
|
4115
4185
|
...PostFields
|
|
@@ -4117,7 +4187,7 @@ var GET_POST = import_client55.gql`
|
|
|
4117
4187
|
}
|
|
4118
4188
|
${POST_FIELDS_FRAGMENT}
|
|
4119
4189
|
`;
|
|
4120
|
-
var GET_POSTS_BY_TYPE =
|
|
4190
|
+
var GET_POSTS_BY_TYPE = import_client56.gql`
|
|
4121
4191
|
query getPostsByType($postType: PostTypeEnum!) {
|
|
4122
4192
|
postsByType(postType: $postType) {
|
|
4123
4193
|
...PostFields
|
|
@@ -4127,7 +4197,7 @@ var GET_POSTS_BY_TYPE = import_client55.gql`
|
|
|
4127
4197
|
`;
|
|
4128
4198
|
|
|
4129
4199
|
// src/graphql/mutations/post.ts
|
|
4130
|
-
var CREATE_POST_MUTATION =
|
|
4200
|
+
var CREATE_POST_MUTATION = import_client57.gql`
|
|
4131
4201
|
mutation createPost($input: PostInputType!) {
|
|
4132
4202
|
createPost(input: $input) {
|
|
4133
4203
|
...PostFields
|
|
@@ -4135,7 +4205,7 @@ var CREATE_POST_MUTATION = import_client56.gql`
|
|
|
4135
4205
|
}
|
|
4136
4206
|
${POST_FIELDS_FRAGMENT}
|
|
4137
4207
|
`;
|
|
4138
|
-
var UPDATE_POST_MUTATION =
|
|
4208
|
+
var UPDATE_POST_MUTATION = import_client57.gql`
|
|
4139
4209
|
mutation updatePost($_id: ID!, $input: PostInputType!) {
|
|
4140
4210
|
updatePost(_id: $_id, input: $input) {
|
|
4141
4211
|
...PostFields
|
|
@@ -4143,33 +4213,33 @@ var UPDATE_POST_MUTATION = import_client56.gql`
|
|
|
4143
4213
|
}
|
|
4144
4214
|
${POST_FIELDS_FRAGMENT}
|
|
4145
4215
|
`;
|
|
4146
|
-
var DELETE_POST_MUTATION =
|
|
4216
|
+
var DELETE_POST_MUTATION = import_client57.gql`
|
|
4147
4217
|
mutation deletePost($_id: ID!) {
|
|
4148
4218
|
deletePost(_id: $_id)
|
|
4149
4219
|
}
|
|
4150
4220
|
`;
|
|
4151
4221
|
|
|
4152
4222
|
// src/graphql/hooks/post/hooksQuery.ts
|
|
4153
|
-
var
|
|
4223
|
+
var import_client59 = require("@apollo/client");
|
|
4154
4224
|
|
|
4155
4225
|
// src/graphql/hooks/appSettings/hooksMutation.ts
|
|
4156
|
-
var
|
|
4226
|
+
var import_client62 = require("@apollo/client");
|
|
4157
4227
|
|
|
4158
4228
|
// src/graphql/mutations/appSettings.ts
|
|
4159
|
-
var
|
|
4160
|
-
var UPDATE_APP_SETTINGS_MUTATION =
|
|
4229
|
+
var import_client60 = require("@apollo/client");
|
|
4230
|
+
var UPDATE_APP_SETTINGS_MUTATION = import_client60.gql`
|
|
4161
4231
|
mutation updateAppSettings($input: AppSettingsInputType!) {
|
|
4162
4232
|
updateAppSettings(input: $input)
|
|
4163
4233
|
}
|
|
4164
4234
|
`;
|
|
4165
|
-
var CRAWL_GOOGLE_MARKETS_MUTATION =
|
|
4235
|
+
var CRAWL_GOOGLE_MARKETS_MUTATION = import_client60.gql`
|
|
4166
4236
|
mutation crawlGoogleMarkets {
|
|
4167
4237
|
crawlGoogleMarkets {
|
|
4168
4238
|
message
|
|
4169
4239
|
}
|
|
4170
4240
|
}
|
|
4171
4241
|
`;
|
|
4172
|
-
var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION =
|
|
4242
|
+
var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client60.gql`
|
|
4173
4243
|
mutation updateGoogleImportedMarkets {
|
|
4174
4244
|
updateGoogleImportedMarkets {
|
|
4175
4245
|
message
|
|
@@ -4178,8 +4248,8 @@ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client59.gql`
|
|
|
4178
4248
|
`;
|
|
4179
4249
|
|
|
4180
4250
|
// src/graphql/queries/appSettings.ts
|
|
4181
|
-
var
|
|
4182
|
-
var APP_SETTINGS_FIELDS_FRAGMENT =
|
|
4251
|
+
var import_client61 = require("@apollo/client");
|
|
4252
|
+
var APP_SETTINGS_FIELDS_FRAGMENT = import_client61.gql`
|
|
4183
4253
|
fragment AppSettingsFields on AppSettingsType {
|
|
4184
4254
|
_id
|
|
4185
4255
|
appVersion
|
|
@@ -4189,7 +4259,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client60.gql`
|
|
|
4189
4259
|
updatedAt
|
|
4190
4260
|
}
|
|
4191
4261
|
`;
|
|
4192
|
-
var GET_APP_SETTINGS =
|
|
4262
|
+
var GET_APP_SETTINGS = import_client61.gql`
|
|
4193
4263
|
query getAppSettings {
|
|
4194
4264
|
appSettings {
|
|
4195
4265
|
...AppSettingsFields
|
|
@@ -4199,7 +4269,31 @@ var GET_APP_SETTINGS = import_client60.gql`
|
|
|
4199
4269
|
`;
|
|
4200
4270
|
|
|
4201
4271
|
// src/graphql/hooks/appSettings/hooksQuery.ts
|
|
4202
|
-
var
|
|
4272
|
+
var import_client63 = require("@apollo/client");
|
|
4273
|
+
|
|
4274
|
+
// src/graphql/hooks/game/hooksMutation.ts
|
|
4275
|
+
var import_client65 = require("@apollo/client");
|
|
4276
|
+
|
|
4277
|
+
// src/graphql/mutations/game.ts
|
|
4278
|
+
var import_client64 = require("@apollo/client");
|
|
4279
|
+
var START_GAME_MUTATION = import_client64.gql`
|
|
4280
|
+
mutation startGame($input: BaseGameInputType!) {
|
|
4281
|
+
startGame(input: $input) {
|
|
4282
|
+
...GameFields
|
|
4283
|
+
}
|
|
4284
|
+
}
|
|
4285
|
+
${GAME_FIELDS_FRAGMENT}
|
|
4286
|
+
`;
|
|
4287
|
+
var LEAVE_GAME_MUTATION = import_client64.gql`
|
|
4288
|
+
mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
|
|
4289
|
+
leaveGame(_id: $_id, gameType: $gameType) {
|
|
4290
|
+
userId
|
|
4291
|
+
}
|
|
4292
|
+
}
|
|
4293
|
+
`;
|
|
4294
|
+
|
|
4295
|
+
// src/graphql/hooks/game/hooksQuery.ts
|
|
4296
|
+
var import_client66 = require("@apollo/client");
|
|
4203
4297
|
|
|
4204
4298
|
// src/types/post.ts
|
|
4205
4299
|
var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
|
|
@@ -4209,6 +4303,7 @@ var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
|
|
|
4209
4303
|
return EnumPostType2;
|
|
4210
4304
|
})(EnumPostType || {});
|
|
4211
4305
|
var EnumPostContentType = /* @__PURE__ */ ((EnumPostContentType2) => {
|
|
4306
|
+
EnumPostContentType2["GAME"] = "game";
|
|
4212
4307
|
EnumPostContentType2["IMAGE"] = "image";
|
|
4213
4308
|
EnumPostContentType2["LIST"] = "list";
|
|
4214
4309
|
EnumPostContentType2["TEXTAREA"] = "textarea";
|