@timardex/cluemart-shared 1.3.69 → 1.3.70
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/{auth-pdudyfxP.d.mts → auth-D72tKUrK.d.mts} +1 -1
- package/dist/{auth-w594NZnG.d.ts → auth-XiA_tJLF.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-BT6II8Dq.d.mts → global-CbccsHaO.d.mts} +6 -20
- package/dist/{global-Di91-yYC.d.ts → global-tKKfQw2k.d.ts} +6 -20
- package/dist/graphql/index.cjs +45 -76
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +8 -8
- package/dist/graphql/index.d.ts +8 -8
- package/dist/graphql/index.mjs +45 -76
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/index.cjs +45 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +12 -26
- package/dist/index.d.ts +12 -26
- package/dist/index.mjs +45 -76
- package/dist/index.mjs.map +1 -1
- package/dist/{post-D1JWtkFg.d.mts → post-B_FljglL.d.mts} +1 -1
- package/dist/{post-AmkOYBMx.d.ts → post-DQPe7Dsu.d.ts} +1 -1
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -276,40 +276,26 @@ interface EventListItemType {
|
|
|
276
276
|
_id: string;
|
|
277
277
|
active: boolean;
|
|
278
278
|
claimed: boolean;
|
|
279
|
-
cover
|
|
279
|
+
cover?: ResourceImageType | null;
|
|
280
280
|
createdAt: Date;
|
|
281
281
|
dateTime: DateTimeType[];
|
|
282
282
|
deletedAt: Date | null;
|
|
283
|
-
description
|
|
283
|
+
description?: string | null;
|
|
284
284
|
eventType: EnumEventType;
|
|
285
|
-
googlePlaceId?: string;
|
|
285
|
+
googlePlaceId?: string | null;
|
|
286
286
|
images?: ResourceImageType[] | null;
|
|
287
287
|
location: LocationType;
|
|
288
288
|
logo?: ResourceImageType | null;
|
|
289
289
|
name: string;
|
|
290
290
|
rainOrShine: boolean;
|
|
291
|
-
rating?: number;
|
|
291
|
+
rating?: number | null;
|
|
292
292
|
region: string;
|
|
293
|
-
reviewCount?: number;
|
|
293
|
+
reviewCount?: number | null;
|
|
294
294
|
updatedAt: Date | null;
|
|
295
295
|
}
|
|
296
296
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
297
297
|
_id: string;
|
|
298
298
|
};
|
|
299
|
-
type UserActivityEventType = {
|
|
300
|
-
_id: string;
|
|
301
|
-
active: boolean;
|
|
302
|
-
cover: ResourceImageType;
|
|
303
|
-
dateTime: DateTimeType;
|
|
304
|
-
description: string;
|
|
305
|
-
eventType: EnumEventType;
|
|
306
|
-
location: LocationType;
|
|
307
|
-
logo?: ResourceImageType | null;
|
|
308
|
-
name: string;
|
|
309
|
-
rainOrShine: boolean;
|
|
310
|
-
region: string;
|
|
311
|
-
socialMedia?: SocialMediaType[] | null;
|
|
312
|
-
};
|
|
313
299
|
|
|
314
300
|
type VendorLocation = {
|
|
315
301
|
dateTime: Nullable<DateTimeType> | null;
|
|
@@ -1786,13 +1772,13 @@ declare const useGetUserActivities: () => {
|
|
|
1786
1772
|
vendors: VendorType[];
|
|
1787
1773
|
};
|
|
1788
1774
|
going: {
|
|
1789
|
-
events:
|
|
1775
|
+
events: EventListItemType[];
|
|
1790
1776
|
};
|
|
1791
1777
|
interested: {
|
|
1792
|
-
events:
|
|
1778
|
+
events: EventListItemType[];
|
|
1793
1779
|
};
|
|
1794
1780
|
present: {
|
|
1795
|
-
events:
|
|
1781
|
+
events: EventListItemType[];
|
|
1796
1782
|
};
|
|
1797
1783
|
};
|
|
1798
1784
|
}>>;
|
|
@@ -1802,13 +1788,13 @@ declare const useGetUserActivities: () => {
|
|
|
1802
1788
|
vendors: VendorType[];
|
|
1803
1789
|
};
|
|
1804
1790
|
going: {
|
|
1805
|
-
events:
|
|
1791
|
+
events: EventListItemType[];
|
|
1806
1792
|
};
|
|
1807
1793
|
interested: {
|
|
1808
|
-
events:
|
|
1794
|
+
events: EventListItemType[];
|
|
1809
1795
|
};
|
|
1810
1796
|
present: {
|
|
1811
|
-
events:
|
|
1797
|
+
events: EventListItemType[];
|
|
1812
1798
|
};
|
|
1813
1799
|
};
|
|
1814
1800
|
};
|
|
@@ -2232,4 +2218,4 @@ declare function normalizeUrl(url: string): string;
|
|
|
2232
2218
|
declare const licenseNiceNames: Record<EnumUserLicence, string>;
|
|
2233
2219
|
declare const cluemartSocialMedia: SocialMediaType[];
|
|
2234
2220
|
|
|
2235
|
-
export { type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, 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 CreateTesterFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, OrganizedMarketCount, OrganizerMarketFrequency, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentCover, 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 Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, 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 SubscriptionStatusData, type TermsAgreement, type TesterEvent, type TesterFormData, type TesterType, type TesterVendor, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type
|
|
2221
|
+
export { type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, 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 CreateTesterFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, OrganizedMarketCount, OrganizerMarketFrequency, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentCover, 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 Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, 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 SubscriptionStatusData, type TermsAgreement, type TesterEvent, type TesterFormData, type TesterType, type TesterVendor, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, VendorSellingFrequency, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultRegion, 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, producedIngOptions, productLabelGroups, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendTesterVerificationEmail, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateTester, useAppSettingsForm, useCancelSubscription, useContactUs, useContactUsForm, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteTester, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useTesterForm, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, useVendorForm, useVendorInfoForm, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
package/dist/index.d.ts
CHANGED
|
@@ -276,40 +276,26 @@ interface EventListItemType {
|
|
|
276
276
|
_id: string;
|
|
277
277
|
active: boolean;
|
|
278
278
|
claimed: boolean;
|
|
279
|
-
cover
|
|
279
|
+
cover?: ResourceImageType | null;
|
|
280
280
|
createdAt: Date;
|
|
281
281
|
dateTime: DateTimeType[];
|
|
282
282
|
deletedAt: Date | null;
|
|
283
|
-
description
|
|
283
|
+
description?: string | null;
|
|
284
284
|
eventType: EnumEventType;
|
|
285
|
-
googlePlaceId?: string;
|
|
285
|
+
googlePlaceId?: string | null;
|
|
286
286
|
images?: ResourceImageType[] | null;
|
|
287
287
|
location: LocationType;
|
|
288
288
|
logo?: ResourceImageType | null;
|
|
289
289
|
name: string;
|
|
290
290
|
rainOrShine: boolean;
|
|
291
|
-
rating?: number;
|
|
291
|
+
rating?: number | null;
|
|
292
292
|
region: string;
|
|
293
|
-
reviewCount?: number;
|
|
293
|
+
reviewCount?: number | null;
|
|
294
294
|
updatedAt: Date | null;
|
|
295
295
|
}
|
|
296
296
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
297
297
|
_id: string;
|
|
298
298
|
};
|
|
299
|
-
type UserActivityEventType = {
|
|
300
|
-
_id: string;
|
|
301
|
-
active: boolean;
|
|
302
|
-
cover: ResourceImageType;
|
|
303
|
-
dateTime: DateTimeType;
|
|
304
|
-
description: string;
|
|
305
|
-
eventType: EnumEventType;
|
|
306
|
-
location: LocationType;
|
|
307
|
-
logo?: ResourceImageType | null;
|
|
308
|
-
name: string;
|
|
309
|
-
rainOrShine: boolean;
|
|
310
|
-
region: string;
|
|
311
|
-
socialMedia?: SocialMediaType[] | null;
|
|
312
|
-
};
|
|
313
299
|
|
|
314
300
|
type VendorLocation = {
|
|
315
301
|
dateTime: Nullable<DateTimeType> | null;
|
|
@@ -1786,13 +1772,13 @@ declare const useGetUserActivities: () => {
|
|
|
1786
1772
|
vendors: VendorType[];
|
|
1787
1773
|
};
|
|
1788
1774
|
going: {
|
|
1789
|
-
events:
|
|
1775
|
+
events: EventListItemType[];
|
|
1790
1776
|
};
|
|
1791
1777
|
interested: {
|
|
1792
|
-
events:
|
|
1778
|
+
events: EventListItemType[];
|
|
1793
1779
|
};
|
|
1794
1780
|
present: {
|
|
1795
|
-
events:
|
|
1781
|
+
events: EventListItemType[];
|
|
1796
1782
|
};
|
|
1797
1783
|
};
|
|
1798
1784
|
}>>;
|
|
@@ -1802,13 +1788,13 @@ declare const useGetUserActivities: () => {
|
|
|
1802
1788
|
vendors: VendorType[];
|
|
1803
1789
|
};
|
|
1804
1790
|
going: {
|
|
1805
|
-
events:
|
|
1791
|
+
events: EventListItemType[];
|
|
1806
1792
|
};
|
|
1807
1793
|
interested: {
|
|
1808
|
-
events:
|
|
1794
|
+
events: EventListItemType[];
|
|
1809
1795
|
};
|
|
1810
1796
|
present: {
|
|
1811
|
-
events:
|
|
1797
|
+
events: EventListItemType[];
|
|
1812
1798
|
};
|
|
1813
1799
|
};
|
|
1814
1800
|
};
|
|
@@ -2232,4 +2218,4 @@ declare function normalizeUrl(url: string): string;
|
|
|
2232
2218
|
declare const licenseNiceNames: Record<EnumUserLicence, string>;
|
|
2233
2219
|
declare const cluemartSocialMedia: SocialMediaType[];
|
|
2234
2220
|
|
|
2235
|
-
export { type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, 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 CreateTesterFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, OrganizedMarketCount, OrganizerMarketFrequency, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentCover, 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 Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, 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 SubscriptionStatusData, type TermsAgreement, type TesterEvent, type TesterFormData, type TesterType, type TesterVendor, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type
|
|
2221
|
+
export { type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, 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 CreateTesterFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, OrganizedMarketCount, OrganizerMarketFrequency, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentCover, 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 Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, 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 SubscriptionStatusData, type TermsAgreement, type TesterEvent, type TesterFormData, type TesterType, type TesterVendor, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, VendorSellingFrequency, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultRegion, 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, producedIngOptions, productLabelGroups, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendTesterVerificationEmail, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateTester, useAppSettingsForm, useCancelSubscription, useContactUs, useContactUsForm, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteTester, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useTesterForm, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, useVendorForm, useVendorInfoForm, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
package/dist/index.mjs
CHANGED
|
@@ -2426,6 +2426,42 @@ var LOCATION_FIELDS_FRAGMENT = gql2`
|
|
|
2426
2426
|
type
|
|
2427
2427
|
}
|
|
2428
2428
|
`;
|
|
2429
|
+
var EVENT_LIST_ITEM = gql2`
|
|
2430
|
+
fragment EventListItemFields on EventListItemType {
|
|
2431
|
+
_id
|
|
2432
|
+
active
|
|
2433
|
+
claimed
|
|
2434
|
+
cover {
|
|
2435
|
+
...ResourceImageFields
|
|
2436
|
+
}
|
|
2437
|
+
createdAt
|
|
2438
|
+
dateTime {
|
|
2439
|
+
...EventDateTimeFields
|
|
2440
|
+
}
|
|
2441
|
+
deletedAt
|
|
2442
|
+
description
|
|
2443
|
+
eventType
|
|
2444
|
+
googlePlaceId
|
|
2445
|
+
images {
|
|
2446
|
+
...ResourceImageFields
|
|
2447
|
+
}
|
|
2448
|
+
location {
|
|
2449
|
+
...LocationFields
|
|
2450
|
+
}
|
|
2451
|
+
logo {
|
|
2452
|
+
...ResourceImageFields
|
|
2453
|
+
}
|
|
2454
|
+
name
|
|
2455
|
+
rainOrShine
|
|
2456
|
+
rating
|
|
2457
|
+
region
|
|
2458
|
+
reviewCount
|
|
2459
|
+
updatedAt
|
|
2460
|
+
}
|
|
2461
|
+
${EVENT_DATETIME_FIELDS_FRAGMENT}
|
|
2462
|
+
${LOCATION_FIELDS_FRAGMENT}
|
|
2463
|
+
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
2464
|
+
`;
|
|
2429
2465
|
|
|
2430
2466
|
// src/graphql/queries/event.ts
|
|
2431
2467
|
var EVENT_INFO = gql3`
|
|
@@ -2528,46 +2564,10 @@ var EVENT = gql3`
|
|
|
2528
2564
|
${TERMS_AGREEMENT_FIELDS_FRAGMENT}
|
|
2529
2565
|
${RELATION_DATES_FRAGMENT}
|
|
2530
2566
|
`;
|
|
2531
|
-
var EVENT_LIST_ITEM = gql3`
|
|
2532
|
-
fragment EventListItemFields on EventListItemType {
|
|
2533
|
-
_id
|
|
2534
|
-
active
|
|
2535
|
-
claimed
|
|
2536
|
-
cover {
|
|
2537
|
-
...ResourceImageFields
|
|
2538
|
-
}
|
|
2539
|
-
createdAt
|
|
2540
|
-
dateTime {
|
|
2541
|
-
...EventDateTimeFields
|
|
2542
|
-
}
|
|
2543
|
-
deletedAt
|
|
2544
|
-
description
|
|
2545
|
-
eventType
|
|
2546
|
-
googlePlaceId
|
|
2547
|
-
images {
|
|
2548
|
-
...ResourceImageFields
|
|
2549
|
-
}
|
|
2550
|
-
location {
|
|
2551
|
-
...LocationFields
|
|
2552
|
-
}
|
|
2553
|
-
logo {
|
|
2554
|
-
...ResourceImageFields
|
|
2555
|
-
}
|
|
2556
|
-
name
|
|
2557
|
-
rainOrShine
|
|
2558
|
-
rating
|
|
2559
|
-
region
|
|
2560
|
-
reviewCount
|
|
2561
|
-
updatedAt
|
|
2562
|
-
}
|
|
2563
|
-
${EVENT_DATETIME_FIELDS_FRAGMENT}
|
|
2564
|
-
${LOCATION_FIELDS_FRAGMENT}
|
|
2565
|
-
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
2566
|
-
`;
|
|
2567
2567
|
var GET_EVENTS = gql3`
|
|
2568
2568
|
query getEvents {
|
|
2569
2569
|
events {
|
|
2570
|
-
...
|
|
2570
|
+
...EventListItemFields
|
|
2571
2571
|
}
|
|
2572
2572
|
}
|
|
2573
2573
|
${EVENT_LIST_ITEM}
|
|
@@ -2583,7 +2583,7 @@ var GET_EVENT = gql3`
|
|
|
2583
2583
|
var GET_EVENTS_BY_REGION = gql3`
|
|
2584
2584
|
query getEventsByRegion($region: String!) {
|
|
2585
2585
|
eventsByRegion(region: $region) {
|
|
2586
|
-
...
|
|
2586
|
+
...EventListItemFields
|
|
2587
2587
|
}
|
|
2588
2588
|
}
|
|
2589
2589
|
${EVENT_LIST_ITEM}
|
|
@@ -2591,7 +2591,7 @@ var GET_EVENTS_BY_REGION = gql3`
|
|
|
2591
2591
|
var SEARCH_EVENTS = gql3`
|
|
2592
2592
|
query searchEvents($search: String!, $region: String) {
|
|
2593
2593
|
eventsSearch(search: $search, region: $region) {
|
|
2594
|
-
...
|
|
2594
|
+
...EventListItemFields
|
|
2595
2595
|
}
|
|
2596
2596
|
}
|
|
2597
2597
|
${EVENT_LIST_ITEM}
|
|
@@ -2599,7 +2599,7 @@ var SEARCH_EVENTS = gql3`
|
|
|
2599
2599
|
var GET_EVENTS_NEAR_ME = gql3`
|
|
2600
2600
|
query getEventsNearMe($latitude: Float!, $longitude: Float!, $radius: Int) {
|
|
2601
2601
|
eventsNearMe(latitude: $latitude, longitude: $longitude, radius: $radius) {
|
|
2602
|
-
...
|
|
2602
|
+
...EventListItemFields
|
|
2603
2603
|
}
|
|
2604
2604
|
}
|
|
2605
2605
|
${EVENT_LIST_ITEM}
|
|
@@ -3472,36 +3472,6 @@ var SEARCH_PARTNERS = gql12`
|
|
|
3472
3472
|
`;
|
|
3473
3473
|
|
|
3474
3474
|
// src/graphql/queries/user.ts
|
|
3475
|
-
var USER_ACTIVITY_EVENT_FRAGMENT = gql13`
|
|
3476
|
-
fragment UserActivityEventFields on UserActivityEventType {
|
|
3477
|
-
_id
|
|
3478
|
-
active
|
|
3479
|
-
cover {
|
|
3480
|
-
...ResourceImageFields
|
|
3481
|
-
}
|
|
3482
|
-
dateTime {
|
|
3483
|
-
...EventDateTimeFields
|
|
3484
|
-
}
|
|
3485
|
-
description
|
|
3486
|
-
eventType
|
|
3487
|
-
location {
|
|
3488
|
-
...LocationFields
|
|
3489
|
-
}
|
|
3490
|
-
logo {
|
|
3491
|
-
...ResourceImageFields
|
|
3492
|
-
}
|
|
3493
|
-
name
|
|
3494
|
-
rainOrShine
|
|
3495
|
-
region
|
|
3496
|
-
socialMedia {
|
|
3497
|
-
...SocialMediaFields
|
|
3498
|
-
}
|
|
3499
|
-
}
|
|
3500
|
-
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
3501
|
-
${LOCATION_FIELDS_FRAGMENT}
|
|
3502
|
-
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
3503
|
-
${EVENT_DATETIME_FIELDS_FRAGMENT}
|
|
3504
|
-
`;
|
|
3505
3475
|
var GET_USERS = gql13`
|
|
3506
3476
|
query getUsers {
|
|
3507
3477
|
users {
|
|
@@ -3547,7 +3517,7 @@ var GET_USER_ACTIVITIES = gql13`
|
|
|
3547
3517
|
userActivities {
|
|
3548
3518
|
favourites {
|
|
3549
3519
|
events {
|
|
3550
|
-
...
|
|
3520
|
+
...EventListItemFields
|
|
3551
3521
|
}
|
|
3552
3522
|
vendors {
|
|
3553
3523
|
...VendorFields
|
|
@@ -3555,24 +3525,23 @@ var GET_USER_ACTIVITIES = gql13`
|
|
|
3555
3525
|
}
|
|
3556
3526
|
going {
|
|
3557
3527
|
events {
|
|
3558
|
-
...
|
|
3528
|
+
...EventListItemFields
|
|
3559
3529
|
}
|
|
3560
3530
|
}
|
|
3561
3531
|
interested {
|
|
3562
3532
|
events {
|
|
3563
|
-
...
|
|
3533
|
+
...EventListItemFields
|
|
3564
3534
|
}
|
|
3565
3535
|
}
|
|
3566
3536
|
present {
|
|
3567
3537
|
events {
|
|
3568
|
-
...
|
|
3538
|
+
...EventListItemFields
|
|
3569
3539
|
}
|
|
3570
3540
|
}
|
|
3571
3541
|
}
|
|
3572
3542
|
}
|
|
3573
3543
|
${EVENT_LIST_ITEM}
|
|
3574
3544
|
${VENDOR}
|
|
3575
|
-
${USER_ACTIVITY_EVENT_FRAGMENT}
|
|
3576
3545
|
`;
|
|
3577
3546
|
|
|
3578
3547
|
// src/graphql/hooks/event/hooksMutation.ts
|
|
@@ -4043,7 +4012,7 @@ var GET_RESOURCE_CONNECTIONS = gql19`
|
|
|
4043
4012
|
) {
|
|
4044
4013
|
resourceConnections(resourceId: $resourceId, resourceType: $resourceType) {
|
|
4045
4014
|
events {
|
|
4046
|
-
...
|
|
4015
|
+
...EventListItemFields
|
|
4047
4016
|
}
|
|
4048
4017
|
vendors {
|
|
4049
4018
|
...VendorFields
|