@timardex/cluemart-shared 1.2.40 → 1.2.42
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-AGTGPOYU.mjs → chunk-BJBVRP2S.mjs} +2 -2
- package/dist/{chunk-5VCEVSTG.mjs → chunk-SRE44IL5.mjs} +44 -5
- package/dist/chunk-SRE44IL5.mjs.map +1 -0
- package/dist/enums/index.cjs +44 -4
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +42 -5
- package/dist/enums/index.d.ts +42 -5
- package/dist/enums/index.mjs +3 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +2 -8
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +4 -10
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +46 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +42 -5
- package/dist/index.d.ts +42 -5
- package/dist/index.mjs +45 -12
- 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-5VCEVSTG.mjs.map +0 -1
- /package/dist/{chunk-AGTGPOYU.mjs.map → chunk-BJBVRP2S.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -30,6 +30,43 @@ declare enum EnumFoodFlavor {
|
|
|
30
30
|
SPICY = "Spicy",
|
|
31
31
|
SWEET = "Sweet"
|
|
32
32
|
}
|
|
33
|
+
declare enum EnumFoodType {
|
|
34
|
+
ADDITIVE_FREE = "Additive_Free",
|
|
35
|
+
AIR_FRIED = "Air_Fried",
|
|
36
|
+
ALLERGEN_FRIENDLY = "Allergen_Friendly",
|
|
37
|
+
ATHLETE_FRIENDLY = "Athlete_Friendly",
|
|
38
|
+
BAKED = "Baked",
|
|
39
|
+
DAIRY_FREE = "Dairy_Free",
|
|
40
|
+
DIABETIC_FRIENDLY = "Diabetic_Friendly",
|
|
41
|
+
EGG_FREE = "Egg_Free",
|
|
42
|
+
FRESH = "Fresh",
|
|
43
|
+
GLUTEN_FREE = "Gluten_Free",
|
|
44
|
+
GRILLED = "Grilled",
|
|
45
|
+
HALAL = "Halal",
|
|
46
|
+
HEART_HEALTHY = "Heart_Healthy",
|
|
47
|
+
HIGH_FIBER = "High_Fiber",
|
|
48
|
+
HIGH_PROTEIN = "High_Protein",
|
|
49
|
+
KETO = "Keto",
|
|
50
|
+
KOSHER = "Kosher",
|
|
51
|
+
LACTOSE_FREE = "Lactose_Free",
|
|
52
|
+
LOW_CALORIE = "Low_Calorie",
|
|
53
|
+
LOW_CARB = "Low_Carb",
|
|
54
|
+
LOW_FAT = "Low_Fat",
|
|
55
|
+
LOW_SODIUM = "Low_Sodium",
|
|
56
|
+
NO_ADDED_SUGAR = "No_Added_Sugar",
|
|
57
|
+
NO_PRESERVATIVES = "No_Preservatives",
|
|
58
|
+
NON_GMO = "Non_GMO",
|
|
59
|
+
NUT_FREE = "Nut_Free",
|
|
60
|
+
ORGANIC = "Organic",
|
|
61
|
+
PALEO = "Paleo",
|
|
62
|
+
PLANT_BASED = "Plant_Based",
|
|
63
|
+
RAW = "Raw",
|
|
64
|
+
SMOKED = "Smoked",
|
|
65
|
+
SOY_FREE = "Soy_Free",
|
|
66
|
+
SUGAR_FREE = "Sugar_Free",
|
|
67
|
+
VEGAN = "Vegan",
|
|
68
|
+
VEGETARIAN = "Vegetarian"
|
|
69
|
+
}
|
|
33
70
|
declare enum EnumResourceType {
|
|
34
71
|
EVENT = "event",
|
|
35
72
|
VENDOR = "vendor"
|
|
@@ -119,12 +156,12 @@ declare enum EnumSocialMedia {
|
|
|
119
156
|
declare enum EnumEventDateStatus {
|
|
120
157
|
CANCELED = "Canceled",
|
|
121
158
|
ENDED = "Ended",
|
|
122
|
-
NEXT_WEEK = "
|
|
159
|
+
NEXT_WEEK = "Next_Week",
|
|
123
160
|
RE_SCHEDULED = "Rescheduled",
|
|
124
161
|
STARTED = "Started",
|
|
125
|
-
STARTING_SOON = "
|
|
126
|
-
THIS_WEEK = "
|
|
127
|
-
THIS_WEEKEND = "
|
|
162
|
+
STARTING_SOON = "Starting_Soon",
|
|
163
|
+
THIS_WEEK = "This_Week",
|
|
164
|
+
THIS_WEEKEND = "This_Weekend",
|
|
128
165
|
TODAY = "Today",
|
|
129
166
|
TOMORROW = "Tomorrow",
|
|
130
167
|
UPCOMING = "Upcoming"
|
|
@@ -1512,4 +1549,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1512
1549
|
declare const paymentMethodOptions: OptionItem[];
|
|
1513
1550
|
declare function normalizeUrl(url: string): string;
|
|
1514
1551
|
|
|
1515
|
-
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, EnumEventDateStatus, 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 };
|
|
1552
|
+
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, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, 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
|
@@ -30,6 +30,43 @@ declare enum EnumFoodFlavor {
|
|
|
30
30
|
SPICY = "Spicy",
|
|
31
31
|
SWEET = "Sweet"
|
|
32
32
|
}
|
|
33
|
+
declare enum EnumFoodType {
|
|
34
|
+
ADDITIVE_FREE = "Additive_Free",
|
|
35
|
+
AIR_FRIED = "Air_Fried",
|
|
36
|
+
ALLERGEN_FRIENDLY = "Allergen_Friendly",
|
|
37
|
+
ATHLETE_FRIENDLY = "Athlete_Friendly",
|
|
38
|
+
BAKED = "Baked",
|
|
39
|
+
DAIRY_FREE = "Dairy_Free",
|
|
40
|
+
DIABETIC_FRIENDLY = "Diabetic_Friendly",
|
|
41
|
+
EGG_FREE = "Egg_Free",
|
|
42
|
+
FRESH = "Fresh",
|
|
43
|
+
GLUTEN_FREE = "Gluten_Free",
|
|
44
|
+
GRILLED = "Grilled",
|
|
45
|
+
HALAL = "Halal",
|
|
46
|
+
HEART_HEALTHY = "Heart_Healthy",
|
|
47
|
+
HIGH_FIBER = "High_Fiber",
|
|
48
|
+
HIGH_PROTEIN = "High_Protein",
|
|
49
|
+
KETO = "Keto",
|
|
50
|
+
KOSHER = "Kosher",
|
|
51
|
+
LACTOSE_FREE = "Lactose_Free",
|
|
52
|
+
LOW_CALORIE = "Low_Calorie",
|
|
53
|
+
LOW_CARB = "Low_Carb",
|
|
54
|
+
LOW_FAT = "Low_Fat",
|
|
55
|
+
LOW_SODIUM = "Low_Sodium",
|
|
56
|
+
NO_ADDED_SUGAR = "No_Added_Sugar",
|
|
57
|
+
NO_PRESERVATIVES = "No_Preservatives",
|
|
58
|
+
NON_GMO = "Non_GMO",
|
|
59
|
+
NUT_FREE = "Nut_Free",
|
|
60
|
+
ORGANIC = "Organic",
|
|
61
|
+
PALEO = "Paleo",
|
|
62
|
+
PLANT_BASED = "Plant_Based",
|
|
63
|
+
RAW = "Raw",
|
|
64
|
+
SMOKED = "Smoked",
|
|
65
|
+
SOY_FREE = "Soy_Free",
|
|
66
|
+
SUGAR_FREE = "Sugar_Free",
|
|
67
|
+
VEGAN = "Vegan",
|
|
68
|
+
VEGETARIAN = "Vegetarian"
|
|
69
|
+
}
|
|
33
70
|
declare enum EnumResourceType {
|
|
34
71
|
EVENT = "event",
|
|
35
72
|
VENDOR = "vendor"
|
|
@@ -119,12 +156,12 @@ declare enum EnumSocialMedia {
|
|
|
119
156
|
declare enum EnumEventDateStatus {
|
|
120
157
|
CANCELED = "Canceled",
|
|
121
158
|
ENDED = "Ended",
|
|
122
|
-
NEXT_WEEK = "
|
|
159
|
+
NEXT_WEEK = "Next_Week",
|
|
123
160
|
RE_SCHEDULED = "Rescheduled",
|
|
124
161
|
STARTED = "Started",
|
|
125
|
-
STARTING_SOON = "
|
|
126
|
-
THIS_WEEK = "
|
|
127
|
-
THIS_WEEKEND = "
|
|
162
|
+
STARTING_SOON = "Starting_Soon",
|
|
163
|
+
THIS_WEEK = "This_Week",
|
|
164
|
+
THIS_WEEKEND = "This_Weekend",
|
|
128
165
|
TODAY = "Today",
|
|
129
166
|
TOMORROW = "Tomorrow",
|
|
130
167
|
UPCOMING = "Upcoming"
|
|
@@ -1512,4 +1549,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1512
1549
|
declare const paymentMethodOptions: OptionItem[];
|
|
1513
1550
|
declare function normalizeUrl(url: string): string;
|
|
1514
1551
|
|
|
1515
|
-
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, EnumEventDateStatus, 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 };
|
|
1552
|
+
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, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, 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
|
@@ -32,6 +32,44 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
|
32
32
|
EnumFoodFlavor3["SWEET"] = "Sweet";
|
|
33
33
|
return EnumFoodFlavor3;
|
|
34
34
|
})(EnumFoodFlavor || {});
|
|
35
|
+
var EnumFoodType = /* @__PURE__ */ ((EnumFoodType2) => {
|
|
36
|
+
EnumFoodType2["ADDITIVE_FREE"] = "Additive_Free";
|
|
37
|
+
EnumFoodType2["AIR_FRIED"] = "Air_Fried";
|
|
38
|
+
EnumFoodType2["ALLERGEN_FRIENDLY"] = "Allergen_Friendly";
|
|
39
|
+
EnumFoodType2["ATHLETE_FRIENDLY"] = "Athlete_Friendly";
|
|
40
|
+
EnumFoodType2["BAKED"] = "Baked";
|
|
41
|
+
EnumFoodType2["DAIRY_FREE"] = "Dairy_Free";
|
|
42
|
+
EnumFoodType2["DIABETIC_FRIENDLY"] = "Diabetic_Friendly";
|
|
43
|
+
EnumFoodType2["EGG_FREE"] = "Egg_Free";
|
|
44
|
+
EnumFoodType2["FRESH"] = "Fresh";
|
|
45
|
+
EnumFoodType2["GLUTEN_FREE"] = "Gluten_Free";
|
|
46
|
+
EnumFoodType2["GRILLED"] = "Grilled";
|
|
47
|
+
EnumFoodType2["HALAL"] = "Halal";
|
|
48
|
+
EnumFoodType2["HEART_HEALTHY"] = "Heart_Healthy";
|
|
49
|
+
EnumFoodType2["HIGH_FIBER"] = "High_Fiber";
|
|
50
|
+
EnumFoodType2["HIGH_PROTEIN"] = "High_Protein";
|
|
51
|
+
EnumFoodType2["KETO"] = "Keto";
|
|
52
|
+
EnumFoodType2["KOSHER"] = "Kosher";
|
|
53
|
+
EnumFoodType2["LACTOSE_FREE"] = "Lactose_Free";
|
|
54
|
+
EnumFoodType2["LOW_CALORIE"] = "Low_Calorie";
|
|
55
|
+
EnumFoodType2["LOW_CARB"] = "Low_Carb";
|
|
56
|
+
EnumFoodType2["LOW_FAT"] = "Low_Fat";
|
|
57
|
+
EnumFoodType2["LOW_SODIUM"] = "Low_Sodium";
|
|
58
|
+
EnumFoodType2["NO_ADDED_SUGAR"] = "No_Added_Sugar";
|
|
59
|
+
EnumFoodType2["NO_PRESERVATIVES"] = "No_Preservatives";
|
|
60
|
+
EnumFoodType2["NON_GMO"] = "Non_GMO";
|
|
61
|
+
EnumFoodType2["NUT_FREE"] = "Nut_Free";
|
|
62
|
+
EnumFoodType2["ORGANIC"] = "Organic";
|
|
63
|
+
EnumFoodType2["PALEO"] = "Paleo";
|
|
64
|
+
EnumFoodType2["PLANT_BASED"] = "Plant_Based";
|
|
65
|
+
EnumFoodType2["RAW"] = "Raw";
|
|
66
|
+
EnumFoodType2["SMOKED"] = "Smoked";
|
|
67
|
+
EnumFoodType2["SOY_FREE"] = "Soy_Free";
|
|
68
|
+
EnumFoodType2["SUGAR_FREE"] = "Sugar_Free";
|
|
69
|
+
EnumFoodType2["VEGAN"] = "Vegan";
|
|
70
|
+
EnumFoodType2["VEGETARIAN"] = "Vegetarian";
|
|
71
|
+
return EnumFoodType2;
|
|
72
|
+
})(EnumFoodType || {});
|
|
35
73
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType2) => {
|
|
36
74
|
EnumResourceType2["EVENT"] = "event";
|
|
37
75
|
EnumResourceType2["VENDOR"] = "vendor";
|
|
@@ -133,12 +171,12 @@ var EnumSocialMedia = /* @__PURE__ */ ((EnumSocialMedia2) => {
|
|
|
133
171
|
var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus2) => {
|
|
134
172
|
EnumEventDateStatus2["CANCELED"] = "Canceled";
|
|
135
173
|
EnumEventDateStatus2["ENDED"] = "Ended";
|
|
136
|
-
EnumEventDateStatus2["NEXT_WEEK"] = "
|
|
174
|
+
EnumEventDateStatus2["NEXT_WEEK"] = "Next_Week";
|
|
137
175
|
EnumEventDateStatus2["RE_SCHEDULED"] = "Rescheduled";
|
|
138
176
|
EnumEventDateStatus2["STARTED"] = "Started";
|
|
139
|
-
EnumEventDateStatus2["STARTING_SOON"] = "
|
|
140
|
-
EnumEventDateStatus2["THIS_WEEK"] = "
|
|
141
|
-
EnumEventDateStatus2["THIS_WEEKEND"] = "
|
|
177
|
+
EnumEventDateStatus2["STARTING_SOON"] = "Starting_Soon";
|
|
178
|
+
EnumEventDateStatus2["THIS_WEEK"] = "This_Week";
|
|
179
|
+
EnumEventDateStatus2["THIS_WEEKEND"] = "This_Weekend";
|
|
142
180
|
EnumEventDateStatus2["TODAY"] = "Today";
|
|
143
181
|
EnumEventDateStatus2["TOMORROW"] = "Tomorrow";
|
|
144
182
|
EnumEventDateStatus2["UPCOMING"] = "Upcoming";
|
|
@@ -4888,18 +4926,12 @@ var userSchema = yup4.object().shape({
|
|
|
4888
4926
|
email: emailRequiredSchema,
|
|
4889
4927
|
firstName: yup4.string().label("First Name").required("First name is required"),
|
|
4890
4928
|
lastName: yup4.string().label("Last Name").required("Last name is required"),
|
|
4891
|
-
password: yup4.string().nullable().trim().label("Password").
|
|
4892
|
-
is: (val) => !!val,
|
|
4893
|
-
// only validate if password is not empty
|
|
4894
|
-
then: (schema) => schema.min(8, "Password must be at least 8 characters long")
|
|
4895
|
-
}),
|
|
4929
|
+
password: yup4.string().nullable().trim().label("Password").min(8, "Password must be at least 8 characters long").notRequired(),
|
|
4896
4930
|
preferredRegion: yup4.string().label("Preferred Region").required("Preferred region is required"),
|
|
4897
|
-
// eslint-disable-next-line sort-keys
|
|
4898
4931
|
confirmPassword: yup4.string().nullable().trim().label("Confirm Password").when("password", {
|
|
4899
4932
|
is: (val) => !!val,
|
|
4900
|
-
// only
|
|
4933
|
+
// only necessary if password typed
|
|
4901
4934
|
then: (schema) => schema.required("Confirm Password is required").oneOf([yup4.ref("password")], "Passwords must match"),
|
|
4902
|
-
// eslint-disable-next-line sort-keys
|
|
4903
4935
|
otherwise: (schema) => schema.notRequired()
|
|
4904
4936
|
}),
|
|
4905
4937
|
role: yup4.mixed().oneOf(Object.values(EnumUserRole)).required("Role is required")
|
|
@@ -6021,6 +6053,7 @@ export {
|
|
|
6021
6053
|
EnumEventDateStatus,
|
|
6022
6054
|
EnumEventType,
|
|
6023
6055
|
EnumFoodFlavor,
|
|
6056
|
+
EnumFoodType,
|
|
6024
6057
|
EnumInviteStatus,
|
|
6025
6058
|
EnumNotificationResourceType,
|
|
6026
6059
|
EnumNotificationType,
|