@timardex/cluemart-shared 1.2.25 → 1.2.26
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-G5RI3IO2.mjs → chunk-GGNNB6MQ.mjs} +2 -2
- package/dist/{chunk-IVFHFNLY.mjs → chunk-NNS747QT.mjs} +2 -1
- package/dist/chunk-NNS747QT.mjs.map +1 -0
- package/dist/enums/index.cjs +1 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +1 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +43 -46
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +2 -1
- package/dist/formFields/index.d.ts +2 -1
- package/dist/formFields/index.mjs +44 -48
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/graphql/index.cjs +2 -9
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.mjs +3 -10
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +46 -55
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +45 -55
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-IVFHFNLY.mjs.map +0 -1
- /package/dist/{chunk-G5RI3IO2.mjs.map → chunk-GGNNB6MQ.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -62,6 +62,7 @@ declare enum EnumNotificationResourceType {
|
|
|
62
62
|
CREATED_EVENT = "created_event",
|
|
63
63
|
CREATED_VENDOR = "created_vendor",
|
|
64
64
|
EVENT_INVITE_VENDOR = "event_invite_vendor",
|
|
65
|
+
EVENT_STARTING_SOON = "event_starting_soon",
|
|
65
66
|
NEW_CHAT_MESSAGE = "new_chat_message",
|
|
66
67
|
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
|
|
67
68
|
}
|
|
@@ -792,6 +793,7 @@ declare const testersFields: FormField[];
|
|
|
792
793
|
|
|
793
794
|
declare const contactUsFields: FormField[];
|
|
794
795
|
|
|
796
|
+
declare const emailField: FormField;
|
|
795
797
|
declare const companyContactFields: FormField[];
|
|
796
798
|
|
|
797
799
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -1493,4 +1495,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1493
1495
|
declare const paymentMethodOptions: OptionItem[];
|
|
1494
1496
|
declare function normalizeUrl(url: string): string;
|
|
1495
1497
|
|
|
1496
|
-
export { type AdFormData, type AdType, type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumEventType, EnumFoodFlavor, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerType, type PaymentInfoType, type PlacePrediction, 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 Subcategory, type SubcategoryItems, type TermsAgreement, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserActivity, type UserActivityEvent, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeleteRelation, useDeleteTester, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivities, useGetResourceConnections, useGetTester, useGetTesters, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchVendors, useSelectPackage, useSendChatMessage, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateTester, 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 };
|
|
1498
|
+
export { type AdFormData, type AdType, type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumEventType, EnumFoodFlavor, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerType, type PaymentInfoType, type PlacePrediction, 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 Subcategory, type SubcategoryItems, type TermsAgreement, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserActivity, type UserActivityEvent, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeleteRelation, useDeleteTester, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivities, useGetResourceConnections, useGetTester, useGetTesters, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchVendors, useSelectPackage, useSendChatMessage, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateTester, 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
|
@@ -62,6 +62,7 @@ declare enum EnumNotificationResourceType {
|
|
|
62
62
|
CREATED_EVENT = "created_event",
|
|
63
63
|
CREATED_VENDOR = "created_vendor",
|
|
64
64
|
EVENT_INVITE_VENDOR = "event_invite_vendor",
|
|
65
|
+
EVENT_STARTING_SOON = "event_starting_soon",
|
|
65
66
|
NEW_CHAT_MESSAGE = "new_chat_message",
|
|
66
67
|
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
|
|
67
68
|
}
|
|
@@ -792,6 +793,7 @@ declare const testersFields: FormField[];
|
|
|
792
793
|
|
|
793
794
|
declare const contactUsFields: FormField[];
|
|
794
795
|
|
|
796
|
+
declare const emailField: FormField;
|
|
795
797
|
declare const companyContactFields: FormField[];
|
|
796
798
|
|
|
797
799
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -1493,4 +1495,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1493
1495
|
declare const paymentMethodOptions: OptionItem[];
|
|
1494
1496
|
declare function normalizeUrl(url: string): string;
|
|
1495
1497
|
|
|
1496
|
-
export { type AdFormData, type AdType, type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumEventType, EnumFoodFlavor, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerType, type PaymentInfoType, type PlacePrediction, 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 Subcategory, type SubcategoryItems, type TermsAgreement, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserActivity, type UserActivityEvent, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeleteRelation, useDeleteTester, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivities, useGetResourceConnections, useGetTester, useGetTesters, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchVendors, useSelectPackage, useSendChatMessage, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateTester, 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 };
|
|
1498
|
+
export { type AdFormData, type AdType, type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumEventType, EnumFoodFlavor, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerType, type PaymentInfoType, type PlacePrediction, 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 Subcategory, type SubcategoryItems, type TermsAgreement, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserActivity, type UserActivityEvent, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeleteRelation, useDeleteTester, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivities, useGetResourceConnections, useGetTester, useGetTesters, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchVendors, useSelectPackage, useSendChatMessage, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateTester, 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
|
@@ -69,6 +69,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
69
69
|
EnumNotificationResourceType2["CREATED_EVENT"] = "created_event";
|
|
70
70
|
EnumNotificationResourceType2["CREATED_VENDOR"] = "created_vendor";
|
|
71
71
|
EnumNotificationResourceType2["EVENT_INVITE_VENDOR"] = "event_invite_vendor" /* EVENT_INVITE_VENDOR */;
|
|
72
|
+
EnumNotificationResourceType2["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
72
73
|
EnumNotificationResourceType2["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
73
74
|
EnumNotificationResourceType2["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event" /* VENDOR_APPLICATION_TO_EVENT */;
|
|
74
75
|
return EnumNotificationResourceType2;
|
|
@@ -824,13 +825,36 @@ var stallTypeOptions = stallTypes.map((type) => ({
|
|
|
824
825
|
stallCapacity: 0
|
|
825
826
|
}));
|
|
826
827
|
|
|
828
|
+
// src/formFields/global.ts
|
|
829
|
+
var emailField = {
|
|
830
|
+
helperText: "Enter email address",
|
|
831
|
+
keyboardType: "email-address",
|
|
832
|
+
name: "email",
|
|
833
|
+
placeholder: "Email"
|
|
834
|
+
};
|
|
835
|
+
var companyContactFields = [
|
|
836
|
+
{
|
|
837
|
+
...emailField,
|
|
838
|
+
name: "contactDetails.email"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
helperText: "Enter your mobile phone number",
|
|
842
|
+
keyboardType: "phone-pad",
|
|
843
|
+
name: "contactDetails.mobilePhone",
|
|
844
|
+
placeholder: "Mobile Phone Number"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
helperText: "Enter your landline phone number",
|
|
848
|
+
keyboardType: "phone-pad",
|
|
849
|
+
name: "contactDetails.landlinePhone",
|
|
850
|
+
placeholder: "Landline Phone Number"
|
|
851
|
+
}
|
|
852
|
+
];
|
|
853
|
+
|
|
827
854
|
// src/formFields/auth.ts
|
|
828
855
|
var loginFields = [
|
|
829
856
|
{
|
|
830
|
-
|
|
831
|
-
keyboardType: "email-address",
|
|
832
|
-
name: "email",
|
|
833
|
-
placeholder: "Email"
|
|
857
|
+
...emailField
|
|
834
858
|
},
|
|
835
859
|
{
|
|
836
860
|
helperText: "Enter password *",
|
|
@@ -854,10 +878,7 @@ var registerFields = [
|
|
|
854
878
|
placeholder: "Last Name"
|
|
855
879
|
},
|
|
856
880
|
{
|
|
857
|
-
|
|
858
|
-
keyboardType: "email-address",
|
|
859
|
-
name: "email",
|
|
860
|
-
placeholder: "Email"
|
|
881
|
+
...emailField
|
|
861
882
|
},
|
|
862
883
|
{
|
|
863
884
|
helperText: "Enter password *",
|
|
@@ -869,10 +890,8 @@ var registerFields = [
|
|
|
869
890
|
];
|
|
870
891
|
var requestPasswordResetFields = [
|
|
871
892
|
{
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
name: "email",
|
|
875
|
-
placeholder: "Email"
|
|
893
|
+
...emailField,
|
|
894
|
+
helperText: "Enter email address to reset your password *"
|
|
876
895
|
}
|
|
877
896
|
];
|
|
878
897
|
var resetPasswordFields = [
|
|
@@ -893,11 +912,9 @@ var resetPasswordFields = [
|
|
|
893
912
|
];
|
|
894
913
|
var validateVerificationTokenFields = [
|
|
895
914
|
{
|
|
915
|
+
...emailField,
|
|
896
916
|
disabled: true,
|
|
897
|
-
helperText: "Your email address *"
|
|
898
|
-
keyboardType: "email-address",
|
|
899
|
-
name: "email",
|
|
900
|
-
placeholder: "Email"
|
|
917
|
+
helperText: "Your email address *"
|
|
901
918
|
},
|
|
902
919
|
{
|
|
903
920
|
helperText: "Enter the Verification code sent to you by email *",
|
|
@@ -916,6 +933,11 @@ var profileFields = [
|
|
|
916
933
|
name: "email",
|
|
917
934
|
placeholder: "Email"
|
|
918
935
|
},
|
|
936
|
+
{
|
|
937
|
+
...emailField,
|
|
938
|
+
disabled: true,
|
|
939
|
+
helperText: "Email cannot be changed"
|
|
940
|
+
},
|
|
919
941
|
{
|
|
920
942
|
helperText: "Enter first name",
|
|
921
943
|
keyboardType: "default",
|
|
@@ -1881,10 +1903,8 @@ var testersFields = [
|
|
|
1881
1903
|
placeholder: "Last Name"
|
|
1882
1904
|
},
|
|
1883
1905
|
{
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
name: "email",
|
|
1887
|
-
placeholder: "Email"
|
|
1906
|
+
...emailField,
|
|
1907
|
+
helperText: "Enter email address *"
|
|
1888
1908
|
},
|
|
1889
1909
|
{
|
|
1890
1910
|
helperText: "Enter your company name *",
|
|
@@ -1909,10 +1929,8 @@ var contactUsFields = [
|
|
|
1909
1929
|
placeholder: "Last Name"
|
|
1910
1930
|
},
|
|
1911
1931
|
{
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
name: "email",
|
|
1915
|
-
placeholder: "Email"
|
|
1932
|
+
...emailField,
|
|
1933
|
+
helperText: "Enter email address *"
|
|
1916
1934
|
},
|
|
1917
1935
|
{
|
|
1918
1936
|
helperText: "Enter your message *",
|
|
@@ -1923,28 +1941,6 @@ var contactUsFields = [
|
|
|
1923
1941
|
}
|
|
1924
1942
|
];
|
|
1925
1943
|
|
|
1926
|
-
// src/formFields/global.ts
|
|
1927
|
-
var companyContactFields = [
|
|
1928
|
-
{
|
|
1929
|
-
helperText: "Enter email address",
|
|
1930
|
-
keyboardType: "email-address",
|
|
1931
|
-
name: "contactDetails.email",
|
|
1932
|
-
placeholder: "Email"
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
helperText: "Enter your mobile phone number",
|
|
1936
|
-
keyboardType: "phone-pad",
|
|
1937
|
-
name: "contactDetails.mobilePhone",
|
|
1938
|
-
placeholder: "Mobile Phone Number"
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
helperText: "Enter your landline phone number",
|
|
1942
|
-
keyboardType: "phone-pad",
|
|
1943
|
-
name: "contactDetails.landlinePhone",
|
|
1944
|
-
placeholder: "Landline Phone Number"
|
|
1945
|
-
}
|
|
1946
|
-
];
|
|
1947
|
-
|
|
1948
1944
|
// src/graphql/hooks/admin/hooksMutation.ts
|
|
1949
1945
|
import { useMutation } from "@apollo/client";
|
|
1950
1946
|
|
|
@@ -3974,20 +3970,18 @@ var UPDATE_USER_MUTATION = gql22`
|
|
|
3974
3970
|
${USER_FIELDS_FRAGMENT}
|
|
3975
3971
|
`;
|
|
3976
3972
|
var DELETE_USER_MUTATION = gql22`
|
|
3977
|
-
mutation deleteUser($
|
|
3978
|
-
deleteUser(
|
|
3973
|
+
mutation deleteUser($email: String!) {
|
|
3974
|
+
deleteUser(email: $email)
|
|
3979
3975
|
}
|
|
3980
3976
|
`;
|
|
3981
3977
|
var ADD_USER_FAVOURITE_RESOURCE_MUTATION = gql22`
|
|
3982
3978
|
mutation addUserFavouriteResource(
|
|
3983
3979
|
$resourceId: ID!
|
|
3984
3980
|
$resourceType: ResourceTypeEnum!
|
|
3985
|
-
$userId: ID!
|
|
3986
3981
|
) {
|
|
3987
3982
|
addUserFavouriteResource(
|
|
3988
3983
|
resourceId: $resourceId
|
|
3989
3984
|
resourceType: $resourceType
|
|
3990
|
-
userId: $userId
|
|
3991
3985
|
) {
|
|
3992
3986
|
...UserFields
|
|
3993
3987
|
}
|
|
@@ -3998,12 +3992,10 @@ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = gql22`
|
|
|
3998
3992
|
mutation removeUserFavouriteResource(
|
|
3999
3993
|
$resourceId: ID!
|
|
4000
3994
|
$resourceType: ResourceTypeEnum!
|
|
4001
|
-
$userId: ID!
|
|
4002
3995
|
) {
|
|
4003
3996
|
removeUserFavouriteResource(
|
|
4004
3997
|
resourceId: $resourceId
|
|
4005
3998
|
resourceType: $resourceType
|
|
4006
|
-
userId: $userId
|
|
4007
3999
|
) {
|
|
4008
4000
|
...UserFields
|
|
4009
4001
|
}
|
|
@@ -4012,16 +4004,13 @@ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = gql22`
|
|
|
4012
4004
|
`;
|
|
4013
4005
|
var SELECT_PACKAGE_MUTATION = gql22`
|
|
4014
4006
|
mutation selectPackage(
|
|
4015
|
-
$userId: ID!
|
|
4016
4007
|
$selectedLicence: LicencesEnumType!
|
|
4017
4008
|
$removedLicence: LicencesEnumType
|
|
4018
4009
|
) {
|
|
4019
4010
|
selectPackage(
|
|
4020
|
-
userId: $userId
|
|
4021
4011
|
selectedLicence: $selectedLicence
|
|
4022
4012
|
removedLicence: $removedLicence
|
|
4023
4013
|
) {
|
|
4024
|
-
userId
|
|
4025
4014
|
licences
|
|
4026
4015
|
message
|
|
4027
4016
|
}
|
|
@@ -6042,6 +6031,7 @@ export {
|
|
|
6042
6031
|
defaultRegion,
|
|
6043
6032
|
defaultVendorFormValues,
|
|
6044
6033
|
defaultVendorInfoFormValues,
|
|
6034
|
+
emailField,
|
|
6045
6035
|
eventBasicInfoFields,
|
|
6046
6036
|
eventEndDateFields,
|
|
6047
6037
|
eventInfo,
|