@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.
- package/dist/{chunk-C44OQFZV.mjs → chunk-DQ6UJCMJ.mjs} +2 -10
- package/dist/chunk-DQ6UJCMJ.mjs.map +1 -0
- package/dist/{chunk-MDQZXEX4.mjs → chunk-UPXAFV46.mjs} +32 -180
- package/dist/chunk-UPXAFV46.mjs.map +1 -0
- package/dist/graphql/index.cjs +44 -196
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -47
- package/dist/graphql/index.d.ts +3 -47
- package/dist/graphql/index.mjs +1 -9
- package/dist/hooks/index.cjs +34 -126
- 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 +44 -205
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -87
- package/dist/index.d.ts +3 -87
- package/dist/index.mjs +30 -186
- package/dist/index.mjs.map +1 -1
- package/dist/{post-CeKM3HVB.d.mts → post-C3sp4MK_.d.mts} +3 -43
- package/dist/{post-BNPEczKv.d.ts → post-YUdzRTPS.d.ts} +3 -43
- package/dist/types/index.cjs +0 -9
- 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 +1 -3
- package/package.json +1 -1
- package/dist/chunk-C44OQFZV.mjs.map +0 -1
- package/dist/chunk-MDQZXEX4.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -840,13 +840,11 @@ interface UserType {
|
|
|
840
840
|
email: string;
|
|
841
841
|
events: string[] | null;
|
|
842
842
|
firstName: string;
|
|
843
|
-
games: string[] | null;
|
|
844
843
|
isTester: boolean;
|
|
845
844
|
lastName: string;
|
|
846
845
|
licences: UserLicenceType[] | null;
|
|
847
846
|
partner: string | null;
|
|
848
847
|
password: string;
|
|
849
|
-
points: number | null;
|
|
850
848
|
platform: EnumOSPlatform | null;
|
|
851
849
|
preferredRegion: string;
|
|
852
850
|
promoCodes?: string[] | null;
|
|
@@ -955,47 +953,12 @@ interface PartnerType extends BaseResourceType {
|
|
|
955
953
|
partnerType: EnumPartnerType;
|
|
956
954
|
}
|
|
957
955
|
|
|
958
|
-
declare enum EnumGameType {
|
|
959
|
-
DAILY_CLUE = "dailyClue"
|
|
960
|
-
}
|
|
961
|
-
type BaseGame = {
|
|
962
|
-
gameDate: {
|
|
963
|
-
endDate: Date;
|
|
964
|
-
startDate: Date;
|
|
965
|
-
};
|
|
966
|
-
gameSolution: string;
|
|
967
|
-
gameType: EnumGameType;
|
|
968
|
-
title: string;
|
|
969
|
-
};
|
|
970
|
-
type DailyClueGameData = BaseGame & {
|
|
971
|
-
collectedLetters?: string[];
|
|
972
|
-
lastFoundDate?: Date | null;
|
|
973
|
-
points: number;
|
|
974
|
-
streak: number;
|
|
975
|
-
};
|
|
976
|
-
type GameDataMap = {
|
|
977
|
-
[EnumGameType.DAILY_CLUE]: DailyClueGameData;
|
|
978
|
-
};
|
|
979
|
-
type GameData = {
|
|
980
|
-
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
981
|
-
};
|
|
982
|
-
type GameType = {
|
|
983
|
-
_id: string;
|
|
984
|
-
active: boolean;
|
|
985
|
-
createdAt: Date;
|
|
986
|
-
deletedAt: Date | null;
|
|
987
|
-
gameData: GameData | null;
|
|
988
|
-
updatedAt: Date | null;
|
|
989
|
-
owner: OwnerType;
|
|
990
|
-
};
|
|
991
|
-
|
|
992
956
|
declare enum EnumPostType {
|
|
993
957
|
DAILY_MEETS = "daily_meets",
|
|
994
958
|
DAILY_TIPS = "daily_tips",
|
|
995
959
|
DAILY_GAMES = "daily_games"
|
|
996
960
|
}
|
|
997
961
|
declare enum EnumPostContentType {
|
|
998
|
-
GAME = "game",
|
|
999
962
|
IMAGE = "image",
|
|
1000
963
|
LIST = "list",
|
|
1001
964
|
TEXTAREA = "textarea",
|
|
@@ -1029,10 +992,7 @@ type PostContentList = {
|
|
|
1029
992
|
}[];
|
|
1030
993
|
};
|
|
1031
994
|
};
|
|
1032
|
-
type
|
|
1033
|
-
game: BaseGame;
|
|
1034
|
-
};
|
|
1035
|
-
type PostContentData = PostContentGame | PostContentTextarea | PostContentImage | PostContentVideo | PostContentList;
|
|
995
|
+
type PostContentData = PostContentTextarea | PostContentImage | PostContentVideo | PostContentList;
|
|
1036
996
|
type PostContentFormData = {
|
|
1037
997
|
contentData?: PostContentData | null;
|
|
1038
998
|
contentOrder?: number | null;
|
|
@@ -1593,7 +1553,7 @@ declare const useGetEventRelations: (eventId: string) => {
|
|
|
1593
1553
|
eventRelations: RelationType[];
|
|
1594
1554
|
}>>;
|
|
1595
1555
|
};
|
|
1596
|
-
declare const useGetVendorRelations: (vendorId
|
|
1556
|
+
declare const useGetVendorRelations: (vendorId?: string) => {
|
|
1597
1557
|
error: _apollo_client.ApolloError | undefined;
|
|
1598
1558
|
loading: boolean;
|
|
1599
1559
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
@@ -2138,50 +2098,6 @@ declare const useGetAppSettings: () => {
|
|
|
2138
2098
|
}>>;
|
|
2139
2099
|
};
|
|
2140
2100
|
|
|
2141
|
-
declare const useStartGame: () => {
|
|
2142
|
-
error: _apollo_client.ApolloError | undefined;
|
|
2143
|
-
loading: boolean;
|
|
2144
|
-
startGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2145
|
-
startGame: {
|
|
2146
|
-
_id: string;
|
|
2147
|
-
};
|
|
2148
|
-
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2149
|
-
startGame: {
|
|
2150
|
-
_id: string;
|
|
2151
|
-
};
|
|
2152
|
-
}>>;
|
|
2153
|
-
};
|
|
2154
|
-
declare const useLeaveGame: () => {
|
|
2155
|
-
error: _apollo_client.ApolloError | undefined;
|
|
2156
|
-
leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2157
|
-
leaveGame: {
|
|
2158
|
-
userId: string;
|
|
2159
|
-
};
|
|
2160
|
-
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2161
|
-
leaveGame: {
|
|
2162
|
-
userId: string;
|
|
2163
|
-
};
|
|
2164
|
-
}>>;
|
|
2165
|
-
loading: boolean;
|
|
2166
|
-
};
|
|
2167
|
-
|
|
2168
|
-
declare const useGetGames: (userId?: string) => {
|
|
2169
|
-
error: _apollo_client.ApolloError | undefined;
|
|
2170
|
-
games: GameType[];
|
|
2171
|
-
loading: boolean;
|
|
2172
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
2173
|
-
games: GameType[];
|
|
2174
|
-
}>>;
|
|
2175
|
-
};
|
|
2176
|
-
declare const useGetGame: (_id: string) => {
|
|
2177
|
-
error: _apollo_client.ApolloError | undefined;
|
|
2178
|
-
game: GameType | null;
|
|
2179
|
-
loading: boolean;
|
|
2180
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
2181
|
-
game: GameType | null;
|
|
2182
|
-
}>>;
|
|
2183
|
-
};
|
|
2184
|
-
|
|
2185
2101
|
interface PlacePrediction {
|
|
2186
2102
|
place_id: string;
|
|
2187
2103
|
description: string;
|
|
@@ -2377,4 +2293,4 @@ declare const cluemartSocialMedia: SocialMediaType[];
|
|
|
2377
2293
|
declare const IOS_URL = "https://apps.apple.com/nz/app/cluemart/id6747251008";
|
|
2378
2294
|
declare const ANDROID_URL = "https://play.google.com/store/apps/details?id=com.timardex.cluemart";
|
|
2379
2295
|
|
|
2380
|
-
export { ANDROID_URL, type AdFormData, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type
|
|
2296
|
+
export { ANDROID_URL, type AdFormData, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IOS_URL, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentData, type PostContentFormData, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterInputType, type PosterUsageType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, type TermsAgreement, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UseGetEventsByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultUnregisteredVendorFormValues, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, licenseNiceNames, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAppSettingsForm, useCancelSubscription, useContactUs, useContactUsForm, 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, useEventForm, useEventInfoForm, 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, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, useVendorForm, useVendorInfoForm, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
package/dist/index.d.ts
CHANGED
|
@@ -840,13 +840,11 @@ interface UserType {
|
|
|
840
840
|
email: string;
|
|
841
841
|
events: string[] | null;
|
|
842
842
|
firstName: string;
|
|
843
|
-
games: string[] | null;
|
|
844
843
|
isTester: boolean;
|
|
845
844
|
lastName: string;
|
|
846
845
|
licences: UserLicenceType[] | null;
|
|
847
846
|
partner: string | null;
|
|
848
847
|
password: string;
|
|
849
|
-
points: number | null;
|
|
850
848
|
platform: EnumOSPlatform | null;
|
|
851
849
|
preferredRegion: string;
|
|
852
850
|
promoCodes?: string[] | null;
|
|
@@ -955,47 +953,12 @@ interface PartnerType extends BaseResourceType {
|
|
|
955
953
|
partnerType: EnumPartnerType;
|
|
956
954
|
}
|
|
957
955
|
|
|
958
|
-
declare enum EnumGameType {
|
|
959
|
-
DAILY_CLUE = "dailyClue"
|
|
960
|
-
}
|
|
961
|
-
type BaseGame = {
|
|
962
|
-
gameDate: {
|
|
963
|
-
endDate: Date;
|
|
964
|
-
startDate: Date;
|
|
965
|
-
};
|
|
966
|
-
gameSolution: string;
|
|
967
|
-
gameType: EnumGameType;
|
|
968
|
-
title: string;
|
|
969
|
-
};
|
|
970
|
-
type DailyClueGameData = BaseGame & {
|
|
971
|
-
collectedLetters?: string[];
|
|
972
|
-
lastFoundDate?: Date | null;
|
|
973
|
-
points: number;
|
|
974
|
-
streak: number;
|
|
975
|
-
};
|
|
976
|
-
type GameDataMap = {
|
|
977
|
-
[EnumGameType.DAILY_CLUE]: DailyClueGameData;
|
|
978
|
-
};
|
|
979
|
-
type GameData = {
|
|
980
|
-
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
981
|
-
};
|
|
982
|
-
type GameType = {
|
|
983
|
-
_id: string;
|
|
984
|
-
active: boolean;
|
|
985
|
-
createdAt: Date;
|
|
986
|
-
deletedAt: Date | null;
|
|
987
|
-
gameData: GameData | null;
|
|
988
|
-
updatedAt: Date | null;
|
|
989
|
-
owner: OwnerType;
|
|
990
|
-
};
|
|
991
|
-
|
|
992
956
|
declare enum EnumPostType {
|
|
993
957
|
DAILY_MEETS = "daily_meets",
|
|
994
958
|
DAILY_TIPS = "daily_tips",
|
|
995
959
|
DAILY_GAMES = "daily_games"
|
|
996
960
|
}
|
|
997
961
|
declare enum EnumPostContentType {
|
|
998
|
-
GAME = "game",
|
|
999
962
|
IMAGE = "image",
|
|
1000
963
|
LIST = "list",
|
|
1001
964
|
TEXTAREA = "textarea",
|
|
@@ -1029,10 +992,7 @@ type PostContentList = {
|
|
|
1029
992
|
}[];
|
|
1030
993
|
};
|
|
1031
994
|
};
|
|
1032
|
-
type
|
|
1033
|
-
game: BaseGame;
|
|
1034
|
-
};
|
|
1035
|
-
type PostContentData = PostContentGame | PostContentTextarea | PostContentImage | PostContentVideo | PostContentList;
|
|
995
|
+
type PostContentData = PostContentTextarea | PostContentImage | PostContentVideo | PostContentList;
|
|
1036
996
|
type PostContentFormData = {
|
|
1037
997
|
contentData?: PostContentData | null;
|
|
1038
998
|
contentOrder?: number | null;
|
|
@@ -1593,7 +1553,7 @@ declare const useGetEventRelations: (eventId: string) => {
|
|
|
1593
1553
|
eventRelations: RelationType[];
|
|
1594
1554
|
}>>;
|
|
1595
1555
|
};
|
|
1596
|
-
declare const useGetVendorRelations: (vendorId
|
|
1556
|
+
declare const useGetVendorRelations: (vendorId?: string) => {
|
|
1597
1557
|
error: _apollo_client.ApolloError | undefined;
|
|
1598
1558
|
loading: boolean;
|
|
1599
1559
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
@@ -2138,50 +2098,6 @@ declare const useGetAppSettings: () => {
|
|
|
2138
2098
|
}>>;
|
|
2139
2099
|
};
|
|
2140
2100
|
|
|
2141
|
-
declare const useStartGame: () => {
|
|
2142
|
-
error: _apollo_client.ApolloError | undefined;
|
|
2143
|
-
loading: boolean;
|
|
2144
|
-
startGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2145
|
-
startGame: {
|
|
2146
|
-
_id: string;
|
|
2147
|
-
};
|
|
2148
|
-
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2149
|
-
startGame: {
|
|
2150
|
-
_id: string;
|
|
2151
|
-
};
|
|
2152
|
-
}>>;
|
|
2153
|
-
};
|
|
2154
|
-
declare const useLeaveGame: () => {
|
|
2155
|
-
error: _apollo_client.ApolloError | undefined;
|
|
2156
|
-
leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2157
|
-
leaveGame: {
|
|
2158
|
-
userId: string;
|
|
2159
|
-
};
|
|
2160
|
-
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2161
|
-
leaveGame: {
|
|
2162
|
-
userId: string;
|
|
2163
|
-
};
|
|
2164
|
-
}>>;
|
|
2165
|
-
loading: boolean;
|
|
2166
|
-
};
|
|
2167
|
-
|
|
2168
|
-
declare const useGetGames: (userId?: string) => {
|
|
2169
|
-
error: _apollo_client.ApolloError | undefined;
|
|
2170
|
-
games: GameType[];
|
|
2171
|
-
loading: boolean;
|
|
2172
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
2173
|
-
games: GameType[];
|
|
2174
|
-
}>>;
|
|
2175
|
-
};
|
|
2176
|
-
declare const useGetGame: (_id: string) => {
|
|
2177
|
-
error: _apollo_client.ApolloError | undefined;
|
|
2178
|
-
game: GameType | null;
|
|
2179
|
-
loading: boolean;
|
|
2180
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
2181
|
-
game: GameType | null;
|
|
2182
|
-
}>>;
|
|
2183
|
-
};
|
|
2184
|
-
|
|
2185
2101
|
interface PlacePrediction {
|
|
2186
2102
|
place_id: string;
|
|
2187
2103
|
description: string;
|
|
@@ -2377,4 +2293,4 @@ declare const cluemartSocialMedia: SocialMediaType[];
|
|
|
2377
2293
|
declare const IOS_URL = "https://apps.apple.com/nz/app/cluemart/id6747251008";
|
|
2378
2294
|
declare const ANDROID_URL = "https://play.google.com/store/apps/details?id=com.timardex.cluemart";
|
|
2379
2295
|
|
|
2380
|
-
export { ANDROID_URL, type AdFormData, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type
|
|
2296
|
+
export { ANDROID_URL, type AdFormData, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IOS_URL, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentData, type PostContentFormData, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterInputType, type PosterUsageType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, type TermsAgreement, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UseGetEventsByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultUnregisteredVendorFormValues, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, licenseNiceNames, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAppSettingsForm, useCancelSubscription, useContactUs, useContactUsForm, 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, useEventForm, useEventInfoForm, 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, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, useVendorForm, useVendorInfoForm, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|