@timardex/cluemart-shared 1.4.46 → 1.4.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{auth-DAba6V_V.d.mts → auth-DwVFY-11.d.mts} +1 -1
- package/dist/{auth-Dh7vfK5X.d.ts → auth-EMTs7YlU.d.ts} +1 -1
- package/dist/{chunk-YVLKDO3W.mjs → chunk-KIWJIODL.mjs} +1 -7
- package/dist/chunk-KIWJIODL.mjs.map +1 -0
- package/dist/{chunk-KWA2LDKT.mjs → chunk-SNPOV7HM.mjs} +13 -11
- package/dist/chunk-SNPOV7HM.mjs.map +1 -0
- package/dist/formFields/index.cjs +0 -7
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +2 -3
- package/dist/formFields/index.d.ts +2 -3
- package/dist/formFields/index.mjs +1 -3
- package/dist/{global-XupMOj9w.d.mts → global-BP0RxCZR.d.mts} +13 -12
- package/dist/{global-CreS92Aj.d.ts → global-BvPydN8P.d.ts} +13 -12
- package/dist/graphql/index.cjs +12 -10
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +15 -19
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +5 -11
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +15 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.mjs +15 -25
- package/dist/index.mjs.map +1 -1
- package/dist/{post-B74Ys78F.d.mts → post-BhTIar0P.d.mts} +1 -1
- package/dist/{post-DleN4bOo.d.ts → post-VWgTt8Vt.d.ts} +1 -1
- package/dist/{resourceActivities-XgH7KVVM.d.mts → resourceActivities-Cc92sGGs.d.mts} +1 -1
- package/dist/{resourceActivities-kqamBEgd.d.ts → resourceActivities-jxxUV0-1.d.ts} +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-KWA2LDKT.mjs.map +0 -1
- package/dist/chunk-YVLKDO3W.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -331,7 +331,7 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
|
331
331
|
_id: string;
|
|
332
332
|
};
|
|
333
333
|
|
|
334
|
-
type
|
|
334
|
+
type VendorCalendarData = Omit<ResourceDetails, "dateTime" | "eventStatus"> & {
|
|
335
335
|
dateTime: DateTimeType;
|
|
336
336
|
};
|
|
337
337
|
type VendorMenuType = {
|
|
@@ -346,10 +346,12 @@ interface VendorFormData extends BaseResourceTypeFormData {
|
|
|
346
346
|
private: boolean;
|
|
347
347
|
corporate: boolean;
|
|
348
348
|
};
|
|
349
|
+
calendar?: {
|
|
350
|
+
active?: boolean | null;
|
|
351
|
+
calendarData?: VendorCalendarData[] | null;
|
|
352
|
+
} | null;
|
|
349
353
|
categories: Category[];
|
|
350
354
|
foodTruck: boolean;
|
|
351
|
-
locations?: VendorLocation[] | null;
|
|
352
|
-
multiLocation: boolean;
|
|
353
355
|
products?: VendorMenuType[] | null;
|
|
354
356
|
vendorType: EnumVendorType;
|
|
355
357
|
}
|
|
@@ -395,10 +397,9 @@ interface VendorType extends BaseResourceType {
|
|
|
395
397
|
private: boolean;
|
|
396
398
|
corporate: boolean;
|
|
397
399
|
};
|
|
400
|
+
calendar: VendorFormData["calendar"] | null;
|
|
398
401
|
categories: VendorFormData["categories"];
|
|
399
402
|
foodTruck: boolean;
|
|
400
|
-
locations: VendorLocation[] | null;
|
|
401
|
-
multiLocation: boolean;
|
|
402
403
|
products: VendorMenuType[] | null;
|
|
403
404
|
vendorInfoId: string;
|
|
404
405
|
vendorType: EnumVendorType;
|
|
@@ -539,14 +540,14 @@ type Region = {
|
|
|
539
540
|
};
|
|
540
541
|
type ResourceDetails = {
|
|
541
542
|
dateTime: DateTimeType[] | null;
|
|
542
|
-
description
|
|
543
|
+
description: string | null;
|
|
543
544
|
eventStatus?: EventStatusType | null;
|
|
544
545
|
location: LocationType | null;
|
|
545
|
-
resourceCover
|
|
546
|
-
resourceId
|
|
547
|
-
resourceLogo
|
|
548
|
-
resourceName
|
|
549
|
-
resourceType
|
|
546
|
+
resourceCover: ResourceImageType | null;
|
|
547
|
+
resourceId: string;
|
|
548
|
+
resourceLogo: ResourceImageType | null;
|
|
549
|
+
resourceName: string;
|
|
550
|
+
resourceType: EnumResourceType;
|
|
550
551
|
};
|
|
551
552
|
type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
|
|
552
553
|
type EventStatusType = {
|
|
@@ -609,7 +610,6 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
609
610
|
}
|
|
610
611
|
|
|
611
612
|
declare const vendorBasicInfoFields: FormField[];
|
|
612
|
-
declare const vendorMultiLocation: FormField;
|
|
613
613
|
declare const vendorFullAddress: FormField;
|
|
614
614
|
declare const vendorStartDateFields: FormDateField[];
|
|
615
615
|
declare const vendorEndDateFields: FormDateField[];
|
|
@@ -2296,4 +2296,4 @@ declare const cluemartSocialMedia: SocialMediaType[];
|
|
|
2296
2296
|
declare const IOS_URL = "https://apps.apple.com/nz/app/cluemart/id6747251008";
|
|
2297
2297
|
declare const ANDROID_URL = "https://play.google.com/store/apps/details?id=com.timardex.cluemart";
|
|
2298
2298
|
|
|
2299
|
-
export { ANDROID_URL, type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IOS_URL, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentData, type PostContentFormData, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterInputType, type PosterUsageType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, type TermsAgreement, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type
|
|
2299
|
+
export { ANDROID_URL, type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IOS_URL, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentData, type PostContentFormData, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterInputType, type PosterUsageType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, type TermsAgreement, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorMenuType, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultUnregisteredVendorFormValues, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, licenseNiceNames, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAppSettingsForm, useCancelSubscription, useContactUs, useContactUsForm, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, useVendorForm, useVendorInfoForm, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
package/dist/index.d.ts
CHANGED
|
@@ -331,7 +331,7 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
|
331
331
|
_id: string;
|
|
332
332
|
};
|
|
333
333
|
|
|
334
|
-
type
|
|
334
|
+
type VendorCalendarData = Omit<ResourceDetails, "dateTime" | "eventStatus"> & {
|
|
335
335
|
dateTime: DateTimeType;
|
|
336
336
|
};
|
|
337
337
|
type VendorMenuType = {
|
|
@@ -346,10 +346,12 @@ interface VendorFormData extends BaseResourceTypeFormData {
|
|
|
346
346
|
private: boolean;
|
|
347
347
|
corporate: boolean;
|
|
348
348
|
};
|
|
349
|
+
calendar?: {
|
|
350
|
+
active?: boolean | null;
|
|
351
|
+
calendarData?: VendorCalendarData[] | null;
|
|
352
|
+
} | null;
|
|
349
353
|
categories: Category[];
|
|
350
354
|
foodTruck: boolean;
|
|
351
|
-
locations?: VendorLocation[] | null;
|
|
352
|
-
multiLocation: boolean;
|
|
353
355
|
products?: VendorMenuType[] | null;
|
|
354
356
|
vendorType: EnumVendorType;
|
|
355
357
|
}
|
|
@@ -395,10 +397,9 @@ interface VendorType extends BaseResourceType {
|
|
|
395
397
|
private: boolean;
|
|
396
398
|
corporate: boolean;
|
|
397
399
|
};
|
|
400
|
+
calendar: VendorFormData["calendar"] | null;
|
|
398
401
|
categories: VendorFormData["categories"];
|
|
399
402
|
foodTruck: boolean;
|
|
400
|
-
locations: VendorLocation[] | null;
|
|
401
|
-
multiLocation: boolean;
|
|
402
403
|
products: VendorMenuType[] | null;
|
|
403
404
|
vendorInfoId: string;
|
|
404
405
|
vendorType: EnumVendorType;
|
|
@@ -539,14 +540,14 @@ type Region = {
|
|
|
539
540
|
};
|
|
540
541
|
type ResourceDetails = {
|
|
541
542
|
dateTime: DateTimeType[] | null;
|
|
542
|
-
description
|
|
543
|
+
description: string | null;
|
|
543
544
|
eventStatus?: EventStatusType | null;
|
|
544
545
|
location: LocationType | null;
|
|
545
|
-
resourceCover
|
|
546
|
-
resourceId
|
|
547
|
-
resourceLogo
|
|
548
|
-
resourceName
|
|
549
|
-
resourceType
|
|
546
|
+
resourceCover: ResourceImageType | null;
|
|
547
|
+
resourceId: string;
|
|
548
|
+
resourceLogo: ResourceImageType | null;
|
|
549
|
+
resourceName: string;
|
|
550
|
+
resourceType: EnumResourceType;
|
|
550
551
|
};
|
|
551
552
|
type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
|
|
552
553
|
type EventStatusType = {
|
|
@@ -609,7 +610,6 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
609
610
|
}
|
|
610
611
|
|
|
611
612
|
declare const vendorBasicInfoFields: FormField[];
|
|
612
|
-
declare const vendorMultiLocation: FormField;
|
|
613
613
|
declare const vendorFullAddress: FormField;
|
|
614
614
|
declare const vendorStartDateFields: FormDateField[];
|
|
615
615
|
declare const vendorEndDateFields: FormDateField[];
|
|
@@ -2296,4 +2296,4 @@ declare const cluemartSocialMedia: SocialMediaType[];
|
|
|
2296
2296
|
declare const IOS_URL = "https://apps.apple.com/nz/app/cluemart/id6747251008";
|
|
2297
2297
|
declare const ANDROID_URL = "https://play.google.com/store/apps/details?id=com.timardex.cluemart";
|
|
2298
2298
|
|
|
2299
|
-
export { ANDROID_URL, type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IOS_URL, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentData, type PostContentFormData, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterInputType, type PosterUsageType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, type TermsAgreement, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type
|
|
2299
|
+
export { ANDROID_URL, type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IOS_URL, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentData, type PostContentFormData, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterInputType, type PosterUsageType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, type TermsAgreement, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorMenuType, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultUnregisteredVendorFormValues, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, licenseNiceNames, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAppSettingsForm, useCancelSubscription, useContactUs, useContactUsForm, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, useVendorForm, useVendorInfoForm, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
package/dist/index.mjs
CHANGED
|
@@ -242,11 +242,6 @@ var vendorBasicInfoFields = [
|
|
|
242
242
|
placeholder: "Description"
|
|
243
243
|
}
|
|
244
244
|
];
|
|
245
|
-
var vendorMultiLocation = {
|
|
246
|
-
helperText: "Usefull when you are not only selling products on Events but also providing services at other locations.",
|
|
247
|
-
name: "multiLocation",
|
|
248
|
-
placeholder: "Multi location"
|
|
249
|
-
};
|
|
250
245
|
var vendorFullAddress = {
|
|
251
246
|
helperText: "Enter address",
|
|
252
247
|
name: "fullAddress",
|
|
@@ -2746,6 +2741,18 @@ var VENDOR = gql4`
|
|
|
2746
2741
|
categories {
|
|
2747
2742
|
...CategoryFields
|
|
2748
2743
|
}
|
|
2744
|
+
calendar {
|
|
2745
|
+
active
|
|
2746
|
+
calendarData {
|
|
2747
|
+
dateTime {
|
|
2748
|
+
...VendorDateTimeFields
|
|
2749
|
+
}
|
|
2750
|
+
description
|
|
2751
|
+
location {
|
|
2752
|
+
...LocationFields
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2749
2756
|
contactDetails {
|
|
2750
2757
|
...ContactDetailsFields
|
|
2751
2758
|
}
|
|
@@ -2759,19 +2766,9 @@ var VENDOR = gql4`
|
|
|
2759
2766
|
images {
|
|
2760
2767
|
...ResourceImageFields
|
|
2761
2768
|
}
|
|
2762
|
-
locations {
|
|
2763
|
-
dateTime {
|
|
2764
|
-
...VendorDateTimeFields
|
|
2765
|
-
}
|
|
2766
|
-
description
|
|
2767
|
-
location {
|
|
2768
|
-
...LocationFields
|
|
2769
|
-
}
|
|
2770
|
-
}
|
|
2771
2769
|
logo {
|
|
2772
2770
|
...ResourceImageFields
|
|
2773
2771
|
}
|
|
2774
|
-
multiLocation
|
|
2775
2772
|
name
|
|
2776
2773
|
owner {
|
|
2777
2774
|
...OwnerFields
|
|
@@ -6034,7 +6031,6 @@ var vendroMenuSchema = yup3.object().shape({
|
|
|
6034
6031
|
var vendorSchema = globalResourceSchema.shape({
|
|
6035
6032
|
categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
|
|
6036
6033
|
foodTruck: yup3.boolean().label("Food Truck").required("Please specify if the vendor is a food truck"),
|
|
6037
|
-
multiLocation: yup3.boolean().required("Multi location is required"),
|
|
6038
6034
|
products: yup3.array().of(vendroMenuSchema).nullable().optional(),
|
|
6039
6035
|
vendorType: yup3.mixed().oneOf(Object.values(EnumVendorType)).required("Please select a Vendor type")
|
|
6040
6036
|
});
|
|
@@ -6393,8 +6389,6 @@ var defaultVendorFormValues = {
|
|
|
6393
6389
|
},
|
|
6394
6390
|
categories: [],
|
|
6395
6391
|
foodTruck: false,
|
|
6396
|
-
locations: null,
|
|
6397
|
-
multiLocation: false,
|
|
6398
6392
|
products: null,
|
|
6399
6393
|
vendorType: "Stallholder" /* STALLHOLDER */
|
|
6400
6394
|
};
|
|
@@ -6466,10 +6460,9 @@ function useVendorForm(data) {
|
|
|
6466
6460
|
reset({
|
|
6467
6461
|
...mapBaseResourceTypeToFormData(data),
|
|
6468
6462
|
availability: data.availability,
|
|
6463
|
+
calendar: data.calendar,
|
|
6469
6464
|
categories: data.categories,
|
|
6470
6465
|
foodTruck: data.foodTruck,
|
|
6471
|
-
locations: data.locations,
|
|
6472
|
-
multiLocation: data.multiLocation,
|
|
6473
6466
|
products: data.products,
|
|
6474
6467
|
vendorType: data.vendorType
|
|
6475
6468
|
});
|
|
@@ -6483,6 +6476,7 @@ function useVendorForm(data) {
|
|
|
6483
6476
|
associates,
|
|
6484
6477
|
availability,
|
|
6485
6478
|
categories,
|
|
6479
|
+
calendar,
|
|
6486
6480
|
contactDetails,
|
|
6487
6481
|
cover,
|
|
6488
6482
|
coverUpload,
|
|
@@ -6490,10 +6484,8 @@ function useVendorForm(data) {
|
|
|
6490
6484
|
description,
|
|
6491
6485
|
images,
|
|
6492
6486
|
imagesUpload,
|
|
6493
|
-
locations,
|
|
6494
6487
|
logo,
|
|
6495
6488
|
logoUpload,
|
|
6496
|
-
multiLocation,
|
|
6497
6489
|
name,
|
|
6498
6490
|
owner,
|
|
6499
6491
|
products,
|
|
@@ -6510,6 +6502,7 @@ function useVendorForm(data) {
|
|
|
6510
6502
|
active,
|
|
6511
6503
|
associates,
|
|
6512
6504
|
availability,
|
|
6505
|
+
calendar,
|
|
6513
6506
|
categories,
|
|
6514
6507
|
contactDetails,
|
|
6515
6508
|
cover,
|
|
@@ -6518,10 +6511,8 @@ function useVendorForm(data) {
|
|
|
6518
6511
|
foodTruck,
|
|
6519
6512
|
images,
|
|
6520
6513
|
imagesUpload,
|
|
6521
|
-
locations,
|
|
6522
6514
|
logo,
|
|
6523
6515
|
logoUpload,
|
|
6524
|
-
multiLocation,
|
|
6525
6516
|
name,
|
|
6526
6517
|
owner,
|
|
6527
6518
|
products,
|
|
@@ -7721,7 +7712,6 @@ export {
|
|
|
7721
7712
|
vendorGazebo,
|
|
7722
7713
|
vendorLocationDescription,
|
|
7723
7714
|
vendorMenuFields,
|
|
7724
|
-
vendorMultiLocation,
|
|
7725
7715
|
vendorPackaging,
|
|
7726
7716
|
vendorPriceRange,
|
|
7727
7717
|
vendorProducedIn,
|