@timardex/cluemart-shared 1.1.99 → 1.2.0
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-BMYKEYZE.mjs → chunk-4RWXISXJ.mjs} +5 -5
- package/dist/{chunk-BMYKEYZE.mjs.map → chunk-4RWXISXJ.mjs.map} +1 -1
- package/dist/{chunk-YZEVTCB6.mjs → chunk-JUZHLSQK.mjs} +2 -2
- package/dist/enums/index.cjs +4 -4
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +4 -4
- package/dist/enums/index.d.ts +4 -4
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +47 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +5 -1
- package/dist/formFields/index.d.ts +5 -1
- package/dist/formFields/index.mjs +40 -2
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/graphql/index.cjs +4 -1
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.mjs +5 -2
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +4 -4
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +48 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/index.mjs +44 -5
- 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-YZEVTCB6.mjs.map → chunk-JUZHLSQK.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -25,10 +25,10 @@ declare enum EnumPaymentMethod {
|
|
|
25
25
|
STRIPE = "stripe"
|
|
26
26
|
}
|
|
27
27
|
declare enum EnumFoodFlavor {
|
|
28
|
-
SALTY = "
|
|
29
|
-
SAVOURY = "
|
|
30
|
-
SPICY = "
|
|
31
|
-
SWEET = "
|
|
28
|
+
SALTY = "Salty",
|
|
29
|
+
SAVOURY = "Savoury",
|
|
30
|
+
SPICY = "Spicy",
|
|
31
|
+
SWEET = "Sweet"
|
|
32
32
|
}
|
|
33
33
|
declare enum EnumResourceType {
|
|
34
34
|
EVENT = "event",
|
|
@@ -698,8 +698,12 @@ declare const vendorStallSize: {
|
|
|
698
698
|
};
|
|
699
699
|
declare const vendorPackaging: FormField;
|
|
700
700
|
declare const vendorProducedIn: FormField;
|
|
701
|
+
declare const vendorFoodFlavour: FormField;
|
|
702
|
+
declare const vendorAvailability: FormField[];
|
|
703
|
+
declare const vendorCompliance: FormField[];
|
|
701
704
|
declare const packagingOptions: OptionItem[];
|
|
702
705
|
declare const producedIngOptions: OptionItem[];
|
|
706
|
+
declare const foodFlavourOptions: OptionItem[];
|
|
703
707
|
|
|
704
708
|
declare const eventBasicInfoFields: FormField[];
|
|
705
709
|
declare const eventStartDateFields: FormDateField[];
|
|
@@ -1392,4 +1396,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1392
1396
|
declare const paymentMethodOptions: OptionItem[];
|
|
1393
1397
|
declare function normalizeUrl(url: string): string;
|
|
1394
1398
|
|
|
1395
|
-
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, 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 EventWithConnectionDatesType, 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 ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorType, type VendorWithConnectionDatesType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, 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, useGetResourceConnections, useGetResourceViews, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchVendors, useSelectPackage, useSendChatMessage, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateTester, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, useVendorForm, useVendorInfoForm, validateVerificationTokenFields, vendorBasicInfoFields, vendorElectricity, vendorEndDateFields, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
1399
|
+
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, 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 EventWithConnectionDatesType, 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 ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorType, type VendorWithConnectionDatesType, 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, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, 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, useGetResourceConnections, useGetResourceViews, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, 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, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
package/dist/index.d.ts
CHANGED
|
@@ -25,10 +25,10 @@ declare enum EnumPaymentMethod {
|
|
|
25
25
|
STRIPE = "stripe"
|
|
26
26
|
}
|
|
27
27
|
declare enum EnumFoodFlavor {
|
|
28
|
-
SALTY = "
|
|
29
|
-
SAVOURY = "
|
|
30
|
-
SPICY = "
|
|
31
|
-
SWEET = "
|
|
28
|
+
SALTY = "Salty",
|
|
29
|
+
SAVOURY = "Savoury",
|
|
30
|
+
SPICY = "Spicy",
|
|
31
|
+
SWEET = "Sweet"
|
|
32
32
|
}
|
|
33
33
|
declare enum EnumResourceType {
|
|
34
34
|
EVENT = "event",
|
|
@@ -698,8 +698,12 @@ declare const vendorStallSize: {
|
|
|
698
698
|
};
|
|
699
699
|
declare const vendorPackaging: FormField;
|
|
700
700
|
declare const vendorProducedIn: FormField;
|
|
701
|
+
declare const vendorFoodFlavour: FormField;
|
|
702
|
+
declare const vendorAvailability: FormField[];
|
|
703
|
+
declare const vendorCompliance: FormField[];
|
|
701
704
|
declare const packagingOptions: OptionItem[];
|
|
702
705
|
declare const producedIngOptions: OptionItem[];
|
|
706
|
+
declare const foodFlavourOptions: OptionItem[];
|
|
703
707
|
|
|
704
708
|
declare const eventBasicInfoFields: FormField[];
|
|
705
709
|
declare const eventStartDateFields: FormDateField[];
|
|
@@ -1392,4 +1396,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1392
1396
|
declare const paymentMethodOptions: OptionItem[];
|
|
1393
1397
|
declare function normalizeUrl(url: string): string;
|
|
1394
1398
|
|
|
1395
|
-
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, 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 EventWithConnectionDatesType, 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 ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorType, type VendorWithConnectionDatesType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, 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, useGetResourceConnections, useGetResourceViews, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchVendors, useSelectPackage, useSendChatMessage, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateTester, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, useVendorForm, useVendorInfoForm, validateVerificationTokenFields, vendorBasicInfoFields, vendorElectricity, vendorEndDateFields, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
1399
|
+
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, 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 EventWithConnectionDatesType, 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 ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorType, type VendorWithConnectionDatesType, 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, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, 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, useGetResourceConnections, useGetResourceViews, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, 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, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
package/dist/index.mjs
CHANGED
|
@@ -26,10 +26,10 @@ var EnumPaymentMethod = /* @__PURE__ */ ((EnumPaymentMethod2) => {
|
|
|
26
26
|
return EnumPaymentMethod2;
|
|
27
27
|
})(EnumPaymentMethod || {});
|
|
28
28
|
var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
29
|
-
EnumFoodFlavor3["SALTY"] = "
|
|
30
|
-
EnumFoodFlavor3["SAVOURY"] = "
|
|
31
|
-
EnumFoodFlavor3["SPICY"] = "
|
|
32
|
-
EnumFoodFlavor3["SWEET"] = "
|
|
29
|
+
EnumFoodFlavor3["SALTY"] = "Salty";
|
|
30
|
+
EnumFoodFlavor3["SAVOURY"] = "Savoury";
|
|
31
|
+
EnumFoodFlavor3["SPICY"] = "Spicy";
|
|
32
|
+
EnumFoodFlavor3["SWEET"] = "Sweet";
|
|
33
33
|
return EnumFoodFlavor3;
|
|
34
34
|
})(EnumFoodFlavor || {});
|
|
35
35
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType2) => {
|
|
@@ -382,6 +382,35 @@ var vendorProducedIn = {
|
|
|
382
382
|
name: "product.producedIn",
|
|
383
383
|
placeholder: "Produced type"
|
|
384
384
|
};
|
|
385
|
+
var vendorFoodFlavour = {
|
|
386
|
+
helperText: "You can select more than one food flavour",
|
|
387
|
+
name: "product.foodFlavors",
|
|
388
|
+
placeholder: "Food flavours"
|
|
389
|
+
};
|
|
390
|
+
var vendorAvailability = [
|
|
391
|
+
{
|
|
392
|
+
name: "availability.school",
|
|
393
|
+
placeholder: "School events"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: "availability.private",
|
|
397
|
+
placeholder: "Private events"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
name: "availability.corporate",
|
|
401
|
+
placeholder: "Corporate events"
|
|
402
|
+
}
|
|
403
|
+
];
|
|
404
|
+
var vendorCompliance = [
|
|
405
|
+
{
|
|
406
|
+
name: "compliance.liabilityInsurance",
|
|
407
|
+
placeholder: "Liability Insurance"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
name: "compliance.foodBeverageLicense",
|
|
411
|
+
placeholder: "Food and Beverage License"
|
|
412
|
+
}
|
|
413
|
+
];
|
|
385
414
|
var packagingTypes = [
|
|
386
415
|
"Biodegradable",
|
|
387
416
|
"Compostable",
|
|
@@ -403,6 +432,9 @@ var producedIngTypes = [
|
|
|
403
432
|
];
|
|
404
433
|
var packagingOptions = mapArrayToOptions(packagingTypes);
|
|
405
434
|
var producedIngOptions = mapArrayToOptions(producedIngTypes);
|
|
435
|
+
var foodFlavourOptions = mapArrayToOptions(
|
|
436
|
+
Object.values(EnumFoodFlavor)
|
|
437
|
+
);
|
|
406
438
|
|
|
407
439
|
// src/formFields/event/event.ts
|
|
408
440
|
var eventBasicInfoFields = [
|
|
@@ -2207,7 +2239,9 @@ var VENDOR_INFO = gql4`
|
|
|
2207
2239
|
landlinePhone
|
|
2208
2240
|
mobilePhone
|
|
2209
2241
|
}
|
|
2210
|
-
documents
|
|
2242
|
+
documents {
|
|
2243
|
+
...ResourceImageFields
|
|
2244
|
+
}
|
|
2211
2245
|
requirements {
|
|
2212
2246
|
electricity {
|
|
2213
2247
|
...VendorAttributesFields
|
|
@@ -2237,6 +2271,7 @@ var VENDOR_INFO = gql4`
|
|
|
2237
2271
|
vendorId
|
|
2238
2272
|
}
|
|
2239
2273
|
${VENDOR_ATTRIBUTES_FRAGMENT}
|
|
2274
|
+
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
2240
2275
|
`;
|
|
2241
2276
|
var GET_VENDORS = gql4`
|
|
2242
2277
|
query getVendors {
|
|
@@ -5839,6 +5874,7 @@ export {
|
|
|
5839
5874
|
eventInfoPaymentInfo,
|
|
5840
5875
|
eventStartDateFields,
|
|
5841
5876
|
fonts,
|
|
5877
|
+
foodFlavourOptions,
|
|
5842
5878
|
formatDate,
|
|
5843
5879
|
formatTimestamp,
|
|
5844
5880
|
getCurrentAndFutureDates,
|
|
@@ -5961,9 +5997,12 @@ export {
|
|
|
5961
5997
|
useVendorForm,
|
|
5962
5998
|
useVendorInfoForm,
|
|
5963
5999
|
validateVerificationTokenFields,
|
|
6000
|
+
vendorAvailability,
|
|
5964
6001
|
vendorBasicInfoFields,
|
|
6002
|
+
vendorCompliance,
|
|
5965
6003
|
vendorElectricity,
|
|
5966
6004
|
vendorEndDateFields,
|
|
6005
|
+
vendorFoodFlavour,
|
|
5967
6006
|
vendorFullAddress,
|
|
5968
6007
|
vendorGazebo,
|
|
5969
6008
|
vendorLocationDescription,
|