@timardex/cluemart-shared 1.4.92 → 1.4.94
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-MF2GOTDS.mjs → chunk-BZ6HTTZZ.mjs} +186 -37
- package/dist/chunk-BZ6HTTZZ.mjs.map +1 -0
- package/dist/{chunk-DQ6UJCMJ.mjs → chunk-RPVJCD2I.mjs} +10 -2
- package/dist/chunk-RPVJCD2I.mjs.map +1 -0
- package/dist/graphql/index.cjs +202 -49
- 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 +126 -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 +211 -49
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +87 -2
- package/dist/index.d.ts +87 -2
- package/dist/index.mjs +192 -35
- package/dist/index.mjs.map +1 -1
- package/dist/{post-YUdzRTPS.d.ts → post-BW7aIY4a.d.ts} +44 -3
- package/dist/{post-C3sp4MK_.d.mts → post-wjPg2bhz.d.mts} +44 -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-DQ6UJCMJ.mjs.map +0 -1
- package/dist/chunk-MF2GOTDS.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-wjPg2bhz.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-BW7aIY4a.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-BZ6HTTZZ.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,80 @@ 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
|
+
...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
|
+
points
|
|
4089
|
+
}
|
|
4090
|
+
${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
|
|
4091
|
+
${OWNER_FIELDS_FRAGMENT}
|
|
4092
|
+
`;
|
|
4093
|
+
var GET_GAMES = import_client55.gql`
|
|
4094
|
+
query getGames($userId: ID) {
|
|
4095
|
+
games(userId: $userId) {
|
|
4096
|
+
...GameFields
|
|
4097
|
+
}
|
|
4098
|
+
}
|
|
4099
|
+
${GAME_FIELDS_FRAGMENT}
|
|
4100
|
+
`;
|
|
4101
|
+
var GET_GAME = import_client55.gql`
|
|
4102
|
+
query getGame($_id: ID!) {
|
|
4103
|
+
game(_id: $_id) {
|
|
4104
|
+
...GameFields
|
|
4105
|
+
}
|
|
4106
|
+
}
|
|
4107
|
+
${GAME_FIELDS_FRAGMENT}
|
|
4108
|
+
`;
|
|
4109
|
+
|
|
4110
|
+
// src/graphql/queries/post.ts
|
|
4111
|
+
var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client56.gql`
|
|
4048
4112
|
fragment PostContentDataFields on PostContentData {
|
|
4113
|
+
game {
|
|
4114
|
+
...BaseGameFields
|
|
4115
|
+
}
|
|
4049
4116
|
textarea {
|
|
4050
4117
|
title
|
|
4051
4118
|
data
|
|
@@ -4065,8 +4132,9 @@ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4065
4132
|
}
|
|
4066
4133
|
}
|
|
4067
4134
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
4135
|
+
${BASE_GAME_FIELDS_FRAGMENT}
|
|
4068
4136
|
`;
|
|
4069
|
-
var POST_CONTENT_FIELDS_FRAGMENT =
|
|
4137
|
+
var POST_CONTENT_FIELDS_FRAGMENT = import_client56.gql`
|
|
4070
4138
|
fragment PostContentFields on PostContentType {
|
|
4071
4139
|
contentData {
|
|
4072
4140
|
...PostContentDataFields
|
|
@@ -4076,7 +4144,7 @@ var POST_CONTENT_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4076
4144
|
}
|
|
4077
4145
|
${POST_CONTENT_DATA_FIELDS_FRAGMENT}
|
|
4078
4146
|
`;
|
|
4079
|
-
var POST_FIELDS_FRAGMENT =
|
|
4147
|
+
var POST_FIELDS_FRAGMENT = import_client56.gql`
|
|
4080
4148
|
fragment PostFields on PostType {
|
|
4081
4149
|
_id
|
|
4082
4150
|
active
|
|
@@ -4101,7 +4169,7 @@ var POST_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4101
4169
|
${POST_CONTENT_FIELDS_FRAGMENT}
|
|
4102
4170
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
4103
4171
|
`;
|
|
4104
|
-
var GET_POSTS =
|
|
4172
|
+
var GET_POSTS = import_client56.gql`
|
|
4105
4173
|
query getPosts {
|
|
4106
4174
|
posts {
|
|
4107
4175
|
...PostFields
|
|
@@ -4109,7 +4177,7 @@ var GET_POSTS = import_client55.gql`
|
|
|
4109
4177
|
}
|
|
4110
4178
|
${POST_FIELDS_FRAGMENT}
|
|
4111
4179
|
`;
|
|
4112
|
-
var GET_POST =
|
|
4180
|
+
var GET_POST = import_client56.gql`
|
|
4113
4181
|
query getPost($_id: ID!) {
|
|
4114
4182
|
post(_id: $_id) {
|
|
4115
4183
|
...PostFields
|
|
@@ -4117,7 +4185,7 @@ var GET_POST = import_client55.gql`
|
|
|
4117
4185
|
}
|
|
4118
4186
|
${POST_FIELDS_FRAGMENT}
|
|
4119
4187
|
`;
|
|
4120
|
-
var GET_POSTS_BY_TYPE =
|
|
4188
|
+
var GET_POSTS_BY_TYPE = import_client56.gql`
|
|
4121
4189
|
query getPostsByType($postType: PostTypeEnum!) {
|
|
4122
4190
|
postsByType(postType: $postType) {
|
|
4123
4191
|
...PostFields
|
|
@@ -4127,7 +4195,7 @@ var GET_POSTS_BY_TYPE = import_client55.gql`
|
|
|
4127
4195
|
`;
|
|
4128
4196
|
|
|
4129
4197
|
// src/graphql/mutations/post.ts
|
|
4130
|
-
var CREATE_POST_MUTATION =
|
|
4198
|
+
var CREATE_POST_MUTATION = import_client57.gql`
|
|
4131
4199
|
mutation createPost($input: PostInputType!) {
|
|
4132
4200
|
createPost(input: $input) {
|
|
4133
4201
|
...PostFields
|
|
@@ -4135,7 +4203,7 @@ var CREATE_POST_MUTATION = import_client56.gql`
|
|
|
4135
4203
|
}
|
|
4136
4204
|
${POST_FIELDS_FRAGMENT}
|
|
4137
4205
|
`;
|
|
4138
|
-
var UPDATE_POST_MUTATION =
|
|
4206
|
+
var UPDATE_POST_MUTATION = import_client57.gql`
|
|
4139
4207
|
mutation updatePost($_id: ID!, $input: PostInputType!) {
|
|
4140
4208
|
updatePost(_id: $_id, input: $input) {
|
|
4141
4209
|
...PostFields
|
|
@@ -4143,33 +4211,33 @@ var UPDATE_POST_MUTATION = import_client56.gql`
|
|
|
4143
4211
|
}
|
|
4144
4212
|
${POST_FIELDS_FRAGMENT}
|
|
4145
4213
|
`;
|
|
4146
|
-
var DELETE_POST_MUTATION =
|
|
4214
|
+
var DELETE_POST_MUTATION = import_client57.gql`
|
|
4147
4215
|
mutation deletePost($_id: ID!) {
|
|
4148
4216
|
deletePost(_id: $_id)
|
|
4149
4217
|
}
|
|
4150
4218
|
`;
|
|
4151
4219
|
|
|
4152
4220
|
// src/graphql/hooks/post/hooksQuery.ts
|
|
4153
|
-
var
|
|
4221
|
+
var import_client59 = require("@apollo/client");
|
|
4154
4222
|
|
|
4155
4223
|
// src/graphql/hooks/appSettings/hooksMutation.ts
|
|
4156
|
-
var
|
|
4224
|
+
var import_client62 = require("@apollo/client");
|
|
4157
4225
|
|
|
4158
4226
|
// src/graphql/mutations/appSettings.ts
|
|
4159
|
-
var
|
|
4160
|
-
var UPDATE_APP_SETTINGS_MUTATION =
|
|
4227
|
+
var import_client60 = require("@apollo/client");
|
|
4228
|
+
var UPDATE_APP_SETTINGS_MUTATION = import_client60.gql`
|
|
4161
4229
|
mutation updateAppSettings($input: AppSettingsInputType!) {
|
|
4162
4230
|
updateAppSettings(input: $input)
|
|
4163
4231
|
}
|
|
4164
4232
|
`;
|
|
4165
|
-
var CRAWL_GOOGLE_MARKETS_MUTATION =
|
|
4233
|
+
var CRAWL_GOOGLE_MARKETS_MUTATION = import_client60.gql`
|
|
4166
4234
|
mutation crawlGoogleMarkets {
|
|
4167
4235
|
crawlGoogleMarkets {
|
|
4168
4236
|
message
|
|
4169
4237
|
}
|
|
4170
4238
|
}
|
|
4171
4239
|
`;
|
|
4172
|
-
var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION =
|
|
4240
|
+
var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client60.gql`
|
|
4173
4241
|
mutation updateGoogleImportedMarkets {
|
|
4174
4242
|
updateGoogleImportedMarkets {
|
|
4175
4243
|
message
|
|
@@ -4178,8 +4246,8 @@ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client59.gql`
|
|
|
4178
4246
|
`;
|
|
4179
4247
|
|
|
4180
4248
|
// src/graphql/queries/appSettings.ts
|
|
4181
|
-
var
|
|
4182
|
-
var APP_SETTINGS_FIELDS_FRAGMENT =
|
|
4249
|
+
var import_client61 = require("@apollo/client");
|
|
4250
|
+
var APP_SETTINGS_FIELDS_FRAGMENT = import_client61.gql`
|
|
4183
4251
|
fragment AppSettingsFields on AppSettingsType {
|
|
4184
4252
|
_id
|
|
4185
4253
|
appVersion
|
|
@@ -4189,7 +4257,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client60.gql`
|
|
|
4189
4257
|
updatedAt
|
|
4190
4258
|
}
|
|
4191
4259
|
`;
|
|
4192
|
-
var GET_APP_SETTINGS =
|
|
4260
|
+
var GET_APP_SETTINGS = import_client61.gql`
|
|
4193
4261
|
query getAppSettings {
|
|
4194
4262
|
appSettings {
|
|
4195
4263
|
...AppSettingsFields
|
|
@@ -4199,7 +4267,31 @@ var GET_APP_SETTINGS = import_client60.gql`
|
|
|
4199
4267
|
`;
|
|
4200
4268
|
|
|
4201
4269
|
// src/graphql/hooks/appSettings/hooksQuery.ts
|
|
4202
|
-
var
|
|
4270
|
+
var import_client63 = require("@apollo/client");
|
|
4271
|
+
|
|
4272
|
+
// src/graphql/hooks/game/hooksMutation.ts
|
|
4273
|
+
var import_client65 = require("@apollo/client");
|
|
4274
|
+
|
|
4275
|
+
// src/graphql/mutations/game.ts
|
|
4276
|
+
var import_client64 = require("@apollo/client");
|
|
4277
|
+
var START_GAME_MUTATION = import_client64.gql`
|
|
4278
|
+
mutation startGame($input: GameInputType!) {
|
|
4279
|
+
startGame(input: $input) {
|
|
4280
|
+
...GameFields
|
|
4281
|
+
}
|
|
4282
|
+
}
|
|
4283
|
+
${GAME_FIELDS_FRAGMENT}
|
|
4284
|
+
`;
|
|
4285
|
+
var LEAVE_GAME_MUTATION = import_client64.gql`
|
|
4286
|
+
mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
|
|
4287
|
+
leaveGame(_id: $_id, gameType: $gameType) {
|
|
4288
|
+
userId
|
|
4289
|
+
}
|
|
4290
|
+
}
|
|
4291
|
+
`;
|
|
4292
|
+
|
|
4293
|
+
// src/graphql/hooks/game/hooksQuery.ts
|
|
4294
|
+
var import_client66 = require("@apollo/client");
|
|
4203
4295
|
|
|
4204
4296
|
// src/types/post.ts
|
|
4205
4297
|
var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
|
|
@@ -4209,6 +4301,7 @@ var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
|
|
|
4209
4301
|
return EnumPostType2;
|
|
4210
4302
|
})(EnumPostType || {});
|
|
4211
4303
|
var EnumPostContentType = /* @__PURE__ */ ((EnumPostContentType2) => {
|
|
4304
|
+
EnumPostContentType2["GAME"] = "game";
|
|
4212
4305
|
EnumPostContentType2["IMAGE"] = "image";
|
|
4213
4306
|
EnumPostContentType2["LIST"] = "list";
|
|
4214
4307
|
EnumPostContentType2["TEXTAREA"] = "textarea";
|