@timardex/cluemart-shared 1.5.769 → 1.5.771
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/{ad-DZGYiwY-.d.ts → ad-6PrFQe2t.d.ts} +7 -2
- package/dist/{ad-8BNpjEcM.d.mts → ad-B8ZWiTsv.d.mts} +7 -2
- package/dist/{chunk-VQRZ4OJY.mjs → chunk-2X2YVFTH.mjs} +7 -2
- package/dist/chunk-2X2YVFTH.mjs.map +1 -0
- package/dist/{chunk-HPPIA4EM.mjs → chunk-7CIQ6AD4.mjs} +2 -2
- package/dist/{chunk-4SNW63TJ.mjs → chunk-KZTOISPA.mjs} +2 -1
- package/dist/chunk-KZTOISPA.mjs.map +1 -0
- package/dist/{chunk-AKX2AGMA.mjs → chunk-PPNVURC4.mjs} +3 -3
- package/dist/{chunk-EEZUTQ3V.mjs → chunk-VO2WRHJV.mjs} +11 -1
- package/dist/chunk-VO2WRHJV.mjs.map +1 -0
- package/dist/enums/index.cjs +1 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +2 -1
- package/dist/enums/index.d.ts +2 -1
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +5 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.cjs +10 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +2 -2
- package/dist/hooks/index.cjs +19 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +8 -8
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +17 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.mjs +15 -0
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +5 -0
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +3 -3
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs +9 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +4 -1
- package/dist/utils/index.d.ts +4 -1
- package/dist/utils/index.mjs +6 -2
- package/package.json +1 -1
- package/dist/chunk-4SNW63TJ.mjs.map +0 -1
- package/dist/chunk-EEZUTQ3V.mjs.map +0 -1
- package/dist/chunk-VQRZ4OJY.mjs.map +0 -1
- /package/dist/{chunk-HPPIA4EM.mjs.map → chunk-7CIQ6AD4.mjs.map} +0 -0
- /package/dist/{chunk-AKX2AGMA.mjs.map → chunk-PPNVURC4.mjs.map} +0 -0
package/dist/sharing/index.mjs
CHANGED
|
@@ -67,10 +67,10 @@ import {
|
|
|
67
67
|
shareMessageFooterPlacementForType,
|
|
68
68
|
shareSlugResourceId,
|
|
69
69
|
splitShareDescriptionSections
|
|
70
|
-
} from "../chunk-
|
|
71
|
-
import "../chunk-
|
|
70
|
+
} from "../chunk-7CIQ6AD4.mjs";
|
|
71
|
+
import "../chunk-2X2YVFTH.mjs";
|
|
72
72
|
import "../chunk-HASLOIIM.mjs";
|
|
73
|
-
import "../chunk-
|
|
73
|
+
import "../chunk-KZTOISPA.mjs";
|
|
74
74
|
export {
|
|
75
75
|
DEFAULT_SHARE_OG_IMAGE,
|
|
76
76
|
OG_DESCRIPTION_LINE_BREAK,
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumResourceType, EnumOSPlatform, EnumUserLicence } from '../enums/index.mjs';
|
|
2
|
-
export { o as AdFormData, v as AdFormState, w as AdResource, c as AdType, r as AppSettingsFormData, f as AppSettingsType, A as AuthPayloadType,
|
|
2
|
+
export { o as AdFormData, v as AdFormState, w as AdResource, c as AdType, x as AffiliateType, r as AppSettingsFormData, f as AppSettingsType, A as AuthPayloadType, y as CreateAdFormData, p as CreateAdFormState, s as CreateAppSettingsFormData, i as CreateLoginFormData, q as CreatePartnerFormData, j as CreateRegisterFormData, k as CreateRequestPasswordResetFormData, m as CreateResetPasswordFormData, u as CreateSchoolFormData, C as CreateUserFormData, l as CreateValidateVerificationTokenFormData, z as EnumAdShowOn, E as EnumAdStatus, B as EnumAdStyle, D as EnumAdType, F as EnumVerificationType, L as LoginFormData, M as MarketingMaterialRequestInputType, n as PartnerFormData, P as PartnerType, G as PosterInputType, H as RedeemRewardInput, a as RedeemRewardResponse, I as RedeemedReward, R as RefreshTokenPayloadType, J as RegisterFormData, K as RequestPasswordResetFormData, N as ResetPasswordFormData, b as ResourceByUser, S as SafeUserType, O as SchoolCampaignType, t as SchoolFormData, Q as SchoolRegisteredUserType, g as SchoolReturnType, h as SchoolType, T as StripeSubscription, V as SubscriptionPlanData, d as SubscriptionPlansResponse, W as SubscriptionPricingData, e as SubscriptionStatusData, X as UserActivity, Y as UserActivityEvent, U as UserFormData, Z as UserType, _ as ValidateVerificationTokenFormData } from '../ad-B8ZWiTsv.mjs';
|
|
3
3
|
export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-zczOntNk.mjs';
|
|
4
4
|
export { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-DGrDzJaM.mjs';
|
|
5
5
|
import { c as EventListItemType } from '../global-BUUfmCo7.mjs';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumResourceType, EnumOSPlatform, EnumUserLicence } from '../enums/index.js';
|
|
2
|
-
export { o as AdFormData, v as AdFormState, w as AdResource, c as AdType, r as AppSettingsFormData, f as AppSettingsType, A as AuthPayloadType,
|
|
2
|
+
export { o as AdFormData, v as AdFormState, w as AdResource, c as AdType, x as AffiliateType, r as AppSettingsFormData, f as AppSettingsType, A as AuthPayloadType, y as CreateAdFormData, p as CreateAdFormState, s as CreateAppSettingsFormData, i as CreateLoginFormData, q as CreatePartnerFormData, j as CreateRegisterFormData, k as CreateRequestPasswordResetFormData, m as CreateResetPasswordFormData, u as CreateSchoolFormData, C as CreateUserFormData, l as CreateValidateVerificationTokenFormData, z as EnumAdShowOn, E as EnumAdStatus, B as EnumAdStyle, D as EnumAdType, F as EnumVerificationType, L as LoginFormData, M as MarketingMaterialRequestInputType, n as PartnerFormData, P as PartnerType, G as PosterInputType, H as RedeemRewardInput, a as RedeemRewardResponse, I as RedeemedReward, R as RefreshTokenPayloadType, J as RegisterFormData, K as RequestPasswordResetFormData, N as ResetPasswordFormData, b as ResourceByUser, S as SafeUserType, O as SchoolCampaignType, t as SchoolFormData, Q as SchoolRegisteredUserType, g as SchoolReturnType, h as SchoolType, T as StripeSubscription, V as SubscriptionPlanData, d as SubscriptionPlansResponse, W as SubscriptionPricingData, e as SubscriptionStatusData, X as UserActivity, Y as UserActivityEvent, U as UserFormData, Z as UserType, _ as ValidateVerificationTokenFormData } from '../ad-6PrFQe2t.js';
|
|
3
3
|
export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-BL_12IAo.js';
|
|
4
4
|
export { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-H7799pWe.js';
|
|
5
5
|
import { c as EventListItemType } from '../global-fKbMmluy.js';
|
package/dist/types/index.mjs
CHANGED
package/dist/utils/index.cjs
CHANGED
|
@@ -32,6 +32,8 @@ var utils_exports = {};
|
|
|
32
32
|
__export(utils_exports, {
|
|
33
33
|
ANDROID_URL: () => ANDROID_URL,
|
|
34
34
|
CLUEMART_MAIN_DOMAIN_URL: () => CLUEMART_MAIN_DOMAIN_URL,
|
|
35
|
+
CM_AFFILIATE_PROMO_CODE: () => CM_AFFILIATE_PROMO_CODE,
|
|
36
|
+
CM_SCHOOL_PROMO_CODE: () => CM_SCHOOL_PROMO_CODE,
|
|
35
37
|
DEFAULT_RESOURCES_RETURN_LIMIT: () => DEFAULT_RESOURCES_RETURN_LIMIT,
|
|
36
38
|
DEFAULT_RESOURCES_RETURN_OFFSET: () => DEFAULT_RESOURCES_RETURN_OFFSET,
|
|
37
39
|
EVENT_DATE_STATUS_PERIOD_MAP: () => EVENT_DATE_STATUS_PERIOD_MAP,
|
|
@@ -265,6 +267,9 @@ var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus2) => {
|
|
|
265
267
|
return EnumEventDateStatus2;
|
|
266
268
|
})(EnumEventDateStatus || {});
|
|
267
269
|
|
|
270
|
+
// src/types/global.ts
|
|
271
|
+
var PROMO_CODE_PREFIX = "CM-";
|
|
272
|
+
|
|
268
273
|
// src/types/subscription.ts
|
|
269
274
|
var TIER_FROM_LICENCE = {
|
|
270
275
|
["pro_event" /* PRO_EVENT */]: "pro",
|
|
@@ -378,6 +383,8 @@ var PostTypeLabels = {
|
|
|
378
383
|
["clue_bites" /* CLUE_BITES */]: "Clue Bites",
|
|
379
384
|
["play_and_win" /* PLAY_AND_WIN */]: "Play & Win"
|
|
380
385
|
};
|
|
386
|
+
var CM_SCHOOL_PROMO_CODE = `${PROMO_CODE_PREFIX}SCHOOL`;
|
|
387
|
+
var CM_AFFILIATE_PROMO_CODE = `${PROMO_CODE_PREFIX}AFFILIATE`;
|
|
381
388
|
|
|
382
389
|
// src/utils/date.ts
|
|
383
390
|
var dateFormat = "DD-MM-YYYY";
|
|
@@ -1817,6 +1824,8 @@ function getVendorEventsEmptyMessage() {
|
|
|
1817
1824
|
0 && (module.exports = {
|
|
1818
1825
|
ANDROID_URL,
|
|
1819
1826
|
CLUEMART_MAIN_DOMAIN_URL,
|
|
1827
|
+
CM_AFFILIATE_PROMO_CODE,
|
|
1828
|
+
CM_SCHOOL_PROMO_CODE,
|
|
1820
1829
|
DEFAULT_RESOURCES_RETURN_LIMIT,
|
|
1821
1830
|
DEFAULT_RESOURCES_RETURN_OFFSET,
|
|
1822
1831
|
EVENT_DATE_STATUS_PERIOD_MAP,
|