@timardex/cluemart-shared 1.5.529 → 1.5.531
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-PYMLMTOQ.mjs → chunk-G2YFRN6A.mjs} +1 -1
- package/dist/{chunk-PYMLMTOQ.mjs.map → chunk-G2YFRN6A.mjs.map} +1 -1
- package/dist/chunk-TXHYVMOH.mjs +97 -0
- package/dist/chunk-TXHYVMOH.mjs.map +1 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +69 -5
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/images/apple-maps-icon.webp +0 -0
- package/dist/images/banner-horizontal.webp +0 -0
- package/dist/images/banner-vertical.webp +0 -0
- package/dist/images/cluiTui.webp +0 -0
- package/dist/images/cluiTui.webp.d.ts +2 -0
- package/dist/images/corporate.webp +0 -0
- package/dist/images/corporate.webp.d.ts +2 -0
- package/dist/images/facebook.webp +0 -0
- package/dist/images/facebook.webp.d.ts +2 -0
- package/dist/images/google-maps-icon.webp +0 -0
- package/dist/images/google-maps-icon.webp.d.ts +2 -0
- package/dist/images/googleMaps-logo-dark.webp +0 -0
- package/dist/images/googleMaps-logo-dark.webp.d.ts +2 -0
- package/dist/images/googleMaps-logo-light.webp +0 -0
- package/dist/images/googleMaps-logo-light.webp.d.ts +2 -0
- package/dist/images/index.cjs +103 -5
- package/dist/images/index.cjs.map +1 -1
- package/dist/images/index.d.mts +42 -10
- package/dist/images/index.d.ts +42 -10
- package/dist/images/index.mjs +35 -1
- package/dist/images/instagram.webp +0 -0
- package/dist/images/instagram.webp.d.ts +2 -0
- package/dist/images/logo-atr.webp +0 -0
- package/dist/images/logo-atr.webp.d.ts +2 -0
- package/dist/images/logo.webp +0 -0
- package/dist/images/logo.webp.d.ts +2 -0
- package/dist/images/meet.webp +0 -0
- package/dist/images/meet.webp.d.ts +2 -0
- package/dist/images/node.cjs +51 -22
- package/dist/images/node.d.ts +47 -7
- package/dist/images/node.mjs +54 -22
- package/dist/images/poll.webp +0 -0
- package/dist/images/poll.webp.d.ts +2 -0
- package/dist/images/poster1.webp +0 -0
- package/dist/images/poster1.webp.d.ts +2 -0
- package/dist/images/poster2.webp +0 -0
- package/dist/images/poster2.webp.d.ts +2 -0
- package/dist/images/poster3.webp +0 -0
- package/dist/images/poster3.webp.d.ts +2 -0
- package/dist/images/private.webp +0 -0
- package/dist/images/private.webp.d.ts +2 -0
- package/dist/images/qr-code.webp +0 -0
- package/dist/images/qr-code.webp.d.ts +2 -0
- package/dist/images/school.webp +0 -0
- package/dist/images/school.webp.d.ts +2 -0
- package/dist/images/sima.webp +0 -0
- package/dist/images/sima.webp.d.ts +2 -0
- package/dist/images/store-android.webp +0 -0
- package/dist/images/store-android.webp.d.ts +2 -0
- package/dist/images/store-ios.webp +0 -0
- package/dist/images/store-ios.webp.d.ts +2 -0
- package/dist/images/tablas.webp +0 -0
- package/dist/images/tablas.webp.d.ts +2 -0
- package/dist/images/telefonos.webp +0 -0
- package/dist/images/telefonos.webp.d.ts +2 -0
- package/dist/images/tiktok.webp +0 -0
- package/dist/images/tiktok.webp.d.ts +2 -0
- package/dist/images/tip.webp +0 -0
- package/dist/images/tip.webp.d.ts +2 -0
- package/dist/images/ugralos.webp +0 -0
- package/dist/images/ugralos.webp.d.ts +2 -0
- package/dist/images/waze-maps-icon.webp +0 -0
- package/dist/images/waze-maps-icon.webp.d.ts +2 -0
- package/dist/images/website.webp +0 -0
- package/dist/images/website.webp.d.ts +2 -0
- package/dist/images/youtube.webp +0 -0
- package/dist/images/youtube.webp.d.ts +2 -0
- package/dist/index.cjs +103 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +42 -10
- package/dist/index.d.ts +42 -10
- package/dist/index.mjs +86 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-IBKLW65U.mjs +0 -16
- package/dist/chunk-IBKLW65U.mjs.map +0 -1
- package/dist/images/poster1.png +0 -0
- package/dist/images/poster2.png +0 -0
- package/dist/images/poster3.png +0 -0
- /package/dist/images/{poster1.png.d.ts → apple-maps-icon.webp.d.ts} +0 -0
- /package/dist/images/{poster2.png.d.ts → banner-horizontal.webp.d.ts} +0 -0
- /package/dist/images/{poster3.png.d.ts → banner-vertical.webp.d.ts} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -2478,28 +2478,60 @@ declare function useAppSettingsForm(data?: AppSettingsFormData): CreateAppSettin
|
|
|
2478
2478
|
declare function useSchoolForm(data?: SchoolFormData): CreateSchoolFormData;
|
|
2479
2479
|
|
|
2480
2480
|
declare const PKG: "@timardex/cluemart-shared";
|
|
2481
|
+
declare const IMAGE_EXTENSION: ".webp";
|
|
2481
2482
|
/**
|
|
2482
2483
|
* Basenames under the shared images directory — use with `getSharedImagePath` from `@timardex/cluemart-shared/images/node` (Express / Node).
|
|
2483
|
-
* This object is the single source of poster keys; `posters` is derived from it. Add
|
|
2484
|
-
*
|
|
2484
|
+
* This object is the single source of poster keys; `posters` is derived from it. Add an image with `IMAGE_EXTENSION` under `src/images/posters/` when adding an entry.
|
|
2485
|
+
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
2485
2486
|
*/
|
|
2486
|
-
declare const
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2487
|
+
declare const posterIds: readonly ["poster1", "poster2", "poster3"];
|
|
2488
|
+
declare const posterFiles: { readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2489
|
+
/**
|
|
2490
|
+
* Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).
|
|
2491
|
+
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
2492
|
+
*/
|
|
2493
|
+
declare const cluiIds: readonly ["cluiTui", "sima", "tablas", "telefonos", "ugralos"];
|
|
2494
|
+
declare const cluiFiles: { readonly [K in (typeof cluiIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2495
|
+
declare const iconIds: readonly ["apple-maps-icon", "facebook", "google-maps-icon", "instagram", "meet", "poll", "tiktok", "tip", "waze-maps-icon", "website", "youtube"];
|
|
2496
|
+
declare const iconFiles: { readonly [K in (typeof iconIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2497
|
+
declare const badgeIds: readonly ["corporate", "private", "school"];
|
|
2498
|
+
declare const badgeFiles: { readonly [K in (typeof badgeIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2499
|
+
declare const logoIds: readonly ["googleMaps-logo-dark", "googleMaps-logo-light", "logo", "logo-atr"];
|
|
2500
|
+
declare const logoFiles: { readonly [K in (typeof logoIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2501
|
+
declare const otherImagesIds: readonly ["banner-horizontal", "banner-vertical", "qr-code", "store-android", "store-ios"];
|
|
2502
|
+
declare const otherImagesFiles: { readonly [K in (typeof otherImagesIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2491
2503
|
/**
|
|
2492
2504
|
* Module specifiers for each poster (not resolved file URLs). Use a static import or require with these paths
|
|
2493
2505
|
* so your bundler resolves the file, e.g.
|
|
2494
|
-
* `import poster1 from "@timardex/cluemart-shared/images/poster1.
|
|
2495
|
-
* or `require("@timardex/cluemart-shared/images/poster1.
|
|
2506
|
+
* `import poster1 from "@timardex/cluemart-shared/images/poster1.webp"`
|
|
2507
|
+
* or `require("@timardex/cluemart-shared/images/poster1.webp")` (React Native / Metro).
|
|
2496
2508
|
*
|
|
2497
2509
|
* Derived from `posterFiles` so keys and filenames stay aligned.
|
|
2498
2510
|
*/
|
|
2499
2511
|
declare const posters: { readonly [K in keyof typeof posterFiles]: `${typeof PKG}/images/${(typeof posterFiles)[K]}`; };
|
|
2512
|
+
/**
|
|
2513
|
+
* Module specifiers for Clui assets (same flat `@…/images/<file>.webp` pattern as posters), e.g.
|
|
2514
|
+
* `import clui from "@timardex/cluemart-shared/images/cluiTui.webp"`.
|
|
2515
|
+
*/
|
|
2516
|
+
declare const cluiImages: { readonly [K in keyof typeof cluiFiles]: `${typeof PKG}/images/${(typeof cluiFiles)[K]}`; };
|
|
2517
|
+
declare const icons: { readonly [K in keyof typeof iconFiles]: `${typeof PKG}/images/${(typeof iconFiles)[K]}`; };
|
|
2518
|
+
declare const badges: { readonly [K in keyof typeof badgeFiles]: `${typeof PKG}/images/${(typeof badgeFiles)[K]}`; };
|
|
2519
|
+
declare const logos: { readonly [K in keyof typeof logoFiles]: `${typeof PKG}/images/${(typeof logoFiles)[K]}`; };
|
|
2520
|
+
declare const otherImages: { readonly [K in keyof typeof otherImagesFiles]: `${typeof PKG}/images/${(typeof otherImagesFiles)[K]}`; };
|
|
2500
2521
|
type PosterAssetId = keyof typeof posters;
|
|
2501
2522
|
/** A single filename under the shared images directory (values of `posterFiles`). */
|
|
2502
2523
|
type PosterImageBasename = (typeof posterFiles)[PosterAssetId];
|
|
2524
|
+
type CluiImageId = keyof typeof cluiImages;
|
|
2525
|
+
/** Basename under the shared images directory (values of `cluiFiles`). */
|
|
2526
|
+
type CluiImageBasename = (typeof cluiFiles)[CluiImageId];
|
|
2527
|
+
type IconId = keyof typeof icons;
|
|
2528
|
+
type IconBasename = (typeof iconFiles)[IconId];
|
|
2529
|
+
type BadgeId = keyof typeof badges;
|
|
2530
|
+
type BadgeBasename = (typeof badgeFiles)[BadgeId];
|
|
2531
|
+
type LogoId = keyof typeof logos;
|
|
2532
|
+
type LogoBasename = (typeof logoFiles)[LogoId];
|
|
2533
|
+
type OtherImagesId = keyof typeof otherImages;
|
|
2534
|
+
type OtherImagesBasename = (typeof otherImagesFiles)[OtherImagesId];
|
|
2503
2535
|
|
|
2504
2536
|
declare const SAVED_PASSWORD_KEY = "savedPassword";
|
|
2505
2537
|
declare const SAVED_EMAIL_KEY = "savedEmail";
|
|
@@ -2614,4 +2646,4 @@ declare const cluemartSocialMedia: SocialMediaType[];
|
|
|
2614
2646
|
declare const IOS_URL = "https://apps.apple.com/nz/app/cluemart/id6747251008";
|
|
2615
2647
|
declare const ANDROID_URL = "https://play.google.com/store/apps/details?id=com.timardex.cluemart";
|
|
2616
2648
|
|
|
2617
|
-
export { ANDROID_URL, type AdFormData, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseGame, 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 CreateSchoolFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DailyClueGameData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumGameStatus, EnumGameType, 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 GameDate, type GameDocType, type GameHistory, type GameLeaderboard, type GamePlacement, type GamePlacementClue, type GameType, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IOS_URL, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type MarketingMaterialRequestInputType, 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 PostContentGame, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterAssetId, type PosterImageBasename, 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 ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SchoolFormData, type SchoolRegisteredUserType, type SchoolReturnType, type SchoolType, 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 UseGetEventsByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, companyContactFields, computeDailyClueState, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultLocation, defaultPartnerFormValues, defaultUnregisteredVendorFormValues, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, gameScreenIdentifierList, gameTypeToDisplayName, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, isIsoDateString, licenseNiceNames, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, nzStartOfDay, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, posterFiles, posters, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, seededShuffle, 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, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSchoolForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, 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 };
|
|
2649
|
+
export { ANDROID_URL, type AdFormData, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BadgeBasename, type BadgeId, type BaseGame, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type CluiImageBasename, type CluiImageId, 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 CreateSchoolFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DailyClueGameData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumGameStatus, EnumGameType, 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 GameDate, type GameDocType, type GameHistory, type GameLeaderboard, type GamePlacement, type GamePlacementClue, type GameType, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IMAGE_EXTENSION, IOS_URL, type IconBasename, type IconId, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type LogoBasename, type LogoId, type MarketingMaterialRequestInputType, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OtherImagesBasename, type OtherImagesId, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentData, type PostContentFormData, type PostContentGame, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterAssetId, type PosterImageBasename, 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 ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SchoolFormData, type SchoolRegisteredUserType, type SchoolReturnType, type SchoolType, 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 UseGetEventsByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, badgeFiles, badgeIds, badges, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, cluiFiles, cluiIds, cluiImages, companyContactFields, computeDailyClueState, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultLocation, defaultPartnerFormValues, defaultUnregisteredVendorFormValues, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, gameScreenIdentifierList, gameTypeToDisplayName, getCurrentAndFutureDates, globalDefaultValues, iconFiles, iconIds, icons, isFutureDatesBeforeThreshold, isIsoDateString, licenseNiceNames, lightColors, loginFields, logoFiles, logoIds, logos, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, nzStartOfDay, otherImages, otherImagesFiles, otherImagesIds, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, posterFiles, posterIds, posters, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, seededShuffle, 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, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSchoolForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, 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
|
@@ -2478,28 +2478,60 @@ declare function useAppSettingsForm(data?: AppSettingsFormData): CreateAppSettin
|
|
|
2478
2478
|
declare function useSchoolForm(data?: SchoolFormData): CreateSchoolFormData;
|
|
2479
2479
|
|
|
2480
2480
|
declare const PKG: "@timardex/cluemart-shared";
|
|
2481
|
+
declare const IMAGE_EXTENSION: ".webp";
|
|
2481
2482
|
/**
|
|
2482
2483
|
* Basenames under the shared images directory — use with `getSharedImagePath` from `@timardex/cluemart-shared/images/node` (Express / Node).
|
|
2483
|
-
* This object is the single source of poster keys; `posters` is derived from it. Add
|
|
2484
|
-
*
|
|
2484
|
+
* This object is the single source of poster keys; `posters` is derived from it. Add an image with `IMAGE_EXTENSION` under `src/images/posters/` when adding an entry.
|
|
2485
|
+
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
2485
2486
|
*/
|
|
2486
|
-
declare const
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2487
|
+
declare const posterIds: readonly ["poster1", "poster2", "poster3"];
|
|
2488
|
+
declare const posterFiles: { readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2489
|
+
/**
|
|
2490
|
+
* Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).
|
|
2491
|
+
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
2492
|
+
*/
|
|
2493
|
+
declare const cluiIds: readonly ["cluiTui", "sima", "tablas", "telefonos", "ugralos"];
|
|
2494
|
+
declare const cluiFiles: { readonly [K in (typeof cluiIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2495
|
+
declare const iconIds: readonly ["apple-maps-icon", "facebook", "google-maps-icon", "instagram", "meet", "poll", "tiktok", "tip", "waze-maps-icon", "website", "youtube"];
|
|
2496
|
+
declare const iconFiles: { readonly [K in (typeof iconIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2497
|
+
declare const badgeIds: readonly ["corporate", "private", "school"];
|
|
2498
|
+
declare const badgeFiles: { readonly [K in (typeof badgeIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2499
|
+
declare const logoIds: readonly ["googleMaps-logo-dark", "googleMaps-logo-light", "logo", "logo-atr"];
|
|
2500
|
+
declare const logoFiles: { readonly [K in (typeof logoIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2501
|
+
declare const otherImagesIds: readonly ["banner-horizontal", "banner-vertical", "qr-code", "store-android", "store-ios"];
|
|
2502
|
+
declare const otherImagesFiles: { readonly [K in (typeof otherImagesIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2491
2503
|
/**
|
|
2492
2504
|
* Module specifiers for each poster (not resolved file URLs). Use a static import or require with these paths
|
|
2493
2505
|
* so your bundler resolves the file, e.g.
|
|
2494
|
-
* `import poster1 from "@timardex/cluemart-shared/images/poster1.
|
|
2495
|
-
* or `require("@timardex/cluemart-shared/images/poster1.
|
|
2506
|
+
* `import poster1 from "@timardex/cluemart-shared/images/poster1.webp"`
|
|
2507
|
+
* or `require("@timardex/cluemart-shared/images/poster1.webp")` (React Native / Metro).
|
|
2496
2508
|
*
|
|
2497
2509
|
* Derived from `posterFiles` so keys and filenames stay aligned.
|
|
2498
2510
|
*/
|
|
2499
2511
|
declare const posters: { readonly [K in keyof typeof posterFiles]: `${typeof PKG}/images/${(typeof posterFiles)[K]}`; };
|
|
2512
|
+
/**
|
|
2513
|
+
* Module specifiers for Clui assets (same flat `@…/images/<file>.webp` pattern as posters), e.g.
|
|
2514
|
+
* `import clui from "@timardex/cluemart-shared/images/cluiTui.webp"`.
|
|
2515
|
+
*/
|
|
2516
|
+
declare const cluiImages: { readonly [K in keyof typeof cluiFiles]: `${typeof PKG}/images/${(typeof cluiFiles)[K]}`; };
|
|
2517
|
+
declare const icons: { readonly [K in keyof typeof iconFiles]: `${typeof PKG}/images/${(typeof iconFiles)[K]}`; };
|
|
2518
|
+
declare const badges: { readonly [K in keyof typeof badgeFiles]: `${typeof PKG}/images/${(typeof badgeFiles)[K]}`; };
|
|
2519
|
+
declare const logos: { readonly [K in keyof typeof logoFiles]: `${typeof PKG}/images/${(typeof logoFiles)[K]}`; };
|
|
2520
|
+
declare const otherImages: { readonly [K in keyof typeof otherImagesFiles]: `${typeof PKG}/images/${(typeof otherImagesFiles)[K]}`; };
|
|
2500
2521
|
type PosterAssetId = keyof typeof posters;
|
|
2501
2522
|
/** A single filename under the shared images directory (values of `posterFiles`). */
|
|
2502
2523
|
type PosterImageBasename = (typeof posterFiles)[PosterAssetId];
|
|
2524
|
+
type CluiImageId = keyof typeof cluiImages;
|
|
2525
|
+
/** Basename under the shared images directory (values of `cluiFiles`). */
|
|
2526
|
+
type CluiImageBasename = (typeof cluiFiles)[CluiImageId];
|
|
2527
|
+
type IconId = keyof typeof icons;
|
|
2528
|
+
type IconBasename = (typeof iconFiles)[IconId];
|
|
2529
|
+
type BadgeId = keyof typeof badges;
|
|
2530
|
+
type BadgeBasename = (typeof badgeFiles)[BadgeId];
|
|
2531
|
+
type LogoId = keyof typeof logos;
|
|
2532
|
+
type LogoBasename = (typeof logoFiles)[LogoId];
|
|
2533
|
+
type OtherImagesId = keyof typeof otherImages;
|
|
2534
|
+
type OtherImagesBasename = (typeof otherImagesFiles)[OtherImagesId];
|
|
2503
2535
|
|
|
2504
2536
|
declare const SAVED_PASSWORD_KEY = "savedPassword";
|
|
2505
2537
|
declare const SAVED_EMAIL_KEY = "savedEmail";
|
|
@@ -2614,4 +2646,4 @@ declare const cluemartSocialMedia: SocialMediaType[];
|
|
|
2614
2646
|
declare const IOS_URL = "https://apps.apple.com/nz/app/cluemart/id6747251008";
|
|
2615
2647
|
declare const ANDROID_URL = "https://play.google.com/store/apps/details?id=com.timardex.cluemart";
|
|
2616
2648
|
|
|
2617
|
-
export { ANDROID_URL, type AdFormData, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseGame, 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 CreateSchoolFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DailyClueGameData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumGameStatus, EnumGameType, 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 GameDate, type GameDocType, type GameHistory, type GameLeaderboard, type GamePlacement, type GamePlacementClue, type GameType, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IOS_URL, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type MarketingMaterialRequestInputType, 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 PostContentGame, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterAssetId, type PosterImageBasename, 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 ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SchoolFormData, type SchoolRegisteredUserType, type SchoolReturnType, type SchoolType, 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 UseGetEventsByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, companyContactFields, computeDailyClueState, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultLocation, defaultPartnerFormValues, defaultUnregisteredVendorFormValues, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, gameScreenIdentifierList, gameTypeToDisplayName, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, isIsoDateString, licenseNiceNames, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, nzStartOfDay, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, posterFiles, posters, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, seededShuffle, 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, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSchoolForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, 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 };
|
|
2649
|
+
export { ANDROID_URL, type AdFormData, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BadgeBasename, type BadgeId, type BaseGame, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type CluiImageBasename, type CluiImageId, 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 CreateSchoolFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DailyClueGameData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumGameStatus, EnumGameType, 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 GameDate, type GameDocType, type GameHistory, type GameLeaderboard, type GamePlacement, type GamePlacementClue, type GameType, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IMAGE_EXTENSION, IOS_URL, type IconBasename, type IconId, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type LogoBasename, type LogoId, type MarketingMaterialRequestInputType, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OtherImagesBasename, type OtherImagesId, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentData, type PostContentFormData, type PostContentGame, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterAssetId, type PosterImageBasename, 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 ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SchoolFormData, type SchoolRegisteredUserType, type SchoolReturnType, type SchoolType, 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 UseGetEventsByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, badgeFiles, badgeIds, badges, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, cluiFiles, cluiIds, cluiImages, companyContactFields, computeDailyClueState, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultLocation, defaultPartnerFormValues, defaultUnregisteredVendorFormValues, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, gameScreenIdentifierList, gameTypeToDisplayName, getCurrentAndFutureDates, globalDefaultValues, iconFiles, iconIds, icons, isFutureDatesBeforeThreshold, isIsoDateString, licenseNiceNames, lightColors, loginFields, logoFiles, logoIds, logos, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, nzStartOfDay, otherImages, otherImagesFiles, otherImagesIds, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, posterFiles, posterIds, posters, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, seededShuffle, 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, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSchoolForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, 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
|
@@ -8176,14 +8176,78 @@ function useSchoolForm(data) {
|
|
|
8176
8176
|
|
|
8177
8177
|
// src/images/index.ts
|
|
8178
8178
|
var PKG = "@timardex/cluemart-shared";
|
|
8179
|
-
var
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8179
|
+
var IMAGE_EXTENSION = ".webp";
|
|
8180
|
+
var posterIds = ["poster1", "poster2", "poster3"];
|
|
8181
|
+
var posterFiles = Object.fromEntries(
|
|
8182
|
+
posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|
|
8183
|
+
);
|
|
8184
|
+
var cluiIds = [
|
|
8185
|
+
"cluiTui",
|
|
8186
|
+
"sima",
|
|
8187
|
+
"tablas",
|
|
8188
|
+
"telefonos",
|
|
8189
|
+
"ugralos"
|
|
8190
|
+
];
|
|
8191
|
+
var cluiFiles = Object.fromEntries(
|
|
8192
|
+
cluiIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|
|
8193
|
+
);
|
|
8194
|
+
var iconIds = [
|
|
8195
|
+
"apple-maps-icon",
|
|
8196
|
+
"facebook",
|
|
8197
|
+
"google-maps-icon",
|
|
8198
|
+
"instagram",
|
|
8199
|
+
"meet",
|
|
8200
|
+
"poll",
|
|
8201
|
+
"tiktok",
|
|
8202
|
+
"tip",
|
|
8203
|
+
"waze-maps-icon",
|
|
8204
|
+
"website",
|
|
8205
|
+
"youtube"
|
|
8206
|
+
];
|
|
8207
|
+
var iconFiles = Object.fromEntries(
|
|
8208
|
+
iconIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|
|
8209
|
+
);
|
|
8210
|
+
var badgeIds = ["corporate", "private", "school"];
|
|
8211
|
+
var badgeFiles = Object.fromEntries(
|
|
8212
|
+
badgeIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|
|
8213
|
+
);
|
|
8214
|
+
var logoIds = [
|
|
8215
|
+
"googleMaps-logo-dark",
|
|
8216
|
+
"googleMaps-logo-light",
|
|
8217
|
+
"logo",
|
|
8218
|
+
"logo-atr"
|
|
8219
|
+
];
|
|
8220
|
+
var logoFiles = Object.fromEntries(
|
|
8221
|
+
logoIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|
|
8222
|
+
);
|
|
8223
|
+
var otherImagesIds = [
|
|
8224
|
+
"banner-horizontal",
|
|
8225
|
+
"banner-vertical",
|
|
8226
|
+
"qr-code",
|
|
8227
|
+
"store-android",
|
|
8228
|
+
"store-ios"
|
|
8229
|
+
];
|
|
8230
|
+
var otherImagesFiles = Object.fromEntries(
|
|
8231
|
+
otherImagesIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|
|
8232
|
+
);
|
|
8184
8233
|
var posters = Object.fromEntries(
|
|
8185
8234
|
Object.entries(posterFiles).map(([key, file]) => [key, `${PKG}/images/${file}`])
|
|
8186
8235
|
);
|
|
8236
|
+
var cluiImages = Object.fromEntries(
|
|
8237
|
+
Object.entries(cluiFiles).map(([key, file]) => [key, `${PKG}/images/${file}`])
|
|
8238
|
+
);
|
|
8239
|
+
var icons = Object.fromEntries(
|
|
8240
|
+
Object.entries(iconFiles).map(([key, file]) => [key, `${PKG}/images/${file}`])
|
|
8241
|
+
);
|
|
8242
|
+
var badges = Object.fromEntries(
|
|
8243
|
+
Object.entries(badgeFiles).map(([key, file]) => [key, `${PKG}/images/${file}`])
|
|
8244
|
+
);
|
|
8245
|
+
var logos = Object.fromEntries(
|
|
8246
|
+
Object.entries(logoFiles).map(([key, file]) => [key, `${PKG}/images/${file}`])
|
|
8247
|
+
);
|
|
8248
|
+
var otherImages = Object.fromEntries(
|
|
8249
|
+
Object.entries(otherImagesFiles).map(([key, file]) => [key, `${PKG}/images/${file}`])
|
|
8250
|
+
);
|
|
8187
8251
|
|
|
8188
8252
|
// src/storage/index.ts
|
|
8189
8253
|
var SAVED_PASSWORD_KEY = "savedPassword";
|
|
@@ -8279,6 +8343,7 @@ export {
|
|
|
8279
8343
|
EnumUserRole,
|
|
8280
8344
|
EnumVendorType,
|
|
8281
8345
|
EnumVerificationType,
|
|
8346
|
+
IMAGE_EXTENSION,
|
|
8282
8347
|
IOS_URL,
|
|
8283
8348
|
ImageTypeEnum,
|
|
8284
8349
|
SAVED_EMAIL_KEY,
|
|
@@ -8290,9 +8355,15 @@ export {
|
|
|
8290
8355
|
availableRegionOptions,
|
|
8291
8356
|
availableRegionTypes,
|
|
8292
8357
|
availableTagTypes,
|
|
8358
|
+
badgeFiles,
|
|
8359
|
+
badgeIds,
|
|
8360
|
+
badges,
|
|
8293
8361
|
capitalizeFirstLetter,
|
|
8294
8362
|
categoryColors,
|
|
8295
8363
|
cluemartSocialMedia,
|
|
8364
|
+
cluiFiles,
|
|
8365
|
+
cluiIds,
|
|
8366
|
+
cluiImages,
|
|
8296
8367
|
companyContactFields,
|
|
8297
8368
|
computeDailyClueState,
|
|
8298
8369
|
contactUsFields,
|
|
@@ -8319,19 +8390,29 @@ export {
|
|
|
8319
8390
|
gameTypeToDisplayName,
|
|
8320
8391
|
getCurrentAndFutureDates,
|
|
8321
8392
|
globalDefaultValues,
|
|
8393
|
+
iconFiles,
|
|
8394
|
+
iconIds,
|
|
8395
|
+
icons,
|
|
8322
8396
|
isFutureDatesBeforeThreshold,
|
|
8323
8397
|
isIsoDateString,
|
|
8324
8398
|
licenseNiceNames,
|
|
8325
8399
|
lightColors,
|
|
8326
8400
|
loginFields,
|
|
8401
|
+
logoFiles,
|
|
8402
|
+
logoIds,
|
|
8403
|
+
logos,
|
|
8327
8404
|
mapArrayToOptions,
|
|
8328
8405
|
mapBaseResourceTypeToFormData,
|
|
8329
8406
|
normalizeUrl,
|
|
8330
8407
|
nzStartOfDay,
|
|
8408
|
+
otherImages,
|
|
8409
|
+
otherImagesFiles,
|
|
8410
|
+
otherImagesIds,
|
|
8331
8411
|
packagingOptions,
|
|
8332
8412
|
partnerBasicInfoFields,
|
|
8333
8413
|
paymentMethodOptions,
|
|
8334
8414
|
posterFiles,
|
|
8415
|
+
posterIds,
|
|
8335
8416
|
posters,
|
|
8336
8417
|
priceUnits,
|
|
8337
8418
|
producedIngOptions,
|