@timardex/cluemart-shared 1.5.796 → 1.5.798
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/{affiliate-BDoo69JY.d.mts → affiliate-CIuny52X.d.mts} +5 -3
- package/dist/{affiliate-BY-BlC9i.d.ts → affiliate-Slb5tO_6.d.ts} +5 -3
- package/dist/{chunk-6UP53CPG.mjs → chunk-BNT4YIYG.mjs} +2 -1
- package/dist/{chunk-6UP53CPG.mjs.map → chunk-BNT4YIYG.mjs.map} +1 -1
- package/dist/{chunk-LHT6WAM2.mjs → chunk-EJPMEGZW.mjs} +8 -6
- package/dist/chunk-EJPMEGZW.mjs.map +1 -0
- package/dist/{chunk-R2XNULRY.mjs → chunk-EWSFVF6C.mjs} +4 -1
- package/dist/{chunk-R2XNULRY.mjs.map → chunk-EWSFVF6C.mjs.map} +1 -1
- package/dist/formFields/index.cjs +4 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.cjs +3 -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 +1 -1
- package/dist/hooks/index.cjs +9 -6
- 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 +3 -5
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +10 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.mjs +10 -4
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.cjs.map +1 -1
- 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 +6 -4
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +6 -2
- package/dist/utils/index.d.ts +6 -2
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-LHT6WAM2.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
|
|
|
4
4
|
import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-CnXQqP4h.mjs';
|
|
5
5
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-lFB7B-Y9.mjs';
|
|
6
6
|
import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-C8npu_7P.mjs';
|
|
7
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { A as AffiliateType } from '../affiliate-CIuny52X.mjs';
|
|
8
8
|
import '../images/index.mjs';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
|
|
|
4
4
|
import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-jTYE2A1Z.js';
|
|
5
5
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CJrM2qDC.js';
|
|
6
6
|
import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-BeBuHWbg.js';
|
|
7
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { A as AffiliateType } from '../affiliate-Slb5tO_6.js';
|
|
8
8
|
import '../images/index.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -536,10 +536,8 @@ var paymentMethodOptions = mapArrayToOptions(
|
|
|
536
536
|
Object.values(EnumPaymentMethod)
|
|
537
537
|
);
|
|
538
538
|
function normalizeUrl(url) {
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
}
|
|
542
|
-
return url;
|
|
539
|
+
const withProtocol = !url.startsWith("http://") && !url.startsWith("https://") ? `https://${url}` : url;
|
|
540
|
+
return withProtocol.replace(/\/+$/, "");
|
|
543
541
|
}
|
|
544
542
|
var licenseNiceNames = {
|
|
545
543
|
["pro_event" /* PRO_EVENT */]: "Pro Event",
|
|
@@ -610,6 +608,10 @@ var AFFILIATE_REWARDS = {
|
|
|
610
608
|
description: "1 point for active vendor standard subscription (monthly reward)",
|
|
611
609
|
value: 1
|
|
612
610
|
},
|
|
611
|
+
["ACTIVE_VENDOR_BONUS_REWARD" /* ACTIVE_VENDOR_BONUS_REWARD */]: {
|
|
612
|
+
description: "5 bonus points for every 10th active vendor (one-time reward)",
|
|
613
|
+
value: 5
|
|
614
|
+
},
|
|
613
615
|
["ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS" /* ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS */]: {
|
|
614
616
|
description: "50 points for active event with vendor registrations (one-time reward)",
|
|
615
617
|
value: 50
|
|
@@ -1642,8 +1644,6 @@ var availableCategories = assignColorToCategories([
|
|
|
1642
1644
|
var nzBankAccountRegex = /^\d{2}-\d{4}-\d{7}-\d{2}$/;
|
|
1643
1645
|
var nzbnRegex = /^94\d{11}$/;
|
|
1644
1646
|
var normalizedUrlTransform = () => yup.string().trim().transform(
|
|
1645
|
-
(value) => typeof value === "string" ? value.toLowerCase() : value
|
|
1646
|
-
).transform(
|
|
1647
1647
|
(value) => typeof value === "string" ? normalizeUrl(value) : value
|
|
1648
1648
|
);
|
|
1649
1649
|
var noLeadingZeros = (fieldName, options = {}) => {
|
|
@@ -5111,6 +5111,9 @@ var AFFILIATE_FIELDS_FRAGMENT = import_client74.gql`
|
|
|
5111
5111
|
fragment AffiliateFields on AffiliateType {
|
|
5112
5112
|
_id
|
|
5113
5113
|
active
|
|
5114
|
+
affiliateBonusRewards {
|
|
5115
|
+
...AffiliateRewardFields
|
|
5116
|
+
}
|
|
5114
5117
|
affiliateCode
|
|
5115
5118
|
affiliateDetails {
|
|
5116
5119
|
...AffiliateDetailsFields
|